lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #30039] AutoIP does not reuse previous addresses


From: Bill Auerbach
Subject: [lwip-devel] [bug #30039] AutoIP does not reuse previous addresses
Date: Wed, 02 Jun 2010 18:20:24 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)

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

                 Summary: AutoIP does not reuse previous addresses
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: billauerbach
            Submitted on: Wed 02 Jun 2010 02:20:23 PM EDT
                Category: None
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: CVS Head

    _______________________________________________________

Details:

If the line:

autoip->tried_llipaddr++;

is not removed from autoip_start, every call to dhcp_network_changed that
calls dhcp_start or any direct calls to dhcp_start will cause a sequential
increase in the assigned AutoIP address.  I believe this is not desirable - in
fact the RFC indicates it SHOULD reuse the previous address if possible.

I understand the reason for the increment with multiple netifs.  I also think
if it's not done, that the ARP checking that is done will fail because the
other netif will have the same IP address as the next netif forcing a
reassignment.

In any case, I think this needs to be implemented differently.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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