Bonding cares less whether the traffic is unicast or multicast. It just hashes the packet header and selects one of the members as the outgoing interface. The only bonding mode which it replicates packets across all members is when you create the bonding interface to do broadcast which you didn’t do in your config.
That said, you can debug further to see where the problem is by using packet trace or pcap. You can also disable bonding to see if it helps. Steven From: <vpp-dev@lists.fd.io> on behalf of "ashish.sax...@hsc.com" <ashish.sax...@hsc.com> Date: Tuesday, December 1, 2020 at 11:40 PM To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> Subject: [vpp-dev] multicast traffic getting duplicated in lacp bond mode Hi vpp community, We are using vpp 20.05 on our setup. We were testing out vpp bonding in lacp mode. With this config, we saw that multicast traffic was getting duplicated. However, the unicast traffic was ok without duplicate packets. Looks like maybe 2 joins are happening, one on each interface. We could not find anything on documentation regarding this. We have tested the below combinations: xor lacp lcap+l34+passive lcap+l34+no passive command lcap+l23+pasive lcap+l23+no passive lcap+l2+passive Config used for testing: create bond mode xor id 0 bond add BondEthernet0 HundredGigabitEthernet12/0/1 create sub-interfaces BondEthernet0 501 set int state HundredGigabitEthernet12/0/1 up set int state BondEthernet0 up set int state BondEthernet0.501 up set interface ip address BondEthernet0.501 2001:5b0:ffff:501:b883:31f:19e:68f1/64 bond add BondEthernet0 HundredGigabitEthernet12/0/0 create sub-interfaces BondEthernet0 701 set int state HundredGigabitEthernet12/0/0 up set int state BondEthernet0 up set int state BondEthernet0.701 up ip6 nd address autoconfig BondEthernet0.701 default-route Multicast route added: ip mroute add FF38:23:2001:5B0:2000::9901/128 via BondEthernet0.501 Accept ip mroute add FF38:23:2001:5B0:2000::9901/128 via local Forward ip mroute add FF38:23:2001:5B0:2000::9900/128 via tuntap-0 Accept ip mroute add FF38:23:2001:5B0:2000::9900/128 via BondEthernet0.501 Forward Is this a known isssue ? How can we stop the duplicate packet? Thanks and Regards, Ashish
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18240): https://lists.fd.io/g/vpp-dev/message/18240 Mute This Topic: https://lists.fd.io/mt/78654798/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-