Solved

DHCP

Posted on 2004-09-06
1
334 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

810 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