← Back to team overview

touch-packages team mailing list archive

[Bug 1350759] Re: dhclient logs DHCPDISCOVER request (stdout and syslog) but doesn't send anything

 

Hi Karl-Philipp,

yesterday I experienced exactly the situation you described above (14.04
with isc-dhcp-client 4.2.4-7ubuntu12). No packets received at DHCP
server.

Nov 20 13:11:46 hostabc dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 (xid=0x656360a9)
Nov 20 13:11:53 hostabc dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15 (xid=0x656360a9)
Nov 20 13:12:08 hostabc dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18 (xid=0x656360a9)
Nov 20 13:12:26 hostabc dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20 (xid=0x656360a9)
Nov 20 13:12:46 hostabc dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9 (xid=0x656360a9)
Nov 20 13:12:55 hostabc dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13 (xid=0x656360a9)
Nov 20 13:13:08 hostabc dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 (xid=0x656360a9)
Nov 20 13:13:16 hostabc dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 (xid=0x656360a9)
Nov 20 13:13:26 hostabc dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 (xid=0x656360a9)
[...]
Nov 20 13:16:40 hostabc dhclient: No DHCPOFFERS received.
Nov 20 13:16:40 hostabc dhclient: No working leases in persistent database - sleeping.

Then I plugged out the eth0 cable, the dhclient logged a DHCPRELEASE, of
course, could not send that:

Nov 20 13:16:40 hostabc netplugd[8349]: /etc/netplug/netplug eth0 out ->
pid 8349

Nov 20 13:16:40 hostabc dhclient: Internet Systems Consortium DHCP Client 4.2.4
Nov 20 13:16:40 hostabc dhclient: Copyright 2004-2012 Internet Systems Consortium.
Nov 20 13:16:40 hostabc dhclient: All rights reserved.
Nov 20 13:16:40 hostabc dhclient: For info, please visit https://www.isc.org/software/dhcp/
Nov 20 13:16:40 hostabc dhclient: 
Nov 20 13:16:40 hostabc dhclient: Listening on LPF/eth0/00:0b:ab:7e:d1:90
Nov 20 13:16:40 hostabc dhclient: Sending on   LPF/eth0/00:0b:ab:7e:d1:90
Nov 20 13:16:40 hostabc dhclient: Sending on   Socket/fallback
Nov 20 13:16:40 hostabc dhclient: DHCPRELEASE on eth0 to 10.10.9.12 port 67 (xid=0x57c9137d)
Nov 20 13:16:40 hostabc dhclient: send_packet: Network is unreachable
Nov 20 13:16:40 hostabc dhclient: send_packet: please consult README file regarding broadcast address.
Nov 20 13:16:40 hostabc dhclient: dhclient.c:2365: Failed to send 300 byte long packet over fallback interface.

Then, plugged the cable in again and got a correct answer (or at least,
the request was sent, finally):

Nov 20 13:16:43 hostabc netplugd[8421]: /etc/netplug/netplug eth0 in ->
pid 8421

Nov 20 13:16:43 hostabc dhclient: Internet Systems Consortium DHCP Client 4.2.4
Nov 20 13:16:43 hostabc dhclient: Copyright 2004-2012 Internet Systems Consortium.
Nov 20 13:16:43 hostabc dhclient: All rights reserved.
Nov 20 13:16:43 hostabc dhclient: For info, please visit https://www.isc.org/software/dhcp/
Nov 20 13:16:43 hostabc dhclient: 
Nov 20 13:16:43 hostabc dhclient: Listening on LPF/eth0/00:0b:ab:7e:d1:90
Nov 20 13:16:43 hostabc dhclient: Sending on   LPF/eth0/00:0b:ab:7e:d1:90
Nov 20 13:16:43 hostabc dhclient: Sending on   Socket/fallback
Nov 20 13:16:43 hostabc dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0x333c6b38)
Nov 20 13:16:43 hostabc dhclient: DHCPREQUEST of 10.10.18.132 on eth0 to 255.255.255.255 port 67 (xid=0x333c6b38)
Nov 20 13:16:43 hostabc dhclient: DHCPOFFER of 10.10.18.132 from 10.10.16.98
Nov 20 13:16:43 hostabc dhclient: DHCPACK of 10.10.18.132 from 10.10.16.98

Currently I'm testing a workaround by using netplugd + additional
commands "dhclient -r <iface> && dhclient <iface>", but I would be glad
to have a better solution for that.

Did you already try a newer version from
- 14.10: (http://packages.ubuntu.com/de/utopic/isc-dhcp-client) or 
- 15.04: (packages.ubuntu.com/de/vivid/isc-dhcp-client)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1350759

Title:
  dhclient logs DHCPDISCOVER request (stdout and syslog) but doesn't
  send anything

Status in “isc-dhcp” package in Ubuntu:
  Confirmed

Bug description:
  I'm experiencing the problem that `dhclient -4 -w -v` logs messages in
  the form `DHCPDISCOVER on <interface> to 255.255.255.255 port 67
  interval 13 (xid=<xid>)`, e.g. `DHCPDISCOVER on wlan0 to
  255.255.255.255 port 67 interval 13 (xid=0x6d59d111)` both to console
  (stdout or stderr) and syslog, but wireshark shows that there're no
  requests sent over the network!! It works as expected, i.e. DHCP
  requests are actually sent over the network, if (as far as I
  experienced iff) I invoke `dhclient -r` before.

  experienced with isc-dhcp-client 4.2.4-7ubuntu12 on Ubuntu 14.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1350759/+subscriptions


References