OPNsense Forum

English Forums => General Discussion => Topic started by: scrensen on February 09, 2018, 10:32:29 pm

Title: opnsense box with unifi AP setup
Post by: scrensen on February 09, 2018, 10:32:29 pm
Hi all,

I have a question. I would like to know if my setup is correct.

Reason for asking is because I recently changed a few things, but now I have intermittent connectivity issues when connected via wifi. And I didn't have these issues before the changes. And now I can't find the cause.

I bought a appliance with opnsense pre-installed. It has 6 Gb ports.

What I want is a LAN (containing both wired as well as wireless connected devices), a VLAN for IoT devices and a VLAN for Wifi guests.

My setup is as follows:

Cablemodem (bridge modus)
            |
OPNSENSE appliance
            |
Several devices

Port2 on my opnsense box acts as the WAN port and receives a public IP (DHCP) from my provider.

On ports 3-6 I have several devices connected, like a NAS, DTV device etc. On port 1 I have a Unifi wifi AP connected.

Now I have created a bridge interface, containing interfaces 1,3,4,5 and 6 for the LAN. That bridge has a fixed private IP and I have DCHP server setup on this interface.

Because I want to have 3 separate wifi networks, I have created 2 VLAN's with parent interface port 1 (to which the unifi is connected). Both VLAN's have a fixed private IP and DHCP servers are setup.

On the unifi I have 3 wifi networks; wifi, wifi-iot tagged with VLAN1 and wifi-guest is tagged with VLAN2.

I think this should work, but as said I'm experiencing intermittent connectivity issues on wifi.

If there is someone that could just think with me here and maybe has some remarks then that would be highly appreciated !

Thanks in advance

Sven
Title: Re: opnsense box with unifi AP setup
Post by: youngman on March 03, 2018, 03:06:37 pm
Zombie thread - and I really hope you have this sorted by now, but just for anyone else who has found this thread while searching for "Unifi" and "intermittent connectivity issues", trial setting U-APSD (Unscheduled Automatic Power Save Delivery) to OFF (In the Unifi Controller).

Can't believe the hoops I jumped through thinking my OPN system setup was somehow flawed - just to find that it was that one $#%^& switch causing all the issues. My wireless is rock solid now 8)

Good luck.
Title: Re: opnsense box with unifi AP setup
Post by: Ciprian on March 05, 2018, 09:08:38 am
Thanks a lot for clarifying this, youngman! :)

You have my applause/ karma...
Title: Re: opnsense box with unifi AP setup
Post by: athurdent on March 11, 2018, 08:58:00 am
Can't believe the hoops I jumped through thinking my OPN system setup was somehow flawed - just to find that it was that one $#%^& switch causing all the issues. My wireless is rock solid now 8)

Good to hear, but isn‘t that switch off in the default settings when creating a new SSID? At least with my controller version it is...
Title: Re: opnsense box with unifi AP setup
Post by: youngman on March 18, 2018, 12:18:36 pm
Good to hear, but isn‘t that switch off in the default settings when creating a new SSID? At least with my controller version it is...


Version 5.6.30 appears to default off when creating a new SSID.

With any luck that remains the case going forward but I'm fairly certain it was on by default when I swapped out my old Unifi Controller VM (UBNT provided waaay back - was BSD based if I recall correctly) with a new vanilla Ubuntu Server VM, that I then installed their linux controller on... have been a few controller updates since then though!