Hello everyone,
I have installed a virtual OPNsense and created the following VLANs on the vtnet1 interface:
1 - Mgmt
10 - Private
20 - Lab
The vtnet1 interface is connected to vmbr1 in Proxmox, which in turn is connected to enp4s0. All VLANs are to be forwarded to a switch as a trunk via this interface (eth1) (I have enabled VLAN-aware on vmbr1).
How can I ensure that when I connect a laptop to eth1, for example, its untagged packets are assigned to vlan 1, reach the firewall, and the laptop receives a DHCP address from Opnsense?
Unfortunately, this configuration did not work:
This is my assignment in OPNsense:

I would appreciate any assistance.
EDIT: I also tried it with bridge-pvid 10, but still do not receive a DHCP address.
I have installed a virtual OPNsense and created the following VLANs on the vtnet1 interface:
1 - Mgmt
10 - Private
20 - Lab
The vtnet1 interface is connected to vmbr1 in Proxmox, which in turn is connected to enp4s0. All VLANs are to be forwarded to a switch as a trunk via this interface (eth1) (I have enabled VLAN-aware on vmbr1).
How can I ensure that when I connect a laptop to eth1, for example, its untagged packets are assigned to vlan 1, reach the firewall, and the laptop receives a DHCP address from Opnsense?
Unfortunately, this configuration did not work:
Code:
iface enp4s0 inet manual
auto vmbr1
iface vmbr1 inet manual
bridge-ports enp4s0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
bridge-pvid 1
This is my assignment in OPNsense:

I would appreciate any assistance.
EDIT: I also tried it with bridge-pvid 10, but still do not receive a DHCP address.
Last edited: