Heavy config file and vlan usage

Simon Hobson dhcp1 at thehobsons.co.uk
Tue Jun 19 15:10:12 UTC 2007


Emmanuel Lesouef wrote:

>I use dhcp server in order to give DHCP leases to clients from my lan
>and other lan coming from Cisco DHCP-relay.
>
>This configuration works well as the clients from outside the main lan
>announces them with the "good" broadcast address (if I understood well).
>
>Great.
>
>My question is :
>
>We're going to migrate our main network hardware and we will split the
>lan's in several vlans.
>
>- Is it possible to split the config fil of dhcp server ? In order to
>have some sort of "includes" on the dhcpd.conf. ie to enhance
>readability.

Yes, includes are supported, 'man dhcpd.conf'

>- Will dhcp server handle the charge as we plan to have 20 (maybe more)
>vlans and as much subnet/pools to handle it ?

Yes, the server doesn't care where the packets come from, just that 
they have the right GIAddr value. I recently set up a gateway server 
for a client, that supports 1 'real' net and 32 VLAN nets. Just make 
sure there is a relay agent on each subnet that is not local to the 
server, and of course configure the subnets correctly in the config - 
note that VLANs are **NOT** a shared network.




More information about the dhcp-users mailing list