Cant route from one subnet to another


#1

Hi -

I am testing some routing for a project and have a odd problem. First time with vyos

It seems vyos does not want to route out to subnets in my 10.x network.

I have 192.168.1.1/24 on eth0
I have 10.10.0.1/24 on eth1
I have static route 0.0.0.0/0 going to 192.168.1.2

internet pings ok
client from 10.10.18.50 network can ping the server at 10.10.0.18 OK across the vyos router
Server from 10.10.0.18 cannot ping client 10.10.18.50

Traceroute from server shows TTL expired from 192.168.1.1.

Infact any 10.10.x.x network loops around as if Vyos thinks its got that network in it.

I’ve set the static with the distance 1

anything I can check? Its perplexing that the client cant ping ok, so vyos knows the path coming in from 192.168.1.2

Thanks


#2

Can you post an ‘ip r l’ please?