| Author |
DHCP/multiple subnet question?
|
|
|
| I have a general question regarding DHCP. I was wondering if someone can answwer it for me.
You have a single DHCP server, with multiple scopes, located in one subnet and a client registering itself with DHCP from a different subnet. How does DHCP decide which scope of IP addresses to choose from to allocate the correct IP to the client? | |
|
| I believe when entering scopes each scope is associated with a subnet because you have to enter the subnet mask.
Then on the remote subnet the DHCP Relay Agent must be installed. This is usually done on a multihomed Windows NT Server acting as the router between the 2 subnets. | |
|
| Hi
Macaries is correct,but you can also use an rfc 1542 compliant router to forward BOOTP requests to the DHCP Server as well as using a multi-homed system.
All the best everyone and good luck for the future.
Madmax (5/6). | |
|
| quote: Originally posted by Madmax:
Hi
Macaries is correct,but you can also use an rfc 1542 compliant router to forward BOOTP requests to the DHCP Server as well as using a multi-homed system.
All the best everyone and good luck for the future.
Madmax (5/6).
Thanks Madmax.. I understand that the router must support BootP; but, when a client makes a request for an IP, how does DHCP decide which subnet the client is a part of and therefore which scope of IPs to assign it. Thanks in advance.
| |
|
| The client broadcasts it's request to the subnet it's on. The relay agent installed on that subnet forwards it directly to the DHCP server. The DHCP server recognizes the subnet the client is on because it will be the same subnet mask as for the DHCP Relay Agent.
Are you clear on how a subnet mask and any ip address on that subnet define the subnet address? |
|
|
|