newbie here and looking for some guidance on a issue Im facing with my setup.
Im setting up a vyos router in my vmware workstation.
vyos@VYOSRouter:~$ sh interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address S/L Description
eth0 192.168.239.130/24 u/u NAT-extAccess
eth1 10.10.1.1/24 u/u vmnet10
eth2 10.10.2.1/24 u/u vmnet20
eth3 10.10.3.1/24 u/u vmnet30
lo 127.0.0.1/8 u/u
::1/128
Can Ping from external to all subnets.
Cannot Ping from 10.10.1.x subnet to 10.10.2.1
Cannot Ping from 10.10.1.x subnet to 192.168.239.x
Cannot Ping from 10.10.2.x subnet to 192.168.239.x
Do I need to create any routes for these subnets ?
Form where do you initiate the icmp echo requests? The destination also have to know the way back to the origin, otherwise it will send it to ‘default gw’. Clients behind 10.10.1.1 should in any case get a respose from 10.10.(2|3).1 as well as from 192.168.239.130 if they have as gateway 10.10.1.1 set. Do you have any fw rules set yet?
the client in 10.10.1.x subnet has default gateway set as 10.10.1.1 which is the ip of the eth1 interface on vyos. When I initiate a ping from 10.10.1.x to 10.10.1.1 i get a response. But anyother vyos eth interface or other clients in other subnets are not pingable from 10.10.1.x
Same is the case for the 10.10.2.x subnet as well.
in the vyos router each of the eth interfaces can ping each other. As I understan it, since all 3 subnets are directly connected to the vyos router I should be able to ping across any client in any one of those subnets without any static routes or forwarding rules. Is that a correct understanding or do I need additional configurations… Thanks