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



yug...@telincn.com
 
From: Neale Ranns (nranns)
Date: 2017-05-12 20:44
To: yug...@telincn.com; vpp-dev
Subject: Re: [vpp-dev] arp_input
Hi Ewan,
 
Please post your configs and the output of ‘sh ip arp’.
 
Thanks,
neale
 
From: <vpp-dev-boun...@lists.fd.io> on behalf of "yug...@telincn.com" 
<yug...@telincn.com>
Date: Friday, 12 May 2017 at 12:33
To: vpp-dev <vpp-dev@lists.fd.io>
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


yug...@telincn.com
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to