Hi, All
I'm configuring VPP as VxLAN multicast mode over multiple servers. To simplify
the topology, I only used two servers: server1 as VPP; server2 using vxlan
kernel mode.
Server1:
set interface state TenGigabitEthernet3d/0/1 up
set interface ip address TenGigabitEthernet3d/0/1 172.168.1.1/24
create bridge-domain 1000 learn 1 forward 1 uu-flood 1 flood 1 arp-term 0
create vxlan tunnel src 172.168.1.1 group 239.1.1.1 TenGigabitEthernet3d/0/1
vni 100
set interface l2 bridge vxlan_tunnel0 1000
loopback create
set interface l2 bridge loop0 1000 bvi
set interface state loop0 up
set interface ip address loop0 192.168.1.1/24
Server2:
ifconfig enp11s0f1 172.168.1.2/24 up
ip link add vxlan0 type vxlan id 100 dstport 4789 group 239.1.1.1 dev enp11s0f1
ifconfig vxlan0 192.168.1.2/24 up
Now, server1 and server2 are connected with VxLAN VNI 100 through multicast
group 239.1.1.1.
However, 192.168.1.1 and 192.168.1.2 could NOT be pingable each other.
Trace log:
Packet 1
00:01:02:563831: dpdk-input
TenGigabitEthernet3d/0/1 rx queue 0
buffer 0x4b93: current data 14, length 78, free-list 0, clone-count 0,
totlen-nifb 0, trace 0x0
ext-hdr-valid
l4-cksum-computed l4-cksum-correct l2-hdr-offset 0
PKT MBUF: port 0, nb_segs 1, pkt_len 92
buf_len 2176, data_len 92, ol_flags 0x180, data_off 128, phys_addr
0x4012e540
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_L4_CKSUM_GOOD (0x0100) L4 cksum of RX pkt. is valid
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: 00:1e:67:34:31:6c -> 01:00:5e:01:01:01
UDP: 172.168.1.2 -> 239.1.1.1
tos 0x00, ttl 1, length 78, checksum 0xe04b
fragment id 0x3ba7
UDP: 54420 -> 4789
length 58, checksum 0x0000
00:01:02:563834: ip4-input-no-checksum
UDP: 172.168.1.2 -> 239.1.1.1
tos 0x00, ttl 1, length 78, checksum 0xe04b
fragment id 0x3ba7
UDP: 54420 -> 4789
length 58, checksum 0x0000
00:01:02:563839: ip4-mfib-forward-lookup
fib 0 entry 6
00:01:02:563842: ip4-mfib-forward-rpf
entry 6 itf 1 flags Accept,
00:01:02:563842: ip4-replicate
replicate: 4 via [@1]: dpo-receive
00:01:02:563843: ip4-local
UDP: 172.168.1.2 -> 239.1.1.1
tos 0x00, ttl 1, length 78, checksum 0xe04b
fragment id 0x3ba7
UDP: 54420 -> 4789
length 58, checksum 0x0000
00:01:02:563846: ip4-udp-lookup
UDP: src-port 54420 dst-port 4789
00:01:02:563847: vxlan4-input
VXLAN decap error - tunnel for vni 100 does not exist
00:01:02:563847: error-drop
vxlan4-input: no such tunnel packets
Why it said "tunnel for vni 100 does not exist"?
Any help is appreciated.
Thx, Xuekun
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11095): https://lists.fd.io/g/vpp-dev/message/11095
Mute This Topic: https://lists.fd.io/mt/27856725/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-