OPNsense Forum

English Forums => General Discussion => Topic started by: nickelnoff on February 19, 2022, 05:33:44 PM

Title: Unable to get DHCP address on VLAN
Post by: nickelnoff on February 19, 2022, 05:33:44 PM
I have been getting more and more frustrated with trying to get a very basic templated setup working in to which to move a number of different lab environments I have set up.

The setup is basic:
1. single server with single quad 1g quad port running ESXi 7
2. Unifi switches and router

I have setup OPNsense as a VM on ESXi:

WAN Virtual Adapter >> OPNSENSE - WAN Port Group > SECURE vSwitch

(https://i.ibb.co/Hr4TNMM/Screen-Shot-2022-02-19-at-16-56-47.png) (https://ibb.co/8jsgzRR)

LAN Virtual Adapter >> OPSENSE - LAN Port Group > LABS vSwitch

(https://i.ibb.co/n7qXnV7/Screen-Shot-2022-02-19-at-17-04-51.png) (https://ibb.co/m9rnXY9)

On OPNsense I have set up:

LAN :
(https://i.ibb.co/znzbzv8/Screen-Shot-2022-02-19-at-17-21-31.png) (https://ibb.co/FxFJFTs)
WAN  :
(https://i.ibb.co/nctzW7L/Screen-Shot-2022-02-19-at-17-22-55.png) (https://ibb.co/xjdJ417)
OPT1:
(https://i.ibb.co/G33nFkn/Screen-Shot-2022-02-19-at-17-23-59.png) (https://ibb.co/gFFm6wm)

I have enabled DHCPv4 service on OPT1 similar to how it is set up on LAN

I have VM jumpoff.lab.local attached to OPNSENSE - LAN Port Group - this receives DHCP address and network connectivity ok.

I have VM win10-client01.main.test attached to Port Group to vSwitch LABS:

(https://i.ibb.co/zftb2gS/Screen-Shot-2022-02-19-at-17-29-13.png) (https://ibb.co/2KpPMrj)

This win10-client01 does not get any network connectivity.

On Unifi I have setup a VLAN Only network definition for VLAN 100.

Not sure how to get win10-client01 VM working on the network. Any help appreciated.
Title: Re: Unable to get DHCP address on VLAN
Post by: nickelnoff on February 21, 2022, 05:30:19 PM
May I bump? - any hints on how to set up here ?

Mod: Could you please move to General?