Setup:
+- ubuntu-test -------------------------
|
| [eth2: 10.1.13.197]
| route add 11.9.0.0 netmask 255.255.0.0 gw 10.1.13.199
+------ | ------------------------
|
+-VPP#7 | ------------------------
| [GigabitEthernet0/6/0: 10.1.13.199]
|
| [gtpu_tunnel0: 11.9.0.1]
| |
| [GigabitEthernet0/7/0: 10.1.14.199] --> vrf:152
+------ || -----------------------
||
+-VPP#4 || -----------------------
| [TenGigabitEthernet82/0/0: GigabitEthernet0/c/0] --> vrf:152
|
| [loop0: 11.9.0.4]
+- VPP#4 -------------------------
Commands used to configure
<VPP#7>
sudo vppctl set interface ip table GigabitEthernet0/7/0 152
sudo vppctl set interface ip address GigabitEthernet0/7/0 10.1.14.199/24
sudo vppctl create gtpu tunnel src 10.1.14.199 dst 10.1.14.200 teid 7777
encap-vrf-id 152 decap-next node ip4-lookup
sudo vppctl set interface ip address gtpu_tunnel0 11.9.0.1/16
sudo vppctl ip route 11.9.0.0/16 via gtpu_tunnel0
sudo vppctl ip route 10.1.13.0/16 via GigabitEthernet0/6/0
sudo vppctl set interface state GigabitEthernet0/6/0 up
sudo vppctl set interface state GigabitEthernet0/7/0 up
<VPP#4>
sudo vppctl set interface ip table GigabitEthernet0/c/0 152
sudo vppctl set interface ip address GigabitEthernet0/c/0 10.1.14.200/24
sudo vppctl create gtpu tunnel src 10.1.14.200 dst 10.1.14.199 teid 7777
encap-vrf-id 152 decap-next node ip4-lookup
sudo vppctl show gtpu tunnel
src 10.1.14.200 dst 10.1.14.199 teid 7777 sw_if_index 4 encap_fib_index 1
fib_entry_index 16 decap_next index 4
sudo vppctl create loopback interface
sudo vppctl set interface ip address loop0 11.9.0.4/16
sudo vppctl ip route 10.1.13.0/24 via gtpu_tunnel1
sudo vppctl set interface state GigabitEthernet0/c/0 up
sudo vppctl set interface state loop0 up
When trying to ping from ubuntu-test machine "ping 11.9.0.4" the VPP#7 just
restarts.
VPP Version: vpp v17.10-release built by jenkins on
ubuntu1604-basebuild-8c-32g-2873 at Thu Oct 26 02:05:09 UTC 2017
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"
dpkg -l | grep vpp
ii vpp 17.10-release amd64 Vector Packet Processing--executables
ii vpp-dev 17.10-release amd64 Vector Packet Processing--development
support
ii vpp-lib 17.10-release amd64 Vector Packet Processing--runtime
libraries
ii vpp-plugins 17.10-release amd64 Vector Packet Processing--runtime
plugins
Any help appreciated.
Pravir Patel
_______________________________________________
vpp-dev mailing list
[email protected]
https://lists.fd.io/mailman/listinfo/vpp-dev