[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#743335: debian-installer: udhcpc does not get first IP-address it asked for



Preamble:
 a Dynamic Host Configuration Protocol session
 has typical four packets: D.O.R.A.:

   Discover      ( comes from client)
   Offer         ( from server)
   Request       ( from client )
   Acknowledge   ( from server )


On Mon, Sep 14, 2015 at 12:29:16PM +0200, Oliver Kopp wrote:
> Same issue here.

FWIW: I don't think so ...


> DHCP server log here:
> 
> Sep 14 12:25:53 iaas2 dhcpd: DHCPDISCOVER from 00:50:56:85:c2:a2 via eth0: load balance to peer iaas

The Discover.


 (remark:  I mis  DHCPOFFER )

> Sep 14 12:25:53 iaas2 dhcpd: DHCPREQUEST for 10.0.1.28 (10.0.1.1) from 00:50:56:85:c2:a2 via eth0: wrong network.

Client requests 10.0.1.28, Server allready knows "wrong network"

> Sep 14 12:25:53 iaas2 dhcpd: DHCPNAK on 10.0.1.28 to 00:50:56:85:c2:a2 via eth0

Server sends "DHCPNAK", Negative AcKnowledge, to client.


> Sep 14 12:25:56 iaas2 dhcpd: DHCPDISCOVER from 00:50:56:85:c2:a2 via eth0: load balance to peer iaas

Client does a new Discover


  (remark: DHCPOFFER is _not_ in the logging )


> Sep 14 12:25:56 iaas2 dhcpd: DHCPREQUEST for 129.69.214.124 (129.69.214.2) from 00:50:56:85:c2:a2 via eth0

Client requests 129.69.214.124  this time.


> Sep 14 12:25:56 iaas2 dhcpd: DHCPACK on 129.69.214.124 to 00:50:56:85:c2:a2 via eth0

DHCP server ACKnowledges the request for 129.69.214.124 to DHCP client.


> It seems that uhcpc treats the first answer only.

That observartion / conclusion does NOT match the logging with D.R.N.D.R.A.:
> Sep 14 12:25:53 dhcpd: DHCPDISCOVER from 00:50:56:85:c2:a2
> Sep 14 12:25:53 dhcpd: DHCPREQUEST for 10.0.1.28 (10.0.1.1) from 00:50:56:85:c2:a2
> Sep 14 12:25:53 dhcpd: DHCPNAK on 10.0.1.28 to 00:50:56:85:c2:a2
> Sep 14 12:25:56 dhcpd: DHCPDISCOVER from 00:50:56:85:c2:a2
> Sep 14 12:25:56 dhcpd: DHCPREQUEST for 129.69.214.124 (129.69.214.2) from 00:50:56:85:c2:a2
> Sep 14 12:25:56 dhcpd: DHCPACK on 129.69.214.124 to 00:50:56:85:c2:a2


Request to Oliver: Please elaborate:
  It seems that uhcpc treats the first answer only.


My advice to Oliver: Check your LAN and search for 10.0.1.1. That 10.0.1.1. is from
> Sep 14 12:25:53 iaas2 dhcpd: DHCPREQUEST for 10.0.1.28 (10.0.1.1) from 00:50:56:85:c2:a2 via eth0




Groeten
Geert Stappers
Looking forward for a response on this ticket (which is original from April 1st 2014  ... )
-- 
Leven en laten leven


Reply to: