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