Static Routes not taking affect


#1

Having another problem on my two VyOS boxes. I’ve set up a static route on router B to have general internet access via router A, but it does not appear to be taking affect. Trying to ping anything on the internet gives a “network is unreachable” error as if there is no route.

vyos@B# sh protocols static route 0.0.0.0/0 { next-hop 37.123.254.67 { distance 3 } } vyos@B# sh ip route S> 0.0.0.0/0 [3/0] via 37.123.254.67, eth5 C>* 37.123.254.66/31 is directly connected, eth5 vyos@B#

Thanks!


#2

‘show ip route’ on both vyos systems.


#3

As requested, routing tables from all involved systems posted here

The far-left system has eth2 connected to eth5 of the centre system. Centre system also has eth4 connected to eth2 of the far-right system. The far-left system has internet access, and the far-right system has the IP (37.123.254.96) that I want to make accessible to the internet.


#4

Ok, right can ping middle on 37.123.254.34. Can right ping left on 37.123.254.67?

From right, what does ‘traceroute 8.8.8.8’ show?


#5

Middle can ping 37.123.254.34 with no problems. Right cannot ping 37.123.254.67, and receives a “Destination host unavailable” from 37.123.254.35

Running a traceroute from right to 8.8.8.8 shows the following:

traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets 1 37.123.254.35 (37.123.254.35) 2997.770 ms !H 2997.695 ms !H 2997.682 ms !H