List Info

Thread: Re: DHCP for multiple networks with static and dynamic assignments




Re: DHCP for multiple networks with static and dynamic assignments
country flaguser name
Canada
2007-03-02 16:43:47
>      pool {
>        failover peer "ict";
>        deny dynamic bootp clients;
>        range 10.10.10.21 10.10.10.25;
>        range 10.10.10.28 10.10.10.30;
>        allow unknown clients;
>        option routers 10.10.10.1;
>        option domain-name-servers 10.10.11.2,
10.10.12.30;
>        max-lease-time 3600;
>        default-lease-time 900;
>      }
>    }
> }
> 
> 
> host kangoo     {
>    hardware ethernet 00:14:22:E0:CE:3F;
>    fixed-address kangoo;
> }

    The statement "allow unknown clients"
implicitly denies everybody else,
your known clients. I know that in ancient versions of the
server, a host
entry with a fixed address only made the client
"known" on the subnet that
matched that IP. As mentioned earlier you had to define an
ethernet address
twice, once with a fixed address and once without, to allow
it to be known
on other subnets. I had the impression this is no longer
true but I confess
that I have not tested it in years. 

    Try removing the "allow unknown clients"
statement. If a defined host
has a fixed address this will be given in preference to a
pool address so it
should not be necessary as far as I can see.
--
Bruce A. Hudson				| Bruce.HudsonDal.CA
UCIS, Networks and Systems		|
Dalhousie University			|
Halifax, Nova Scotia, Canada		| (902) 494-3405


Re: DHCP for multiple networks with static and dynamic assignments
country flaguser name
United States
2007-03-02 16:57:43
On Fri, Mar 02, 2007 at 06:43:47PM -0400, Bruce Hudson
wrote:
> As mentioned earlier you had to define an ethernet
address
> twice, once with a fixed address and once without, to
allow it to be known
> on other subnets.

Huh, I thought it was always that way.

1.71         (mellon   09-Nov-98):                     
packet -> known = 1;
1.71         (mellon   09-Nov-98):                     
packet -> known = 1;

So yeah, somewhere before the first 3.0 cut.

Judging by the commit message, this was done with
"pool/permit
support".

-- 
ISC Training!  http://www.isc.org/train
ing/  trainingisc.org
Washington DC area, April 16-20 2007.  DNS & BIND, DDNS
& DHCP.
-- 
David W. Hankins	"If you don't do it right the first
time,
Software Engineer		you'll just have to do it again."
Internet Systems Consortium, Inc.	-- Jack T. Hankins


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )