OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: tryllz on June 27, 2021, 02:31:02 PM

Title: VLAN CentOS not able to receive DHCP IP OPNsense Sub-Interface ?
Post by: tryllz on June 27, 2021, 02:31:02 PM
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)
(https://i.ibb.co/xSdrkKv/ESXiPG.png)

The OPNsense Firewall has 2 vNIC
(https://i.ibb.co/9NkyTzZ/FWNIC.png)

- 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
(https://i.ibb.co/P6yfYb9/COSNIC.png)

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.

(https://i.ibb.co/N27TGpk/COSDHCP.png)

I'm unsure what Im doing wrong here.

Any thoughts ?

Thank You