lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #40303] DHCP xid renewed when sending a DHCPREQUEST


From: Florent Matignon
Subject: [lwip-devel] [bug #40303] DHCP xid renewed when sending a DHCPREQUEST
Date: Fri, 18 Oct 2013 16:03:00 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0

Follow-up Comment #2, bug #40303 (project lwip):

The quote is from the "DHCP client behavior" section.
>From my understanding, xid should be reused by both the server and the
client.

Here is an example message flow:
- DHCPDISCOVER sent by the client ; xid is randomly generated
- DHCPOFFER coming from server(s) ; xis is reused from previous DHCPDISCOVER
message ("The server inserts the 'xid' field from the DHCPDISCOVER message
into the 'xid' field of the DHCPOFFER message" - section 4.3.1 "DHCP server
behavior" / "DHCPDISCOVER message")
- DHCPREQUEST from the client ; xid is reused from previous DHCPOFFER message
("The DHCPREQUEST message contains the same 'xid' as the DHCPOFFER message.")
- DHCPACK from the server ; xid is reused from previous DHCPREQUEST

Fields usage is summarized in the RFC in tables 3 (server messages) and 5
(client messages): for DHCPREQUEST message, 'xid' field should come from
previous DHCPOFFER server message.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/




reply via email to

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