host declaration restrction (Re: ISC DHCP 3.0.5b1 has been released!)

Joerg Mayer jmayer at loplof.de
Sun Jul 30 12:54:41 UTC 2006


On Sat, Jul 29, 2006 at 09:06:59AM +1000, Glenn Satchell wrote:
> >host joebob {hardware ethernet 00:12:3F:7C:B7:29; fixed-address
> >1.2.3.4,1.2.4.4,*;}
> >
> >This would allow host6 to show up on any subnet (if it's a laptop for
> >example) but if the server finds an address appropriate to the subnet it
> >will use a fixed address.  This also lets you keep this host as a single
> >address, so you would never need more than one host line per real host.
> 
> dhcpd already does exactly this and has done so for a long time. If
> none of the fixed-addresses match the subnet where the request came
> from, then dhcpd assigns an address out of the dynamic ranges assigned
> for that subnet.

IIRC, my experience has been a bit different: The moment I added the
first host statement for a host, then that host would stop to be
serviced on any other subnet. But I may remember incorrectly.

 ciao
    Joerg
-- 
Joerg Mayer                                           <jmayer at loplof.de>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.


More information about the dhcp-users mailing list