admin@vyos:~$ show ip route 192.168.5.17 Routing entry for 192.168.5.16/29 Known via "bgp", distance 200, metric 1, best Last update 00:22:32 ago * 192.168.1.3 (recursive is directly connected, pppoe0) admin@vyos:~$ show ip route 192.168.1.3 Routing entry for 192.168.1.3/32 Known via "ospf", distance 110, metric 30, best Last update 00:22:51 ago * 192.168.1.66, via tun0 admin@vyos:~$ show ip bgp neighbors 192.168.1.2 received-routes BGP table version is 0, local router ID is 192.168.1.1 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale, R Removed Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 192.168.5.16/29 192.168.1.3 1 100 0 ? Total number of prefixes 1 admin@vyos:~$ show ip ospf route ============ OSPF network routing table ============ N 192.168.1.1/32 [10] area: 0.0.0.0 directly attached to lo N 192.168.1.2/32 [20] area: 0.0.0.0 via 192.168.1.66, tun0 N 192.168.1.3/32 [30] area: 0.0.0.0 via 192.168.1.66, tun0 N 192.168.1.64/30 [10] area: 0.0.0.0 directly attached to tun0 N 192.168.1.72/30 [20] area: 0.0.0.0 via 192.168.1.66, tun0 ============ OSPF router routing table ============= R 192.168.1.2 [10] area: 0.0.0.0, ASBR via 192.168.1.66, tun0 R 192.168.1.3 [20] area: 0.0.0.0, ASBR via 192.168.1.66, tun0 ============ OSPF external routing table ===========
tcpdump confirms traffic is forwarded to pppoe0