Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

DHCP

Posted on 2004-09-06
1
Medium Priority
?
362 Views
Last Modified: 2012-10-17
How does a DHCP server, configured with 10s of scopes, knows which scope to use to lease an IP address to a DHCP client, which may be on a different subnet.

Thanks in advance.

Hamid


0
Comment
Question by:htavakko
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 5

Accepted Solution

by:
Chireru earned 2000 total points
ID: 11992759
DHCP uses broadcast in order to work.  (the machines broadcast a request because they have no proper IP yet, and the DHCP server broadcasts back an offer, etc).  If they are not on the same network, the broadcasts will not get through.  (broadcasts will not be routed between subnets or different networks).

Therefore, there is an in-between service, usually running on the router between the networks called a "DHCP agent".  The DHCP agent catches any DHCP broadcast requests, and forwards them unicast to the DHCP server, which tells the DHCP what subnet they are on.

So, if the host is on one of the networks the DHCP server is attached to, it knows because it's connected to them.  If it's not directly connected, the DHCP relay agent will tell it what network it's connected to. (derrived by the agent's IP address).
0

Featured Post

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Whoever said that “a picture is worth one thousand words” observed a fact that can dramatically affect your marketing success. Most people tend to learn visually, so many publishers commonly acknowledge the effectiveness of visual learning by using…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question