VPP interface by default is in L3 mode and has to be set into L2 mode for 
either bridging or cross connect.  The reason, setting up an interface cross 
connected to the 2nd interface only does not work, is that the second interface 
is not in L2 mode.  Thus, L2 forwarding cannot output packets on the 2nd 
interface.  If you do not want the 2nd interface sending its packets back to 
the 1st interface, I believe (have not tried it) you can xconnect it to the 
local0 interface.  Then input packet on the 2nd interface should be dropped.

Regards,
John

From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Manjunath Munavalli
Sent: Saturday, August 11, 2018 5:20 PM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] query regarding L2 xconnect feature

Hi,

I want to use the L2 xconnect feature only in one direction, i.e suppose i have 
2 ports x and y,
i want to only do "set interface l2 xconnect X Y" so that all traffic from port 
X is sent to port Y.

If I do this only one direction it is not working. It works only if i do it 
both the direction X->Y and Y->X.

May i know why it doesn't work if we set l2 xconnect only in one direction.

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

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