Global Scope (fwd)
Keith
kwoody at citytel.net
Wed Sep 12 12:38:53 UTC 2007
On Wed, 12 Sep 2007, Glenn Satchell wrote:
|->
|->>Date: Tue, 11 Sep 2007 14:01:24 -0700 (PDT)
|->>From: Keith <kwoody at citytel.net>
|->>
|->>On Tue, 11 Sep 2007, Simon Hobson wrote:
|->>
|->>|->Keith wrote:
|->>|->
|->>|->>dhcpd: WARNING: Host declarations are global. They are not limited to the
|->>|->>scope you declared them in.
|->>|->>
|->>|->>This didnt happen with 3.0.1.
|->>|->
|->>|->It was put in because of the number of times we got queries because
|->>|->something wasn't working right. People put host declarations in a
|->>|->subnet and expect the host declaration to inherit properties from the
|->>|->subnet - they don't. The result is that a host appears to get the
|->>|->'wrong' options under some setups.
|->>
|->>I dont think Ive ever put a host declaration in a subnet, Ive always
|->>kept them seperate and outside of subnet's.
|->>
|->>So I'm basically ok even with this error popping up?
|->
|->If your host declarations are all outside subnet declarations
|->then you shouldn't get this message. So go back and double check.
I think I have caught it:
shared-network "TE_DOCSIS" {
subnet 24.244.66.0 netmask 255.255.255.0 {
include "/etc/docsis_dhcp/STATIC-24-244-66";
more stuff
} #end subnet
subnet 24.244.67.0 netmask 255.255.255.0 {
include "etc/docsis_dhcp/STATIC-24-244-67";
more stuff
} #end subnet
} #end shared-network
In each of the includes above are host declarations. Is this what dhcpd is
complaining about?
There are more subnets there but this is just a quick snippet of what it
looks like.
Thanks,
Keith
More information about the dhcp-users
mailing list