Employee Wifi via Unifi and DHCP Relay not working correctly

Over the weekend I replaced a Sonicwall TZ570 with a Unifi Dream Machine Pro Max. And I replaced Aruba switches with Unifi switches. So now I have a full Unifi stack including U6 Pro APs.

I have 2 wifi networks setup for our office. The Guest wifi works as it should. The Employee wifi has an issue where the devices can connect to it but there is no internet and Windows devices show the network as public.

I set the Employee Wifi to use the LAN network. And the LAN network is set to relay DHCP to a Windows server on the LAN. This is working great for wired connections.

For wifi connections, the Client Devices screen shows the device receiving a LAN ip address and it is an IP address that is free in the Windows DHCP server.

But the DHCP server doesn’t show the device as leased. The device doesn’t show the IP address.

Any idea what settings I need to check to fix this?

I have not tested UniFi DCHP relaying but, If the employees are connecting to the Windows server then why wouldn’t you have the Windows server have a NIC/IP in that same subnet?

The Windows server IP is in the same subnet. I tested None and it didn’t work.

I actually got this fixed last night and forgot to update.

I had configured the default network to not be used and was using a VLAN 3 for my LAN.

I thought if I configured the ports to use VLAN 3 as the native VLAN everything would work. It worked for wired traffic but the wifi traffic was not seeing the DHCP server in the same subnet. No idea why.

When I switched the LAN to the default network, everything started working as it should with DHCP relaying.

1 Like

wait… I have two questions:

  • Did/do you have your guest wifi network setup to use VLAN 3? Personally, I don’t like using VLAN 1 since it’s the default on almost all managed gear - it’s “bad practice” (yeah yeah, I know, I’m being ‘that guy’)
  • Why are you using DHCP Relay if you have the DHCP Server connected to the same L2 as the DHCP Clients? There wouldn’t be any need to use Relay, unless I’m missing something here.

The guest wifi network uses a different VLAN and uses a DHCP server on the Dream Machine. The wifi network I had an issue with is the employee wifi which was set to VLAN 3.

And I agree with trying not to use the VLAN 1. That is how I originally set it up and ran into these problems.

About using DHCP relay, I tried setting it up with None and the connection didn’t work either for VLAN 3 and the employee wifi. Maybe I had the network setup wrong from all my testing I couldn’t find a setting that fixed it. When using the Sonicwall, I needed to setup an IP Helper to relay the DHCP requests to the Windows Server for the LAN network (VLAN 3). Again maybe the wrong thought process, but that made me think I needed to use DHCP Relay to get it to work.

Gotcha. Perhaps a diagram would be helpful haha.
Yeah, Relay isn’t needed unless the DHCP server isn’t on the same L2.