[olug] DHCP config

Will Langford unfies at gmail.com
Mon Feb 25 18:10:11 UTC 2008


While I'm pretty sure there's a way to do IP's based on the interface
received on...

I can't dig it up with a quick 5 minute trip to the docs.

Alternative slightly uglier solution would be to have multiple
dhcpd.conf's and to load multiple dhcpd's.  In the conf file, you'd be
looking for "local-address", and in calling dhcpd, you'd be looking at
the -cf command line parameter.

To eliminate retyping etc, ya might be able to use:

include "/etc/dhcpd.main";

in files to avoid duplicate info.

-Will



More information about the OLUG mailing list