Solved

DHCP

Posted on 2004-09-06
1
342 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
1 Comment
 
LVL 5

Accepted Solution

by:
Chireru earned 500 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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…
Riverbed Technology's webinar discusses networking for the cloud era with simplified SD-WAN cloud connectivity.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

828 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