Hello, could you please help me to identify routing issue between two VYOS routers.
I’ve been running a laptop lab leveraging VYOS v1.1.7 for a few years now with no issues. I’ve now added a second separate laptop lab leveraging VYOS v1.3.0 and trying to configure routing between both labs to unify them into the same network but so far no luck.
In particular:
Home router 192.168.1.1
eth0 WAN on VYOS1 192.168.1.254
Subnets/Interfaces: 192.168.2.0/24, 192.168.3.0/24, etc
eth0 WAN on VYOS2 192.168.1.253
Subnets/Interfaces: 192.168.5.0/24, 192.168.6.0/24, etc
I am trying to ping from 192.168.2.10 to 192.168.5.10 and fail. Windows firewalls disabled
Configurations are below. I have seen this earlier topic but it doesn’t seem to help
Any pointers are much appreciated!
Version: VyOS 1.1.7
vyos@vyos# show interfaces
ethernet eth0 {
address 192.168.1.254/24
duplex auto
hw-id 00:15:5d:01:6a:2a
smp_affinity auto
speed auto
}
ethernet eth1 {
address 192.168.10.254/24
duplex auto
hw-id 00:15:5d:01:6a:3d
smp_affinity auto
speed auto
}
ethernet eth2 {
address 192.168.2.254/24
description East
duplex auto
hw-id 00:15:5d:01:6a:40
smp_affinity auto
speed auto
}
ethernet eth3 {
address 192.168.3.254/24
description West
duplex auto
hw-id 00:15:5d:01:6a:41
smp_affinity auto
speed auto
}
ethernet eth4 {
address 192.168.4.254/24
duplex auto
hw-id 00:15:5d:01:6a:42
smp_affinity auto
speed auto
}
loopback lo {
}
[edit]
vyos@vyos# show nat
source {
rule 9 {
destination {
address 192.168.5.0/24
}
exclude
outbound-interface eth0
source {
address 192.168.2.0/24
}
}
rule 10 {
outbound-interface eth0
source {
address 192.168.2.0/24
}
translation {
address masquerade
}
}
rule 11 {
outbound-interface eth0
source {
address 192.168.3.0/24
}
translation {
address masquerade
}
}
rule 12 {
outbound-interface eth0
source {
address 192.168.4.0/24
}
translation {
address masquerade
}
}
}
[edit]
vyos@vyos# show protocols
static {
route 192.168.5.0/24 {
next-hop 192.168.1.253 {
}
}
}
Version: VyOS 1.3.0-rc6
vyos@vyos# show int
ethernet eth0 {
address 192.168.1.253/24
hw-id 00:15:5d:01:a0:04
}
ethernet eth1 {
address 192.168.5.253/24
hw-id 00:15:5d:01:a0:05
}
ethernet eth2 {
address 192.168.6.253/24
hw-id 00:15:5d:01:a0:0a
}
loopback lo {
}
[edit]
vyos@vyos# show nat
destination {
}
source {
rule 10 {
outbound-interface eth0
source {
address 192.168.5.0/24
}
translation {
address masquerade
}
}
rule 11 {
outbound-interface eth0
source {
address 192.168.6.0/24
}
translation {
address masquerade
}
}
}
[edit]
vyos@vyos# show prot
static {
route 0.0.0.0/0 {
next-hop 192.168.1.1 {
}
}
route 192.168.2.0/24 {
next-hop 192.168.1.254 {
}
}
}