I forgot to ask if these 2 boxes’ interfaces are connected back to back or 
through a switch.

Steven

From: <vpp-dev@lists.fd.io> on behalf of "steven luong via Lists.Fd.Io" 
<sluong=cisco....@lists.fd.io>
Reply-To: "Steven Luong (sluong)" <slu...@cisco.com>
Date: Tuesday, August 14, 2018 at 8:24 AM
To: Aleksander Djuric <aleksander.dju...@gmail.com>, "vpp-dev@lists.fd.io" 
<vpp-dev@lists.fd.io>
Cc: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] LACP link bonding issue

Aleksander

It looks like the LACP packets are not going out to the interfaces as expected 
or being dropped. Additional output and trace are needed to determine why. 
Please collect the following from both sides.

clear hardware
clear error

wait a few seconds

show hardware
show error
show lacp details
trace add dpdk-input 50

wait a few seconds

show trace

Steven

From: <vpp-dev@lists.fd.io> on behalf of Aleksander Djuric 
<aleksander.dju...@gmail.com>
Date: Tuesday, August 14, 2018 at 7:28 AM
To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Subject: [vpp-dev] LACP link bonding issue

Hi all,

I'm trying to setup bonding in mode 4 (LACP) between 2 VPP hosts and
I have encounterd the problem of no active slaves on bond interface. Both hosts 
runs VPP v18.10-rc0. Same config runs perfect in other modes. Any idea?

1st VPP config:

create bond mode lacp load-balance l23
bond add BondEthernet0 GigabitEtherneta/0/0
bond add BondEthernet0 GigabitEtherneta/0/1
set interface ip address BondEthernet0 10.0.0.1/24<http://10.0.0.1/24>
set interface state GigabitEtherneta/0/0 up
set interface state GigabitEtherneta/0/1 up
set interface state BondEthernet0 up

2nd VPP config:

create bond mode lacp load-balance l23
bond add BondEthernet0 GigabitEtherneta/0/0
bond add BondEthernet0 GigabitEtherneta/0/1
set interface ip address BondEthernet0 10.0.0.2/24<http://10.0.0.2/24>
set interface state GigabitEtherneta/0/0 up
set interface state GigabitEtherneta/0/1 up
set interface state BondEthernet0 up

vpp1# ping 10.0.0.2
Statistics: 5 sent, 0 received, 100% packet loss

vpp1# sh int
             Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     Counter 
         Count
BondEthernet0                     5      up          9000/0/0/0     tx packets  
                  10
                                                                   tx bytes     
                420
                                                                   drops        
                 10
GigabitEtherneta/0/0              1      up          9000/0/0/0     tx-error    
                   1
GigabitEtherneta/0/1              2      up          9000/0/0/0     tx-error    
                   1
GigabitEtherneta/0/2              3     down         9000/0/0/0
GigabitEtherneta/0/3              4     down         9000/0/0/0
local0                            0     down          0/0/0/0       drops       
                   2

vpp1# sh bond
interface name   sw_if_index  mode         load balance  active slaves  slaves
BondEthernet0    5            lacp         l23           0              2

vpp1# show lacp
                                                        actor state             
         partner state
interface name            sw_if_index  bond interface   
exp/def/dis/col/syn/agg/tim/act  exp/def/dis/col/syn/agg/tim/act
GigabitEtherneta/0/0      1            BondEthernet0      0   0   0   0   0   1 
  1   1    0   0   0   0   0   0   0   1
  LAG ID: [(ffff,00-0b-ab-f4-f9-66,0005,00ff,0001), 
(ffff,00-00-00-00-00-00,0005,00ff,0001)]
  RX-state: EXPIRED, TX-state: TRANSMIT, MUX-state: DETACHED, PTX-state: 
PERIODIC_TX
GigabitEtherneta/0/1      2            BondEthernet0      0   0   0   0   0   1 
  1   1    0   0   0   0   0   0   0   1
  LAG ID: [(ffff,00-0b-ab-f4-f9-66,0005,00ff,0002), 
(ffff,00-00-00-00-00-00,0005,00ff,0002)]
  RX-state: EXPIRED, TX-state: TRANSMIT, MUX-state: DETACHED, PTX-state: 
PERIODIC_TX

Regards,
Aleksander

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

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