Hi:
I met this problem:
----- TenGigabitEthernet3b/0/1(active) --------------- | port a       port c  |
*VTEP* (vxlan)------- *bridge domain* ------ *BondEthernet0* --- /              
                                                                         |      
  switch          |
\___ TenGigabitEthernet3b/0/0(passive) ---------------| port b       port d  |

When a *ARP Request* come from *VTEP* and output from 
TenGigabitEthernet3b/0/1(active) , be transfered to "port A of switch", in 
switch it will be flooded to "port B/C/D of switch"。
"Port B of switch" will send it back to TenGigabitEthernet3b/0/0(inactive) , 
then to *BondEthernet0* 。If bond-input do not drop this packet, loopback 
happen!(MAC address flapping )

In my test, when *ARP Request* loopback from bond's inactive slave interface, 
the bond-input graph node will put it to L2 bridge(do L2 learn...), then MAC 
address flapping happen! So the corresponding ARP Reply come from 
TenGigabitEthernet3b/0/1(active) will be dropped in L2 bridge!
So should these packets come from TenGigabitEthernet3b/0/0(passive) be dropped 
? or What wrong config did I have? ro  ....
Please tell me, thanks!

I use VPP's stable version 19.08 and do some config like this:
1. I create a bond interface and set bond mode as “active-backup”;
2. I add two phy port in bond as bond’s slavies;
3. I set all of the three interface up;

after do these configures, I run " *show bond details* ":
vpp# show bond details
BondEthernet0
mode: active-backup
load balance: active-backup
number of active slaves: 2
*TenGigabitEthernet3b/0/1*
*TenGigabitEthernet3b/0/0*
number of slaves: 2
TenGigabitEthernet3b/0/0
TenGigabitEthernet3b/0/1
device instance: 0
interface id: 0
sw_if_index: 3
hw_if_index: 3

We know that, BondEthernet0's two slaves:
TenGigabitEthernet3b/0/1 --- active
TenGigabitEthernet3b/0/0 ---  passive

When I use “trace add dpdk-input  100、show trace” to see how packets be 
processed. I see the packets which input frome 
TenGigabitEthernet3b/0/0(passive) still processed by vpp(such as "l2_learn").
Shouldn't these packets just be droped on bond-input graph node?

Thanks!
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14819): https://lists.fd.io/g/vpp-dev/message/14819
Mute This Topic: https://lists.fd.io/mt/67407029/21656
Mute #vnet: https://lists.fd.io/mk?hashtag=vnet&subid=1480452
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452
Mute #vapi: https://lists.fd.io/mk?hashtag=vapi&subid=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to