I’m having issues with my first VyOS config. I’ve been following along with a known working config, but for some reason it’s not working the same.
do a “route”, I get:
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.1.1 0.0.0.0 UG 20 0 0 eth1
23.1.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
I can ping 192.168.1.1 with no issues, but when pinging 8.8.8.8, I get 100% packet loss.
Config below:
vyos@vyos:~$ show config
interfaces {
ethernet eth0 {
address 23.1.2.1/24
hw-id 00:0c:29:7f:cc:8b
}
ethernet eth1 {
address dhcp
hw-id 00:0c:29:7f:cc:95
}
loopback lo {
}
}
nat {
source {
rule 100 {
outbound-interface eth1
source {
address 23.1.2.0/24
}
translation {
address masquerade
}
}
}
}
protocols {
static {
}
}
service {
ssh {
listen-address 10.23.2.1
listen-address 192.168.1.43
}
}
system {
config-management {
commit-revisions 100
}
console {
device ttyS0 {
speed 115200
}
}
host-name vyos
login {
user vyos {
authentication {
encrypted-password ****************
plaintext-password ****************
}
}
}
ntp {
server 0.pool.ntp.org {
}
server 1.pool.ntp.org {
}
server 2.pool.ntp.org {
}
}
syslog {
global {
facility all {
level info
}
facility protocols {
level debug
}
}
}
}
If anyone has any suggestions, I’d really appreciate it.