[Edited Message Follows]

* 

As mentioned in the topic.

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?

I met this problem:
___ TenGigabitEthernet3b/0/1(active) ---------------| port a of switch A      
port c of switch A |
BondEthernet0---/                                                               
                       |                                                        
       |
\___ TenGigabitEthernet3b/0/0(passive) ---------------| port b of switch A      
port d of switch A |

When a arp request out-put from TenGigabitEthernet3b/0/1(active) and in-put in 
"port a of switch A", it will flood to "port b/c/d of switch A"。
"Port b of switch A" will send it back to TenGigabitEthernet3b/0/0(passive) , 
then to BondEthernet0。If bond-input do not drop this packet, loopback 
happen!(MAC address flapping )

In my test, when arp loopback from bond's passive slave interface, MAC address 
flapping happen!
So are the packets come from TenGigabitEthernet3b/0/0(passive) should be 
dropped ? or What wrong config did I did? ro  ....
Please tell me, thanks!
Thanks!
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14810): https://lists.fd.io/g/vpp-dev/message/14810
Mute This Topic: https://lists.fd.io/mt/66952057/21656
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