Proxmox and Vyos route
192.168.1.1 - LAN Router
Proxmox /etc/network/interfaces
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet dhcp
auto vmbr0
iface vmbr0 inet static
address 10.1.1.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
post-up ip route add 10.10.1.0/24 via 10.1.1.2
auto wlp1s0
iface wlp1s0 inet dhcp
wpa-ssid MY-WIFI-SID
wpa-psk [SecretValue]
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up echo 1 > /proc/sys/net/ipv4/conf/wlp1s0/proxy_arp
auto vmbr10
iface vmbr10 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0
#ip a |grep -w inet | grep -v 127.0.0.1
inet 192.168.1.31/24 brd 192.168.1.255 scope global dynamic wlp1s0
inet 10.1.1.1/24 scope global vmbr0
Vyos is VM :
vyos@vyos:~$ show interfaces | grep -v 127.0.0.1
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address MAC VRF MTU S/L Description
----------- ------------ ----------------- ------- ----- ----- -------------
eth0 10.1.1.2/24 bc:24:11:b4:46:8c default 1500 u/u WAN
eth1 10.10.1.1/24 bc:24:11:12:61:0e default 1500 u/u LAN Router
::1/128
VM in LAN:
# ip a |grep -w inet
inet 127.0.0.1/8 scope host lo
inet 10.10.1.102/24 brd 10.10.1.255 scope global dynamic ens18
# # traceroute 192.168.1.1
traceroute to 192.168.1.1 (192.168.1.1), 30 hops max, 60 byte packets
1 10.10.1.1 (10.10.1.1) 0.332 ms 0.306 ms 0.268 ms
2 10.1.1.1 (10.1.1.1) 0.388 ms 0.364 ms 0.334 ms
3 192.168.1.1 (192.168.1.1) 2.621 ms 2.583 ms 2.548 ms