Hi All,

I am trying out the vxlan tunnel in vpp.
Following is my configuration:

================================================================================================

*vxlan-device1*----*VM1* --------vxlan-tun1(vni
10)------------*VPP*-------------vxlan-tun2(vni
20)------------*VM2*-----------------*vxlan-device2*


=================================================================================================

Each VM is having two direct connections with vpp.

set interface state GigabitEthernet0/10/0 up
set interface state GigabitEthernet0/11/0 up
set interface state GigabitEthernet0/9/0 up
set interface state GigabitEthernet0/a/0 up
create bridge-domain 10 learn 1 forward 1 uu-flood 1 flood 1 arp-term 0
create bridge-domain 20 learn 1 forward 1 uu-flood 1 flood 1 arp-term 0
set interface ip address GigabitEthernet0/a/0 192.168.30.1/24
set interface ip address GigabitEthernet0/11/0 192.168.40.1/24
create vxlan tunnel src 192.168.30.1 dst 192.168.30.10 vni 10 encap-vrf-id 0
create vxlan tunnel src 192.168.40.1 dst 192.168.40.20 vni 20 encap-vrf-id 0
set interface l2 bridge vxlan_tunnel0 10 1
set interface l2 bridge vxlan_tunnel1 20 1
set interface l2 bridge GigabitEthernet0/9/0 20 1
set interface l2 bridge GigabitEthernet0/10/0 10 1

I am sending traffic from vxlan-device1 to vxlan-device2.

The encapsulated packet is being processed by the tunnel with vni 10 but
the payload is not being used for forwarding instead outer l2 header is
being used for l2 forwarding. I though after packet's vxlan is stripped the
payload is used for further forwarding. Am I missing anything?

Regards,
Avinash
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to