VLAN CentOS not able to receive DHCP IP OPNsense Sub-Interface ?

Started by tryllz, June 27, 2021, 02:31:02 PM

Previous topic - Next topic
Hi,

I have an esxi Server with an OPNsense Firewall and a CentOS, both running as VMs.

I have simple network with 2 PortGroups, Trunk (VLAN 4095), and Server PortGroup (VLAN 116)


The OPNsense Firewall has 2 vNIC


- Trunk PortGroup is em0 in OPNsense
- Server PortGroup is em1 in OPNsense
- em1_vlan116 is the Sub-Interface on VLAN116 under em1, and is configured with DHCP.

CentOS is attached to Server PortGroup


CentOS requests DHCP but the request does not reach the Sub-Interface (em1_vlan116) which is configured and instead reaches the main Interface (em1) which is not configured for DHCP.



I'm unsure what Im doing wrong here.

Any thoughts ?

Thank You