[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/52403: dhclient program doesn't send dhcp-client-identifier set in /etc/dhclient.conf
The following reply was made to PR bin/52403; it has been noted by GNATS.
From: Mickael Viey <m.viey%wanadoo.fr@localhost>
To: gnats-bugs%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: bin/52403: dhclient program doesn't send dhcp-client-identifier
set in /etc/dhclient.conf
Date: Sat, 15 Jul 2017 14:32:27 +0200
I looked into /etc/rc.conf and It appears that is not dhcplient which is
set but dhcpd.
I set dhclient=YES and remove dcpd from /etc/rc.conf and remove dhcpcd
file from rc.d.
So now I get anoher problem dhcpclient doesn't get IP a boot time, but
get an ip when I run /etc/rc.d/dhclient start .
How can I do for run dhclient request at boot time ?
Le 15/07/2017 Ã 13:45, Martin Husemann a Ã©crit :
> The following reply was made to PR bin/52403; it has been noted by GNATS.
> From: Martin Husemann <martin%duskware.de@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Subject: Re: bin/52403: dhclient program doesn't send dhcp-client-identifier
> set in /etc/dhclient.conf
> Date: Sat, 15 Jul 2017 13:41:39 +0200
> On Fri, Jul 14, 2017 at 05:30:01PM +0000, m.viey%wanadoo.fr@localhost wrote:
> > Unfortunately, NetBSD send a client-identifier which is not understood by the router. Because the client identifier take the precedence to the mac address if I want get a static IP from the router from NetBSD I must configure the BSD dhcp client for it doesn't send this identifier. But whatever I try to do with the configuration file /etc/dhclient.conf the router always receive a bytes sequence in place of client identifier, and another IP than expected is attribued.
> > Here is my last try /etc/dhclient.conf:
> Stupid question: are you sure you are using dhclient?
> Default DHCP client in netbsd-7 is dhcpcd(8), but if you explicitly
> configured dhcpclient, it should work too.
Main Index |
Thread Index |