lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #27049] DHCP IP address assignment with multiple lwIP


From: Jakob Stoklund Olesen
Subject: [lwip-devel] [bug #27049] DHCP IP address assignment with multiple lwIP devices fails
Date: Tue, 21 Jul 2009 19:40:21 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us) AppleWebKit/530.19.2 (KHTML, like Gecko) Version/4.0.2 Safari/530.19

Follow-up Comment #18, bug #27049 (project lwip):

Bill, the last pcaps you attached look perfectly healthy to me. Why do you
think the DHCP server is starting over? The XID you mention goes like this:


  4   0.780724      0.0.0.0 -> 255.255.255.255 DHCP DHCP Discover -
Transaction ID 0x1485a4c
 13   3.823652      0.0.0.0 -> 255.255.255.255 DHCP DHCP Discover -
Transaction ID 0x1485a4c
 16   4.366731 192.168.123.254 -> 255.255.255.255 DHCP DHCP Offer    -
Transaction ID 0x1485a4c
 17   4.367109      0.0.0.0 -> 255.255.255.255 DHCP DHCP Request  -
Transaction ID 0x1485a4d
 23   5.182788 192.168.123.254 -> 255.255.255.255 DHCP DHCP Offer    -
Transaction ID 0x1485a4c
 26   5.187731 192.168.123.254 -> 255.255.255.255 DHCP DHCP ACK      -
Transaction ID 0x1485a4d


lwip ignores the second offer because it already has one - it has sent
REQUEST and moved on to a new state. The server sends two OFFER messages
because there were two DISCOVER messages. It is just really slow.

In your dhcp_5_devices.pcap file, it looks like you have not updated the
software to reuse XIDs.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?27049>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]