I am following this VPP tutorial using 17.10-rc2.
     https://wiki.fd.io/view/VPP/Progressive_VPP_Tutorial

All works well, until I reached  "7 Exercise: Routing
<https://wiki.fd.io/view/VPP/Progressive_VPP_Tutorial#Exercise:_Routing> "
      https://wiki.fd.io/view/VPP/Progressive_VPP_Tutorial#Exercise:_Routing

After the required setup, I was not able to "ping from host through vpp1 to
vpp2" and not able to "ping from vpp2 through vpp1 to host".

Any idea where I may be wrong?

On host, I can ping 10.10.2.1, but ping 10.10.2.2 failed. This does not
seem right.

John



# vppctl -s /run/vpp/vpp1.sock show int addr
host-vpp1out (up):
  10.10.1.2/24
host-vpp1vpp2 (up):
  10.10.2.1/24
local0 (dn):
# vppctl -s /run/vpp/vpp2.sock show int addr
host-vpp2vpp1 (up):
  10.10.2.2/24
local0 (dn):
# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
DEFAULT qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ens160: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
mode DEFAULT qlen 1000
    link/ether 00:0c:29:8d:b2:d3 brd ff:ff:ff:ff:ff:ff
4: vpp1host@vpp1out: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
noqueue state UP mode DEFAULT qlen 1000
    link/ether ae:e1:59:1f:da:45 brd ff:ff:ff:ff:ff:ff
5: vpp1out@vpp1host: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
noqueue state UP mode DEFAULT qlen 1000
    link/ether 8a:80:3e:7f:77:11 brd ff:ff:ff:ff:ff:ff
6: vpp2vpp1@vpp1vpp2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
noqueue state UP mode DEFAULT qlen 1000
    link/ether f6:b9:26:74:30:13 brd ff:ff:ff:ff:ff:ff
7: vpp1vpp2@vpp2vpp1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
noqueue state UP mode DEFAULT qlen 1000
    link/ether ce:45:f6:37:ba:bd brd ff:ff:ff:ff:ff:ff

# ip route
default via 10.145.207.1 dev ens160  proto static  metric 100
10.10.1.0/24 dev vpp1host  proto kernel  scope link  src 10.10.1.1
10.10.2.0/24 via 10.10.1.2 dev vpp1host
10.145.207.0/24 dev ens160  proto kernel  scope link  src 10.145.207.167
metric 100

[image: Inline image 1]
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to