reservation question

Chuck Anderson cra at WPI.EDU
Tue Oct 17 19:27:13 UTC 2006


On Tue, Oct 17, 2006 at 02:20:17PM -0400, Aaron Bennett wrote:
> I'm finding that reservations require the full set of scope options.  In 
> other words, I've got a scope like this:
> 
> I'm finding that sometimes -- particularly for HP printers, they come up 
> without a default gateway, dns server, etc.  If I change the host 
> reservation to this:
> 
> Then it works.  Is this correct?  It seems odd that I'll need to 
> essentially duplicate a ton of configuration information.  What am I 
> missing here?

The reservation isn't a part of the pool, so it doesn't inherit pool 
options.  If you put the options in the subnet block instead of the 
pool block, they will be inherited by all hosts that are assigned 
addresses in that subnet:

subnet 10.6.65.0 netmask 255.255.255.0 {
	default-lease-time 691200;
	option routers  10.6.65.1;
	option domain-name-servers      140.232.1.33;
	option domain-name      "clarku.edu";
	option netbios-name-servers     10.1.1.10, 140.232.1.13;
	option netbios-node-type        8;

	pool {
                        deny dynamic bootp clients;
                        failover peer "failover" ;
                        range 10.6.65.51 10.6.65.181 ;
                        range 10.6.65.183 10.6.65.194 ;
                        range 10.6.65.196 10.6.65.199 ;
	}
}


More information about the dhcp-users mailing list