Hi, Hongjun Packets are attached
Thanks, -Ruijing From: Ni, Hongjun <hongjun...@intel.com> Sent: Thursday, October 31, 2019 3:12 PM To: Guo, Ruijing <ruijing....@intel.com>; vpp-dev@lists.fd.io Subject: RE: vpp with gtpu Hi Ruijing, It seems that there may be some issue on the gtpu decapsulation. Could you help to capture the traffic between the vpp1 side and vpp2 side? Thanks, Hongjun From: Guo, Ruijing <ruijing....@intel.com<mailto:ruijing....@intel.com>> Sent: Thursday, October 31, 2019 2:57 PM To: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> Cc: Ni, Hongjun <hongjun...@intel.com<mailto:hongjun...@intel.com>> Subject: vpp with gtpu Hi, I tried vpp (18.04-release, 19.08.1-release) with gtpu. it cannot work. Could you pls help? Vpp1 setup: sudo vppctl create host-interface name eth1 sudo vppctl set inter stat host-eth1 up sudo vppctl set int mac address host-eth1 52:54:00:43:88:63 sudo vppctl set int ip add host-eth1 192.168.1.21/24 sudo vppctl show ip arp sudo vppctl create gtpu tunnel src 192.168.1.21 dst 192.168.1.22 teid 13 sudo vppctl set int ip address gtpu_tunnel0 10.10.1.1/24 sudo vppctl set int stat gtpu_tunnel0 up Vpp2 setup: sudo vppctl create host-interface name eth1 sudo vppctl set inter stat host-eth1 up sudo vppctl set int ip add host-eth1 192.168.1.22/24 sudo vppctl set int mac address host-eth1 52:54:00:12:ab:01 sudo vppctl create gtpu tunnel src 192.168.1.22 dst 192.168.1.21 teid 13 sudo vppctl set int ip address gtpu_tunnel0 10.10.1.2/24 sudo vppctl set int stat gtpu_tunnel0 up vpp1: vagrant@vpp1:/vagrant$ sudo vppctl ping 192.168.1.22 116 bytes from 192.168.1.22: icmp_seq=1 ttl=64 time=3.8251 ms (<<< expect) vagrant@vpp1:/vagrant$ sudo vppctl ping 10.10.1.2 Statistics: 5 sent, 0 received, 100% packet loss (<<< expect ping can work) I use wiresharp to decode the packets. TEID = 13 (exepct) Vpp2: Packet 13 00:18:42:156858: af-packet-input af_packet: hw_if_index 1 next-index 4 tpacket2_hdr: status 0x81 len 146 snaplen 146 mac 66 net 80 sec 0x5dbb0dcd nsec 0x15b67ed8 vlan 0 vlan_tpid 0 00:18:42:156873: ethernet-input IP4: 52:54:00:43:88:63 -> 52:54:00:12:ab:01 00:18:42:156883: ip4-input UDP: 192.168.1.1 -> 192.168.1.22 tos 0x00, ttl 253, length 132, checksum 0x3a01 fragment id 0x0000 UDP: 24445 -> 2152 length 112, checksum 0x0000 00:18:42:156892: ip4-lookup fib 0 dpo-idx 5 flow hash: 0x00000000 UDP: 192.168.1.1 -> 192.168.1.22 tos 0x00, ttl 253, length 132, checksum 0x3a01 fragment id 0x0000 UDP: 24445 -> 2152 length 112, checksum 0x0000 00:18:42:156901: ip4-local UDP: 192.168.1.1 -> 192.168.1.22 tos 0x00, ttl 253, length 132, checksum 0x3a01 fragment id 0x0000 UDP: 24445 -> 2152 length 112, checksum 0x0000 00:18:42:156905: ip4-udp-lookup UDP: src-port 24445 dst-port 2152 00:18:42:156907: gtpu4-input GTPU decap error - tunnel for teid 13 does not exist 00:18:42:156913: error-drop rx:host-eth1 00:18:42:156914: drop gtpu4-input: no such tunnel packets vagrant@vpp2:~$ sudo vppctl show error Count Node Reason 32 gtpu4-input no such tunnel packets 6 arp-reply ARP replies sent 8 ip4-input ip4 source lookup miss 2 ip4-icmp-input echo replies sent 601 llc-input unknown llc ssap/dsap 17 ethernet-input no error 74 ethernet-input l3 mac mismatch vagrant@vpp2:~$ sudo vppctl show gtpu tunnel [0] src 192.168.1.22 dst 192.168.1.21 teid 13 fib-idx 0 sw-if-idx 2 encap-dpo-idx 13 decap-next-l2 Thanks, -Ruijing
gtp.u
Description: gtp.u
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14402): https://lists.fd.io/g/vpp-dev/message/14402 Mute This Topic: https://lists.fd.io/mt/40103381/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-