Dear Anthony,

Please check the bond interface to see if the active slaves count has any 
positive number using show bond. Since you didn’t configure LACP on VM2, I 
believe you’ve not gotten any active slave in VPP. Your solution is to 
configure a bond interface in VM2 using mode 4 (I believe) if it is running 
linux.

vpp# sh bond
sh bond
interface name   sw_if_index  mode          load balance  active slaves  slaves
BondEthernet0    3            lacp          l2            2              2
vpp#

Alternately, you can replace lacp from VPP with xor as shown below when you 
create the bond interface if you don’t want to bother with lacp on VM2.

create bond mode xor

Steven

From: <[email protected]> on behalf of Anthony Linz <[email protected]>
Date: Friday, February 22, 2019 at 11:11 PM
To: "[email protected]" <[email protected]>
Subject: Re: [vpp-dev] Bond interface won't respond ping #vnet #vpp

Dear Steven
Thank you very much for your quick and nice response.
I suppose the beginning of my question might misguide you.
Let me clear my test scenario:

I have a Virtual Machine (VM1) which runs VPP and has an interface called 
GigabitEthernet0/8/0. I have another Virtual Machine (VM2) that it's interface 
(eth1) is in the same Kernel bridge as GigabitEthernet0/8/0 (and does not run 
VPP). So that I am able to ping GigabitEthernet0/8/0 easily (from VM2).

After creating a Bond interface (in VM1) with LACP mode (and also setting the 
state up and giving it IP address) and binding GigabitEthernet0/8/0 to the Bond 
interface I have neither ping of  GigabitEthernet0/8/0 nor Bond interface (from 
VM2).

I traced packets and It seems Bond interface is able to receive ARP packets 
(and learn it), however is not able to respond back to it. So I went ahead and 
set arps (for VM2) so that it started to send ICMP packets and again Bond 
interface (in VM1) was able to receive it but could not respond to it.

So my question really is:

1) Why don't Bond interface is not able to respond to either ARP or ICMP 
packets?
2) Is my config incomplete? (or maybe wrong)
3) Is it logical to ping a Bond Interface?

Thank you again for your response,
--
Anthony
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12333): https://lists.fd.io/g/vpp-dev/message/12333
Mute This Topic: https://lists.fd.io/mt/29916205/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452
Mute #vnet: https://lists.fd.io/mk?hashtag=vnet&subid=1480452
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to