[Bug 190359] Re: dhclient continually seeks ip address on unconnected interface

Joseph Reeves IknowJoseph at gmail.com
Mon Nov 2 18:14:22 GMT 2009


I'm suffering this on 9.10, although I didn't on 9.04 and earlier. I
suppose, in fairness, I'm suffering this issue on a connected interface,
unlike the original reporter, although I think it's the same issue and
it causes problems for me:

I connect to a network with a DHCP server and run:

sudo dhclient eth0

and all works fine; I have an address and do what I want to do. Then I
move to a network without a dhcp server and run:

sudo ifconfig eth0 192.168.blah.blah/24 && sudo ip ro add default via
192.168.blah.blah

And all works fine again; I'm connected to my new network and do what I
want to do. Until a few minutes later when (according to
/vat/log/syslog) the address is dropped and dhclient tries to acquire a
new one. It fails and I'm left unconnected. Running

sudo pkill dhclient

solves the problem. I have run this exact setup / procedures on 8.04,
8.10 and 9.04 without suffering this behavior from dhclient. It's
particularly annoying!

joseph at joseph-work:~$ uname -a
Linux joseph-work 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009x
joseph at joseph-work:~$ cat /etc/network/interfaces 
auto lo
iface lo inet loopback

-- 
dhclient continually seeks ip address on unconnected interface
https://bugs.launchpad.net/bugs/190359
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.



More information about the Ubuntu-server-bugs mailing list