NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: limit dhclient to one server only?



On Fri, Aug 16, 2013 at 09:51:56AM +0300, Jukka Marin wrote:
> I need to set up a DHCP server and client so that the client accepts it's
> IP from this known DHCP server only.  Is this possible with the standard
> dhclient?  If so, how? :)

I haven't tried it, but in dhcpcd.conf(5), this looks promising:

     whitelist address[/cidr]
             Only accept packets from address[/cidr].  blacklist is ignored if
             whitelist is set.

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index