Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - blackholesun

#1
I'm only using Unifi APs and their self-hosted controller. There is definitely no DHCP server there. What's really weird is that I will intermittently get an IP address, but no internet access when I connect to the WiFi. And then sometimes I won't get an IP address either
#2
I just tried connecting a wired client to the same VLAN. It seems to be working without issue. I can ping the device between VLANs, and I can `curl https://google.com` from the client on the guest VLAN.

I'm now thinking it has to be either a problem with the AP configuration or with iOS itself. This also happens with my Mac laptop.
#3
I ran the packet capture, and got some results I'm not sure I fully understand. I can definitely see the DHCP requests coming from the client device (iPhone) I am connecting. This time, when I connected the device, I actually got an IP address from DHCP for a few seconds. However no internet access (even though I copied over the same firewall rules from the normal LAN network to the VLAN).

After a few seconds of no internet access, my iPhone disconnected and tried to grab a new IP address, which again is shown in the logs, but this time it failed and I got a self-assigned IP address.
#4
My setup looks like this:

OPNSense Router -> MikroTik Switch -> Netgear PoE Switch -> Unifi APs

I have a Guest VLAN configured with tag 20. An interface has been assigned, and DHCPv4 has been enabled to assign IP addresses between 192.168.20.10 and 192.168.20.245. The APs have also been configured to tag 20 on a Guest SSID. When I connect a device to the wireless network, I can see the MAC address and the correct VLAN tag in the MikroTik switch. However, DHCP does not seem to work and the device gets a self-assigned 169.. IP address.

I have followed numerous articles and videos and I can't seem to find anything else to try at this point. Is there a way I can see if the VLAN tag is getting correctly passed to OPNSense? At this point I'm not sure if it's a problem with my OPNSense configuration or if the VLAN tag is getting stripped at some point.