Multiple subnets with multiple static IPs
Simon Hobson
dhcp1 at thehobsons.co.uk
Thu Oct 20 10:23:00 UTC 2011
Siobhan Keehan wrote:
>I am trying to automate the addition of hosts and subnets into
>dhcpd, is it possible to do something like
>
># cat /usr/local/etc/dhcpd.conf
>authoritative;
>
># Subnet Declaration
>include "/usr/local/etc/dhcpd.conf_subnet";
>
># Client Declaration
>include "/usr/local/etc/dhcpd.conf_static";
Yes
>Or do each static address need to be declared within the subnet declaration
No. Host declarations should **NOT** be put anywhere other than in
the global scope. If you put them inside a subnet declaration then
you get very option inheritance giving strange (but predictable)
problems.
PS - Please fix your mailer, **tiny** pale blue text is hard to read
- people are less likely to skip your request if you don't make it
hard top read.
--
Simon Hobson
Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
More information about the dhcp-users
mailing list