buglwIP - A Lightweight TCP/IP stack - Bugs: bug #36017, ARP might not support duplicate...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #36017: ARP might not support duplicate addresses on multiple netifs

Submitter:  Simon Goldschmidt <goldsimon>
Submitted:  Tue 27 Mar 2012 07:00:24 PM UTC
   
 
Category:  ARP Severity:  2 - Minor
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  CVS Head

Mon 23 Mar 2015 09:05:46 PM UTC, comment #1: 

Fixed, but only if explicitly enabled via ETHARP_TABLE_MATCH_NETIF==1.

Simon Goldschmidt <goldsimon>
Group administrator
Tue 27 Mar 2012 07:00:24 PM UTC, original submission:  

This is from reading the code only, I haven't observed this (as I don't use multiple netifs).

This is somewhat related to bug #34683 (IPv4 routing doesn't consider source IP address), where Amir also said that ARP entries should be-separated not only by destination IP address.

Since we only have one global ARP table and we don't check the source address or the netif when searching for ARP entries, duplicate IP addresses will result in the address being resolved only once. For the 2nd netif, the same MAC address will be used (although the packet will be sent on the correct netif - i.e. noone will listen to it).

On good networks, this is probably only a problem for AutoIP - there shouldn't be duplicate addresses otherwise.

Simon Goldschmidt <goldsimon>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-23 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2014-03-11 goldsimon Severity3 - Normal 2 - Minor

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code