dhclient3 doesn't obtain an IP address
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dhcp3 (Ubuntu) |
Invalid
|
Medium
|
Scott James Remnant (Canonical) |
Bug Description
dhclient3 doesn't obtain an IP address
Sometimes, when the computer boots dhclient3 is not able to get an IP address.
This happens quite often more or less at every second reboot.
The strange thing is that dhclient3 is running, but the network interface is not
properly configured.
I have to manually restart dhclient3 in order to have the network operational.
I don't have a network card instead I am using the network interface that is
built-in in my computer's motherboard, a MSI K8N Neo4 Platinum.
Actullay my motherboard has two network interfaces but I'm only using one.
Here are the results of various commands when the network isn't properly configured:
emmanuel@uber ~> ps eaxf
5060 ? Ss 0:00 /bin/sh /etc/hotplug/
5554 ? S 0:00 \_ ifup eth0=hotplug
5559 ? S 0:00 \_ dhclient3 -pf /var/run/
/var/run/
emmanuel@uber ~> ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:09:D3:91:AD
inet6 addr: fe80::211:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:720 (720.0 b) TX bytes:378 (378.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:380 errors:0 dropped:0 overruns:0 frame:0
TX packets:380 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:32691 (31.9 KiB) TX bytes:32691 (31.9 KiB)
If I restart dhclient3 manually then everything will work.
emmanuel@uber ~> sudo dhclient3
Internet Systems Consortium DHCP Client V3.0.2
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://
sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/sit0/
Sending on LPF/sit0/
Listening on LPF/eth0/
Sending on LPF/eth0/
Listening on LPF/lo/
Sending on LPF/lo/
Sending on Socket/fallback
DHCPDISCOVER on sit0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 7
DHCPOFFER from 192.168.1.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.200 -- renewal in 38541 seconds.
Once more, here are the results for the same commands:
emmanuel@uber ~> ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:09:D3:91:AD
inet addr:192.168.1.200 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::211:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1900 (1.8 KiB) TX bytes:1062 (1.0 KiB)
lo Link encap:Local Loopback
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:842 errors:0 dropped:0 overruns:0 frame:0
TX packets:842 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:75387 (73.6 KiB) TX bytes:75387 (73.6 KiB)
sit0 Link encap:IPv6-in-IPv4
inet6 addr: ::127.0.0.1/96 Scope:Unknown
UP RUNNING NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:2 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
emmanuel@uber ~> ps eaxf
5060 ? Ss 0:00 /bin/sh /etc/hotplug/
5554 ? S 0:00 \_ ifup eth0=hotplug
5559 ? S 0:00 \_ dhclient3 -pf /var/run/
/var/run/
6695 ? Ss 0:00 dhclient3
In what way is it "not properly configured" ? From what I can see, it looks
fine and is just waiting for the dhcp server to reply.
Can you attach your /var/log/syslog