DHCP lease not communicated to Network Manager
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dhcdbd (Ubuntu) |
Invalid
|
Low
|
Scott James Remnant (Canonical) |
Bug Description
Binary package hint: dhcdbd
After installing NetworkManager it detects ethernet cable and wireless networks. But when registering in the network, NetworkManager fails to receive IP from DHCP server.
Here is the part of /var/log/syslog:
Jun 29 04:14:28 localhost NetworkManager: <information>
Jun 29 04:14:28 localhost NetworkManager: <information>
Jun 29 04:14:28 localhost NetworkManager: <information>^IDHCP daemon state is now 12 (successfully started) for interface eth0
Jun 29 04:14:29 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Jun 29 04:14:29 localhost dhclient: DHCPOFFER from 172.16.0.1
Jun 29 04:14:29 localhost dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Jun 29 04:14:29 localhost dhclient: DHCPACK from 172.16.0.1
Jun 29 04:14:29 localhost dhclient: bound to 172.16.0.12 -- renewal in 265757 seconds.
Jun 29 04:14:37 localhost kernel: [17439882.524000] eth0: no IPv6 routers present
Jun 29 04:15:13 localhost NetworkManager: <information>
Jun 29 04:15:13 localhost dhclient: DHCPRELEASE on eth0 to 172.16.0.1 port 67
Jun 29 04:15:14 localhost NetworkManager: <information>
Jun 29 04:15:14 localhost NetworkManager: <information>^IDHCP daemon state is now 14 (normal exit) for interface eth0
Jun 29 04:15:14 localhost NetworkManager: <information>^IDHCP daemon state is now 14 (normal exit) for interface eth0
Jun 29 04:15:14 localhost NetworkManager: <information>
Jun 29 04:15:14 localhost NetworkManager: <information>^INo DHCP reply received. Automatically obtaining IP via Zeroconf.
Jun 29 04:15:14 localhost NetworkManager: <information>
Jun 29 04:15:14 localhost NetworkManager: <information>
As you see, dhclient detects IP correctly (172.16.0.12), but NetworkManager fails to accept this IP and uses 169.254.108.117 instead. This results in non-working network connection, so I have to manually run dhclient and get a correct IP.
Changed in dhcdbd: | |
status: | Needs Info → Rejected |
Interesting. Can you post a log of what happens when you run dhclient by hand?