Hello,
I have setup with
- two VMs (OpenWRT router and Windows10)
- two physical NICs (LAN and WAN for OpenWRT, this LAN port also used to add more devices to LAN)
What I would like to achive is that my Proxmox host traffic is routed through OpenWRT LAN, so I can manage host from LAN.
I have tried following setup which works fine for LAN and WAN: OpenWRT is connected to Internet, Win10 VM can access LAN & Internet through OpenWRT.
Also laptop connected to LAN NIC is able to access OpenWRT and Internet. Great!
But I can't access host from OpenWRT or OpenWRT from host, so the question is: how to make host part of the LAN? What I have tried is bridging vmbr0 and vmbr1 but it always breaks LAN somehow.
I have setup with
- two VMs (OpenWRT router and Windows10)
- two physical NICs (LAN and WAN for OpenWRT, this LAN port also used to add more devices to LAN)
What I would like to achive is that my Proxmox host traffic is routed through OpenWRT LAN, so I can manage host from LAN.
I have tried following setup which works fine for LAN and WAN: OpenWRT is connected to Internet, Win10 VM can access LAN & Internet through OpenWRT.
Also laptop connected to LAN NIC is able to access OpenWRT and Internet. Great!
But I can't access host from OpenWRT or OpenWRT from host, so the question is: how to make host part of the LAN? What I have tried is bridging vmbr0 and vmbr1 but it always breaks LAN somehow.
Code:
auto lo
iface lo inet loopback
iface enp9s0 inet manual
#I211LAN
iface eno1 inet manual
#I219 WAN
auto vmbr0
iface vmbr0 inet static
address 192.168.1.9
netmask 24
gateway 192.168.1.1
bridge-ports none
bridge-stp off
bridge-fd 0
# HOW TO MAKE THIS PART OF LAN? STATIC OR DHCP
auto vmbr1
iface vmbr1 inet manual
bridge-ports enp9s0
bridge-stp off
bridge-fd 0
#LAN for OpenWRT & Win10
auto vmbr2
iface vmbr2 inet manual
bridge-ports eno1
bridge-stp off
bridge-fd 0
#WAN for OpenWRT