Integrating VPP and FRouting


mhemmatp@...
 
Edited

Hello all, 

I am trying to integrate VPP with FRRouting. I have two nodes with the following configuration:

$ git clone https://gerrit.fd.io/r/vppsb
$ git clone https://gerrit.fd.io/r/vpp
$ sudo apt-get install -y python-cffi python-pycparser
$ cd vpp
$ git checkout v18.10
$ ln -sf /home/user1/vppsb/netlink
$ ln -sf /home/user1/vppsb/router
$ ln -sf /home/user1/netlink/netlink.mk build-data/packages/
$ ln -sf /home/user1/router/router.mk build-data/packages/
$ cd build-root/
$ make V=0 PLATFORM=vpp TAG=vpp_debug install-deb netlink-install router-install
$ sudo dpkg -i *.deb
$ sudo cp \
        /vpp/build-root/install-vpp_debug-native/router/lib64/router.so.0.0.0 \
        /usr/lib/vpp_plugins/router.so

$ sudo ip addr flush dev ens33
$ sudo vppctl create host-interface name ens33
$ sudo vppctl set int state host-ens33 up
$ sudo vppctl set int ip addr host-ens33 10.0.10.1/24
$ sudo vppctl enable tap-inject
$ sudo vppctl show tap-inject
   host-ens33 -> vpp0


$ sudo ip addr add 10.0.10.1/24 dev vpp0
$ sudo ip link set dev vpp0 up

$ sudo vtysh
# configure terminal 
# interface vpp0
# router ospf
# network 10.0.10.0/24 area 0
# end
#wr
#q

When I run tcpdump over vpp0 I see the Hello OSPF messages and also I see the VPP counter for host-ens33 is increasing but from other node I don't receive any packet. Is there any missing part in the steps?


Thanks,