HI VPP-DEV team,

ubuntu 20.04
vpp v22.06-rc0~79-g48bdf24ad

I have my ubuntu 20.04 running the latest VPP code. The ubuntu machine is 
connected to a router. I have a static vxlan tunnel configured between bare 
metal and VPP. The tunnel is up.
Now I have created a loop5007 and added the vxlan tunnel in the same BD. Ping 
is failing from external router to the loopback behind vxlan in VPP. I see that 
l2 mac learning is happening on VPP but ping is failing. Can you please suggest 
what went wrong here

VPP trace:

create loopback interface instance 0

lcp create loop0 host-if loop0

set interface state loop0 up

set interface ip address loop0 2001:db8::1/64

set interface ip address loop0 192.0.2.1/24 ( http://192.0.2.1/24 )

create bond mode lacp load-balance l34 id 0

set interface state TenGigabitEthernetd8/0/0 up

set interface state TenGigabitEthernet5e/0/0 up

bond add BondEthernet0 TenGigabitEthernetd8/0/0 long-timeout

bond add BondEthernet0 TenGigabitEthernet5e/0/0 long-timeout

lcp create BondEthernet0 host-if bond0

create sub-interfaces BondEthernet0 80

lcp create BondEthernet0.80 host-if bond0.80

create sub-interfaces BondEthernet0 70

lcp create BondEthernet0.70 host-if bond0.70

set interface state BondEthernet0 up

set interface ip address BondEthernet0.70 172.16.101. 229/24 ( 
http://172.16.101.229/24 )

set interface state BondEthernet0.70 up

create vxlan tunnel src 172.16.101.229 dst 172.12.168.9 vni 5007 decap-next l2

create bridge-domain 5007 learn 1 forward 1 flood 1 arp-term 1 bd-tag 5007

create loopback interface mac cc:cc:cc:dd:dd:01 instance 5007

set interface mtu packet 9000 vxlan_tunnel0

set interface state vxlan_tunnel0 up

set interface l2 bridge vxlan_tunnel0 5007

set interface l2 bridge loop5007 5007

set interface ip address loop5007 192.168.7.9/24 ( http://192.168.7.9/24 )

set interface state loop5007 up

Packet 12

00:43:02:602880: dpdk-input

TenGigabitEthernet5e/0/0 rx queue 0

buffer 0x4c3fd8: current data 0, length 152, buffer-pool 0, ref-count 1, trace 
handle 0xb

ext-hdr- valid

PKT MBUF: port 0, nb_segs 1, pkt_len 152

buf_len 2176, data_len 152, ol_flags 0x180, data_off 128, phys_addr 0x130ff680

packet_type 0x291 l2_len 0 l3_len 0 outer_l2_len 0 outer_l3_len 0

rss 0x0 fdir.hi 0x0 fdir.lo 0x0

Packet Offload Flags

PKT_RX_IP_CKSUM_GOOD (0x0080) IP cksum of RX pkt. is valid

PKT_RX_IP_CKSUM_NONE (0x0090) no IP cksum of RX pkt.

PKT_RX_L4_CKSUM_GOOD (0x0100) L4 cksum of RX pkt. is valid

PKT_RX_L4_CKSUM_NONE (0x0108) no L4 cksum of RX pkt.

Packet Types

RTE_PTYPE_L2_ETHER (0x0001) Ethernet packet

RTE_PTYPE_L3_IPV4_EXT_ UNKNOWN (0x0090) IPv4 packet with or without extension 
headers

RTE_PTYPE_L4_UDP (0x0200) UDP packet

IP4: 2c:f8:9b:57:a5:df -> 3c:fd:fe:e1:61:08 802.1q vlan 70

UDP: 172.12.168.9 -> 172.16.101.229

tos 0x00, ttl 253, length 134, checksum 0x75be dscp CS0 ecn NON_ECN

fragment id 0x7ee3, flags DONT_FRAGMENT

UDP: 58360 -> 4789

length 114, checksum 0x0000

00:43:02:602892: bond-input

src 2c:f8:9b:57:a5:df, dst 3c:fd:fe:e1:61:08, TenGigabitEthernet5e/0/0 -> 
BondEthernet0

00:43:02:602980: ethernet-input

IP4: 2c:f8:9b:57:a5:df -> 3c:fd:fe:e1:61:08 802.1q vlan 70

00:43:02:603046: ip4-input

UDP: 172.12.168.9 -> 172.16.101.229

tos 0x00, ttl 253, length 134, checksum 0x75be dscp CS0 ecn NON_ECN

fragment id 0x7ee3, flags DONT_FRAGMENT

UDP: 58360 -> 4789

length 114, checksum 0x0000

00:43:02:603110: ip4-lookup

fib 0 dpo-idx 14 flow hash: 0x00000000

UDP: 172.12.168.9 -> 172.16.101.229

tos 0x00, ttl 253, length 134, checksum 0x75be dscp CS0 ecn NON_ECN

fragment id 0x7ee3, flags DONT_FRAGMENT

UDP: 58360 -> 4789

length 114, checksum 0x0000

00:43:02:603184: ip4-receive

UDP: 172.12.168.9 -> 172.16.101.229

tos 0x00, ttl 253, length 134, checksum 0x75be dscp CS0 ecn NON_ECN

fragment id 0x7ee3, flags DONT_FRAGMENT

UDP: 58360 -> 4789

length 114, checksum 0x0000

00:43:02:603261: ip4-udp-lookup

UDP: src-port 58360 dst-port 4789

00:43:02:603342: vxlan4-input

VXLAN decap from vxlan_tunnel0 vni 5007 next 1 error 0

00:43:02:603421: l2-input

l2-input: sw_if_index 12 dst cc:cc:cc:dd:dd:01 src 88:d9:8f:25:f9:25 [l2-learn 
l2-fwd l2-flood arp-term-l2bd l2-flood ]

00:43:02:603502: l2-learn

l2-learn: sw_if_index 12 dst cc:cc:cc:dd:dd:01 src 88:d9:8f:25:f9:25 bd_index 1

00:43:02:603591: l2-fwd

l2-fwd:   sw_if_index 12 dst cc:cc:cc:dd:dd:01 src 88:d9:8f:25:f9:25 bd_index 1 
result [0x113000000000d, 13] none

00:43:02:603683: l2-output

l2-output: sw_if_index 13 dst cc:cc:cc:dd:dd:01 src 88:d9:8f:25:f9:25 data 08 
00 45 00 00 54 e0 ac 00 00 40 01

00:43:02:603778: loop5007-output

loop5007

IP4: 88:d9:8f:25:f9:25 -> cc:cc:cc:dd:dd:01

ICMP: 192.168.7.10 -> 192.168.7.9

tos 0x00, ttl 64, length 84, checksum 0x0a99 dscp CS0 ecn NON_ECN

fragment id 0xe0ac

ICMP echo_request checksum 0x7ef8 id 18117

00:43:02:603992: l2-input

l2-input: sw_if_index 13 dst cc:cc:cc:dd:dd:01 src 88:d9:8f:25:f9:25 [l2-learn 
l2-fwd l2-flood arp-term-l2bd l2-flood ]

00:43:02:604154: l2-learn

l2-learn: sw_if_index 13 dst cc:cc:cc:dd:dd:01 src 88:d9:8f:25:f9:25 bd_index 1

00:43:02:604269: l2-fwd

l2-fwd:   sw_if_index 13 dst cc:cc:cc:dd:dd:01 src 88:d9:8f:25:f9:25 bd_index 1 
result [0x113000000000d, 13] none

00:43:02:604387: error-drop

rx:loop5007

00:43:02:604509: drop

l2-fwd: Reflection Drop
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20952): https://lists.fd.io/g/vpp-dev/message/20952
Mute This Topic: https://lists.fd.io/mt/89559568/21656
Mute #vpp-dev:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-dev
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