Hi Ewan,

You mentioned that these interfaces are ‘bridged to the same host phy 
interface’ – can you please share the relevant configs for that.

Thanks,
neale

From: "[email protected]" <[email protected]>
Date: Friday, 12 May 2017 at 13:51
To: "Neale Ranns (nranns)" <[email protected]>, vpp-dev <[email protected]>
Subject: Re: Re: [vpp-dev] arp_input

root@ubuntu:/# vppctl show int addr
GigabitEthernet2/9/0 (up):
     10.10.55.52/16
GigabitEthernet2/a/0 (up):
     192.168.20.1/24

root@ubuntu:/# vppctl show ip arp|grep 10.10.55.50
  70.0606   10.10.55.50  DN  f4:4d:30:16:ea:c1  GigabitEthernet2/9/0
  70.4546   10.10.55.50  DN  f4:4d:30:16:ea:c1  GigabitEthernet2/a/0

________________________________
[email protected]

From: Neale Ranns (nranns)<mailto:[email protected]>
Date: 2017-05-12 20:44
To: [email protected]<mailto:[email protected]>; 
vpp-dev<mailto:[email protected]>
Subject: Re: [vpp-dev] arp_input
Hi Ewan,

Please post your configs and the output of ‘sh ip arp’.

Thanks,
neale

From: <[email protected]> on behalf of "[email protected]" 
<[email protected]>
Date: Friday, 12 May 2017 at 12:33
To: vpp-dev <[email protected]>
Subject: [vpp-dev] arp_input

 Here  are two  arp_input functions on vpp 16.09  and vpp 17.04,  if my VM have 
two ethernet intefaces with different network segment,
and both of them are bridged to the same host phy interface,  then we will have 
 same arp entry on each interface. Why we process like this on version 17.04.



version 16.09
 if ((!((FIB_ENTRY_FLAG_ATTACHED & src_flags) ||
(FIB_ENTRY_FLAG_CONNECTED & src_flags)) ||
      sw_if_index0 != fib_entry_get_resolving_interface (src_fei))
     )
    {
      error0 = ETHERNET_ARP_ERROR_l3_src_address_not_local;
      goto drop2;
    }

 version 17.04
  if (!((FIB_ENTRY_FLAG_ATTACHED & src_flags) ||
(FIB_ENTRY_FLAG_CONNECTED & src_flags))
)
    {

      error0 = ETHERNET_ARP_ERROR_l3_src_address_not_local;
      goto drop2;
    }






Regards,
Ewan
________________________________
[email protected]
_______________________________________________
vpp-dev mailing list
[email protected]
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to