I have an OpenWrt home router at the front of my network with my Proxmox host connected directly as such:
OpenWrt-LAN4 --> Proxmox-LAN1
On my proxmox host I have LAN1 configured as a trunk port carrying VLANs 10, 20, 30, 40, 99:
The config above allows me to connect my 3D printer to LAN2 port of my Proxmox host and it gets its reserved ip address in the VLAN.20 IOT segment of my network as it should.
However, I am not sure what to do if I wanted to connect additional computers / devices / etc. to LAN ports 3-6 on my Proxmox host and have them also pick up ip's on my VLAN.20 segment, since Proxmox only permits making vmbr0.20 a slave to a single other interface.
What am I missing?
OpenWrt-LAN4 --> Proxmox-LAN1
On my proxmox host I have LAN1 configured as a trunk port carrying VLANs 10, 20, 30, 40, 99:
Code:
auto lo
iface lo inet loopback
auto enp1s0
iface enp1s0 inet manual
#LAN1 - TRUNK PORT
auto enp2s0
iface enp2s0 inet manual
#LAN2 - 3D PRINTER
iface enp3s0 inet manual
#LAN3 - NOT CONNECTED
iface enp4s0 inet manual
#LAN4 - NOT CONNECTED
iface enp5s0 inet manual
#LAN5 - NOT CONNECTED
iface enp6s0 inet manual
#LAN6 - NOT CONNECTED
iface wlp7s0 inet manual
auto enp2s0.20
iface enp2s0.20 inet manual
auto vmbr0
iface vmbr0 inet manual
bridge-ports enp1s0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 10-99
#TRUNK BRIDGE
auto vmbr0.10
iface vmbr0.10 inet dhcp
hwaddress ether 20:90:27:E0:48:10
#LAN_VLAN.10
auto vmbr0.20
iface vmbr0.20 inet dhcp
hwaddress ether 20:90:27:E0:48:20
#IOT_VLAN.20
auto vmbr0.30
iface vmbr0.30 inet dhcp
hwaddress ether 20:90:27:E0:48:30
#GUEST_VLAN.30
auto vmbr0.40
iface vmbr0.40 inet static
address 10.10.40.40/24
gateway 10.10.40.1
hwaddress ether 20:90:27:E0:48:40
#LAB_VLAN.40
auto vmbr0.99
iface vmbr0.99 inet dhcp
hwaddress ether 20:90:27:E0:48:99
#MAN_VLAN.99
auto vmbr2
iface vmbr2 inet manual
bridge-ports enp2s0 vmbr0.20
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 10-99
source /etc/network/interfaces.d/*
The config above allows me to connect my 3D printer to LAN2 port of my Proxmox host and it gets its reserved ip address in the VLAN.20 IOT segment of my network as it should.
However, I am not sure what to do if I wanted to connect additional computers / devices / etc. to LAN ports 3-6 on my Proxmox host and have them also pick up ip's on my VLAN.20 segment, since Proxmox only permits making vmbr0.20 a slave to a single other interface.
What am I missing?