>Synopsis: Not possible to configure more than one interface with dhclient
>Category: Networking
>Environment:
System : OpenBSD 5.4
Details : OpenBSD 5.4 (GENERIC.MP) #42: Fri Jul 26 12:41:58 MDT 2013
[email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP
Architecture: OpenBSD.i386
Machine : i386
>Description:
Having 3 network adapters (alc0, rl0 and rl1) I want to dhcp
all of them, always did it with no problem during installation process
(from scratch) or in installed systems until 5.2, since 5.3 and with
current I'm not able to, doing dhclient works only for the first
interface:
# dhclient alc0
DHCPREQUEST on alc0 to 255.255.255.255 port 67
DHCPACK from XXX.XXX.XXX.XXX9 (XX:XX:XX:XX:XX:XX)
bound to XXX.XXX.XXX.XXX -- renewal in 14400 seconds.
But for the second and third adapters it fails:
# dhclient rl0
DHCPDISCOVER on rl0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on rl0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on rl0 to 255.255.255.255 port 67 interval 15
interface alc0 already has the offered subnet!
DHCPDISCOVER on rl0 to 255.255.255.255 port 67 interval 16
interface alc0 already has the offered subnet!
DHCPDISCOVER on rl0 to 255.255.255.255 port 67 interval 11
interface alc0 already has the offered subnet!
DHCPDISCOVER on rl0 to 255.255.255.255 port 67 interval 10
interface alc0 already has the offered subnet!
No acceptable DHCPOFFERS received.
No working leases in persistent database - sleeping.
# dhclient rl1
DHCPDISCOVER on rl1 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on rl1 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on rl1 to 255.255.255.255 port 67 interval 13
interface alc0 already has the offered subnet!
DHCPDISCOVER on rl1 to 255.255.255.255 port 67 interval 16
interface alc0 already has the offered subnet!
DHCPDISCOVER on rl1 to 255.255.255.255 port 67 interval 19
interface alc0 already has the offered subnet!
DHCPDISCOVER on rl1 to 255.255.255.255 port 67 interval 5
interface alc0 already has the offered subnet!
No acceptable DHCPOFFERS received.
No working leases in persistent database - sleeping.
It happens the same no matter if I choose any other of the
adapters first, the first one obtains IP address, but second and third
fails.
>How-To-Repeat: run dhclient after having a first adapter configured with
>dhclient
>Fix: no on
e
found
Thanks in advance,
Juan Barriteau