Dhcp Server For Two Subnets

Trappo

New member
Joined
Oct 1, 2010
Messages
1
Location
Budapest
Hi,

I have a Win 2008 R2 server that connects to two different subnets. It should serve as DHCP server for both subnets,

e.g. first 192.168.1.1..126

second 192.168.1.128..254

Both network interfaces of the server are bound to the DHCP server, and I've created two scopes for the subnets.
How could I solve to give IP addresses from the first pool (scope) for the first subnet and addresses from the second pool (scope) for the second subnet?
At this time client from both subnets receive TCP/IP config but the IP addresses do
not conform the above mentioned requirement.
 
The way this should work is that the DHCP should only give addresses from the scope that matches the IP address on the server's NIC where the request arrived.

So, if the server has two NICS and one's address is 192.168.1.2 mask 255.255.255.128 and the other is 192.168.1.130 mask 255.255.255.128 and a request comes in on the on the 192.168.1.2 NIC, then that request should be given an address from the first scope that you described.

Do you have your masks set up properly on your NICs? In this same example, if you have a mask of 255.255.255.0 instead of 255.255.255.0 on the DHCP server's NICS, it won't be able to tell that there are two different networks.
 
Back
Top