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

Submitted by:  Simon Goldschmidt <goldsimon>
Submitted on:  Tue 27 Mar 2012 07:00:24 PM UTC  
 
Category: ARPSeverity: 2 - Minor
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned 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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 23 Mar 2015 09:05:46 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed
    Tue 11 Mar 2014 07:56:25 PM UTCgoldsimonSeverity3 - Normal=>2 - Minor

    Back to the top


    Powered by Savane 3.1-cleanup1