1
22.1 Legacy Series / VLAN and DHCP not working
« on: April 27, 2022, 03:45:34 pm »
Hello,
i'm running a minipc as a router/firewall with OPNsense 22.1.2_2-amd64.
At the moment, i just would like something like this:
OPNSense mini PC <---> igb2_vlan80 : Host1 (VLAN 80)
<---> igb3_vlan20 (VLAN 20)
At the moment, i'm only able to get DHCP working on I_LABO physical interface (igb2). It's working well, my host get the 192.168.80.2 IP and is able to ping the minipc.
When i assign the igb2_vlan80 to the I_LABO interface, DHCP doesn't work anymore. The host doesn't get any ipv4 (only 169.254.x.y).
I created a VLAN like this : parent interface = igb2, tag = 80 and pcp = 0.
This vlan is assigned to the I_LABO interface, activated with Static IP 192.168.80.1/24.
DHCP is enabled for this interface from 192.168.80.2 to 192.168.80.254.
IDS and VLAN HW filtering are disabled.
I don't understand what is missing to get DHCP working with igb2_vlan80 interface ??
Could you help me please ?
Edit : should I configure something related to vlan on the hosts ? i test with W10 and Rapsberry PI4.
i'm running a minipc as a router/firewall with OPNsense 22.1.2_2-amd64.
At the moment, i just would like something like this:
OPNSense mini PC <---> igb2_vlan80 : Host1 (VLAN 80)
<---> igb3_vlan20 (VLAN 20)
At the moment, i'm only able to get DHCP working on I_LABO physical interface (igb2). It's working well, my host get the 192.168.80.2 IP and is able to ping the minipc.
When i assign the igb2_vlan80 to the I_LABO interface, DHCP doesn't work anymore. The host doesn't get any ipv4 (only 169.254.x.y).
I created a VLAN like this : parent interface = igb2, tag = 80 and pcp = 0.
This vlan is assigned to the I_LABO interface, activated with Static IP 192.168.80.1/24.
DHCP is enabled for this interface from 192.168.80.2 to 192.168.80.254.
IDS and VLAN HW filtering are disabled.
I don't understand what is missing to get DHCP working with igb2_vlan80 interface ??
Could you help me please ?
Edit : should I configure something related to vlan on the hosts ? i test with W10 and Rapsberry PI4.

