DHCP on VLAN

Simon Hobson dhcp1 at thehobsons.co.uk
Sat Feb 24 08:58:17 UTC 2007


Kenneth Ling wrote:

>   can one dhcp server work with few vlan ?
>the vlan is work under cisco switch ..

Yes, just ignore the fact that these are VLANS, that part is 
invisible to the dhcp server. All you need to do is configure a relay 
agent in every LAN or VLAN - and of course define it in the server 
config.

It is slightly more involved if you directly connect your server to 
the VLANs via a trunk port. Then you need to configure VLAN support 
on the server and define all the interfaces.


Secondary question of my own ...

I've just set up a Debian Etch box doing VLAN trunking to a switch 
(for a multi-tennant gateway). DHCP appears to work fine on all the 
virtual interfaces, are there any 'gotchas' I should be aware of ?


More information about the dhcp-users mailing list