single dhcp server, 2 subnet masks?

By kjrees ·
Hi, I wondered if it was possible to set up a single windows server 2003 dhcp server to lease addresses to clients from two seperate networks that have different subnet masks?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

yes this can be done

by markp24 In reply to single dhcp server, 2 sub ...

Hi here is an article on how to do multiple subnets from a dhcp server

hope this helps

Collapse -

Reponse To Answer

by kjrees In reply to yes this can be done

thanks for the's not quite what i'm asking. I know that you can use a single dhcp server to serve multiple subnets, but i'm asking that if the subnet mask was different on the second network could the dhcp server serve both?

i have doubts that it would work as i that would make them on different networks, but the two networks can communicate with static routes set up between them on a layer 3 switch, so i've been asked to investigate if a dhcp server on the first network could be used. network one has a mask of and network two has a mask of

Collapse -

Reponse To Answer

by markp24 In reply to yes this can be done

Hi, I do believe you need a DHCP relay server in order for that to work. Ill see i can fin of a working example of this type of setup.

Collapse -

The DHCP Server could serve multiple subnets that have different subnets

Layer 3 is handling the routing so you can define whatever subnet mask is required for the networks via DHCP

Collapse -

Pretty sure Markp24 is right...

by frank.williams In reply to single dhcp server, 2 sub ...

If your switches cannot pass through DHCP/BOOTP packets then it is likely you would need a DHCP relay server in the 2nd subnet set up with 2 network adapters. 1 adapter configured for subnet 1 to allow the relay to chat back with the main DHCP server and another adapter configured for the 2nd subnet to allow DHCP messages to be 'relayed' to devices on that particular subnet.

I think that is correct but it's been a little while since I configured anything like that ;-)

Collapse -

Yes Markp24 is right

And if your Switches are layer 3 as indicated they should be able to pass DHCP/BOOTP packets with a helper address of the DHCP Server on each Layer 3 interface/subnet that the DHCP Server does not sit on

Collapse -

thanks guys, but..

by kjrees In reply to single dhcp server, 2 sub ...

i think Markp24's example is when the subnet masks are all the same in each subnet. If you try and set up different scopes with different subnet masks then DHCP says:

"the scope parameters are incorrect. Either the scope already exists or it's subnet address and mask is inconsistent with the subnet address and mask of an existing scope."

basically in my example, there is a primary LAN with a mask of and on a separate vlan the network has been configured with a mask of, but the vlan doesn't have a dhcp server. I think that in order for the Vlan's clients to use DHCP from the primary LAN, both the VLAN network and the primary LAN should have the same subnet mask or it won't work?

in terms of connectivity, the primary LAN and the VLAN can communicate with eachother (ping) via static routes set up on the layer3 switch connected to the VLAN and also in RRAS on the ISA server machine direclty connected to the primary LAN.

Collapse -

Reponse To Answer

by kjrees In reply to thanks guys, but..

i'm thinking maybe a superscope might be the way to go(?)

Related Discussions

Related Forums