Multi-subnet DHCP

Simon Hobson dhcp1 at thehobsons.co.uk
Fri Aug 22 22:21:33 UTC 2008


Jeff Anderson wrote:

>I have an existing network with several subnets/vlans/whatever.
>
>Up until recently, we kept track of all the hosts by mac address and 
>assigned leases that way. It worked beautifully.
>
>We now want to add a couple subnets that will need dynamic addresses 
>(think guests that get on a wifi during a presentation).
>
>We added the first dynamic range and it appeared to work fine. The 
>bahaviour that we're seeing is any piece of hardware that is 
>connected anywhere on any subnet is getting an address from this 
>dynamic pool because it doesn't match any of the mac addresses 
>defined in our config file. This is mostly an annoyance, but it 
>really would be nice to assign an address from a dynamic range that 
>gets forwarded through the corresponding router. It appears that the 
>dhcp server is aware of (and logs) how each request is forwarded to 
>it. Is there a way to force the behaviour of our server to only give 
>out useful dynamic addresses based on the router it is received 
>through?
>
>If an example or clarification is needed, let me know.

Yes, the server WILL do that, and it's standard functionality. If it 
isn't working then you've probably made a mistake in your config.

Post your config, and a better explanation of your network topology 
and we can take a look.


More information about the dhcp-users mailing list