lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #21655] DHCP doesn't work reliably with multiple netif


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #21655] DHCP doesn't work reliably with multiple netifs
Date: Tue, 27 Nov 2007 21:21:25 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9

URL:
  <http://savannah.nongnu.org/bugs/?21655>

                 Summary: DHCP doesn't work reliably with multiple netifs
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: goldsimon
            Submitted on: Dienstag 27.11.2007 um 21:21
                Category: UDP
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 

    _______________________________________________________

Details:

This is from reading the code only but I'm pretty sure:

DHCP pcbs can't be bound to a specific netif (since at the time DHCP starts,
that netif has no IP address and binding is done using IP addresses). That
means when having multiple IP addresses, any of the active DHCP pcbs will get
an incoming DHCP packet.

For that to be solved, the DHCP input code (parts of it in udp.c) should be
changed to identify the netif a DHCP pcb wants to use. In other words, DHCP
UDP pcbs should somehow bind to a specific netif rather then receive on all
netifs.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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