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 10:17:47AM +0300, Jukka Marin wrote:
> On Fri, Aug 16, 2013 at 08:03:01AM +0100, Patrick Welche wrote:
> > 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.
> 
> Thanks, but in this case the clients don't know the server's address :(

So how is it a "known DHCP server"? IPSEC on bootps/bootpc ports?

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index