Hi all, I want to use ethernet over gre between vpp and linux, and I failed. the gre tunnel endpoint of the linux is ok ,I have tested between two linux, and I guess the problem is in VPP gre tunnel.
in vpp ,my configuration to that shown below: vppctl create gre tunnel src 192.168.2.20 dst 192.168.2.3 teb vppctl set int state teb-gre0 up vppctl loopback create vppctl set int l2 bridge loop0 200 bvi 2 vppctl set int ip address loop0 192.168.10.20/24 vppctl set int state loop0 up vppctl set int l2 bridge teb-gre0 200 1 vppctl set bridge-domain arp term 200 vppctl set interface mtu 1450 loop0 # vppctl ping 192.168.10.2 source loop0 repeat 1 Statistics: 1 sent, 0 received, 100% packet loss # vppctl show trace ------------------- Start of thread 0 vpp_main ------------------- No packets in trace buffer # # # # vppctl show int teb-gre0 Name Idx State Counter Count teb-gre0 13 up tx packets 9 tx bytes 378 # # vppctl show int loop0 Name Idx State Counter Count loop0 14 up tx packets 18 tx bytes 756 drops 9 # # # vppctl show gre tunnel [0] 192.168.2.20 (src) 192.168.2.3 (dst) payload TEB outer_fib_index 0 # # vppctl show bridge-domain 200 detail BD-ID Index BSN Age(min) Learning U-Forwrd UU-Flood Flooding ARP-Term BVI-Intf 200 1 0 off on on on on on loop0 Interface If-idx ISN SHG BVI TxFlood VLAN-Tag-Rewrite loop0 14 1 2 * * none teb-gre0 13 1 1 - * none IP4/IP6 to MAC table for ARP Termination # # vppctl show int addr loop0 loop0 (up): l2 bridge bd_id 200 bvi shg 2 192.168.10.20/24 # vppctl show int addr teb-gre0 teb-gre0 (up): l2 bridge bd_id 200 shg 1 # in the other linux ,my configuration to that shown below: ip link add gre1 type gretap remote 192.168.2.20 local 192.168.2.3 ip link set gre1 up ip link set gre1 mtu 1450 ovs-vsctl add-br br2 ovs-vsctl add-port br2 gre1 ifconfig br2 192.168.10.2/24 ~ # ip link show gre1 36: gre1@NONE: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc pfifo_fast master ovs-system state UNKNOWN mode DEFAULT group default qlen 1000 link/ether 52:e6:16:69:3e:1a brd ff:ff:ff:ff:ff:ff ~ # ping 192.168.10.20 -c1 PING 192.168.10.20 (192.168.10.20): 56 data bytes --- 192.168.10.20 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss 祝工作愉快,万事如意! 陈敬志 烽火通信科技股份有限公司 宽带业务产出线 武汉市东湖高新区高新四路6号 www.fiberhome.com -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9596): https://lists.fd.io/g/vpp-dev/message/9596 Mute This Topic: https://lists.fd.io/mt/22076515/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-