Hi, I have network bridge consisting of 2 hardware nic's (ports). I would like to set one port as trunk (this works on enp2s0) and the other as access port (for selected vlan on iface enp3s0). Currently both ports/nic work as trunk ports and I can't find solution for above. Traffic reaching this bridge is tagged traffic from VM (opnsense) and my goal is:
How to set it in pve node?
Current config:
- to connect trunk port to switch - like I said it works
- and connect access port directly to device.
How to set it in pve node?
Current config:
Code:
auto lo
iface lo inet loopback
iface enp2s0 inet manual
iface enp1s0 inet manual
iface enp3s0 inet manual
iface enp4s0 inet manual
auto enp3s0.12
iface enp3s0.12 inet manual
#IoT
auto vmbr23
iface vmbr23 inet static
address 172.16.0.11/24
gateway 172.16.0.1
bridge-ports enp2s0 enp3s0.12
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
#LAN trunk
auto vmbr4
iface vmbr4 inet static
address 10.10.10.2/26
bridge-ports enp4s0
bridge-stp off
bridge-fd 0
#extra mgmnt
auto vmbr1
iface vmbr1 inet manual
bridge-ports enp1s0
bridge-stp off
bridge-fd 0
#WAN