Hi,
 
I want to use the L2 xconnect or L2 bridge feature on multiple interface , i.e 
suppose I have 4 ports :
x1 and x2  and also  y1 and y2.
I want to only do

vpp# set interface l2 xconnect x1 x2
vpp# set interface l2 xconnect x2 x1
vpp# set interface l2 xconnect y1 y2
vpp# set interface l2 xconnect y2 y1

so that all traffic from port x1 is sent to port x2 and vice versa ,
also all traffic from port y1 is sent to port y2 and vice versa.

but only one set of them works at the same time , for example only x1 and x2 
works but y1 and y2 not working
if i change the mode of x1 and x2 interface to L3 mode , y1 and y2 interface 
will work in L2 mode

I test this situation with l2 bridge and i have the same problem.
May i know ,why it doesn't work if i set l2 (xconnect or bridge) for multiple 
interface ???

here is my configuration and commands :
*
for l2 xconnect test :*
vpp# set int state TenGigabitEthernet4/0/0 up
vpp# set int state TenGigabitEthernet4/0/1 up
vpp# set int state TenGigabitEthernet7/0/0 up
vpp# set int state TenGigabitEthernet7/0/1 up

vpp# set interface promiscuous on TenGigabitEthernet4/0/0
vpp# set interface promiscuous on TenGigabitEthernet4/0/1
vpp# set interface promiscuous on TenGigabitEthernet7/0/0
vpp# set interface promiscuous on TenGigabitEthernet7/0/1

vpp# set interface l2 xconnect TenGigabitEthernet4/0/0 TenGigabitEthernet4/0/1
vpp# set interface l2 xconnect TenGigabitEthernet4/0/1 TenGigabitEthernet4/0/0
vpp# set interface l2 xconnect TenGigabitEthernet7/0/1 TenGigabitEthernet7/0/0
vpp# set interface l2 xconnect TenGigabitEthernet7/0/0 TenGigabitEthernet7/0/1
 
vpp# show interface 
              Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     
Counter          Count     
TenGigabitEthernet21/0/0          5     down         9000/0/0/0     
TenGigabitEthernet21/0/1          6     down         9000/0/0/0     
TenGigabitEthernet24/0/0          7     down         9000/0/0/0     
TenGigabitEthernet24/0/1          8     down         9000/0/0/0     
TenGigabitEthernet4/0/0           1      up          9000/0/0/0     rx packets  
             2803151
                                                                    rx bytes    
           700562045
                                                                    tx packets  
             3693049
                                                                    tx bytes    
          3791177782
                                                                    tx-error    
                  62
TenGigabitEthernet4/0/1           2      up          9000/0/0/0     rx packets  
             3693049
                                                                    rx bytes    
          3791177782
                                                                    tx packets  
             2803151
                                                                    tx bytes    
           700562045
TenGigabitEthernet7/0/0           3      up          9000/0/0/0     tx packets  
             4799610
                                                                    tx bytes    
          3764207865
TenGigabitEthernet7/0/1           4      up          9000/0/0/0     rx packets  
             4799610
                                                                    rx bytes    
          3764207865
local0                            0     down          0/0/0/0       
 

vpp# show mode 
l3 local0  
l2 xconnect TenGigabitEthernet4/0/0 TenGigabitEthernet4/0/1
l2 xconnect TenGigabitEthernet4/0/1 TenGigabitEthernet4/0/0
l2 xconnect TenGigabitEthernet7/0/0 TenGigabitEthernet7/0/1
l2 xconnect TenGigabitEthernet7/0/1 TenGigabitEthernet7/0/0
l3 TenGigabitEthernet21/0/0  
l3 TenGigabitEthernet21/0/1  
l3 TenGigabitEthernet24/0/0  
l3 TenGigabitEthernet24/0/1 

I have checked connectivity and sure that's correct

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

View/Reply Online (#11957): https://lists.fd.io/g/vpp-dev/message/11957
Mute This Topic: https://lists.fd.io/mt/29289024/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to