Solved

DHCP

Posted on 2004-09-06
1
313 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
Comment Utility
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

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…
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now