Netwacky87 Posted December 3, 2020 Posted December 3, 2020 Hi All, Just looking into rolling out UniFi so bought 3 AP-Pro's. Straight swap of existing wifi. I cannot get RAIDUS vlan's to work, it always ends up on the flat network (default vlan) RADIUS is using Smoothwall as is DHCP. Anyone got any pointers? All looks fine but cannot figure it out for the life of me!! Thanks! Edit - using WPA2 works fine, just RADIUS is an issue.
Davit2005 Posted December 3, 2020 Posted December 3, 2020 (edited) Where is the RADIUS server is it on the smoothwall? It should not matter where the DHCP server is as long as the clients can get to it. Last time I did this was on Windows NPS at home and on the unifi you tell it to use the vlan assigned by the radius server. I no longer have the setup at home because it just stopped working, don't know why, spent a bit of time troubleshooting and I couldn't be bothered to set it up again. With Unifi you normally need to tagg for the different vlans for the SSIDs on the port that the AP is plugged into, sorry if you have done this already. Edited December 3, 2020 by Davit2005
howartp Posted December 3, 2020 Posted December 3, 2020 I use UniFi Radius with Windows NPS server and Smoothwall doing DHCP with scopes on each VLAN interface. Set the VLAN in each Wireless Network in the UniFi controller.
FN-GM Posted December 3, 2020 Posted December 3, 2020 I use Unifi with Windows NPS. Works well. One thing to note is you need to add the wireless access points as radius clients.
Netwacky87 Posted December 3, 2020 Author Posted December 3, 2020 Update: So - all working now, took a good couple of hours. Installed controller at v6.0.36 and earlier noticed there was an update so installed v6.0.46. Same issue. It prompted at the top to go back to 'classic settings' so pushed this and there are a lot more options in this GUI. I recreated the Networks and SSID's. It also asked me for the gateway with subnet mask of the network so input this (couldnt do this in the new GUI) and it all came to life!! All working!! Thanks for your help guys!
howartp Posted December 4, 2020 Posted December 4, 2020 I use Unifi with Windows NPS. Works well. One thing to note is you need to add the wireless access points as radius clients. For anyone reading in future, this can be a subnet (eg 192.168.90.0/24) rather than individual AP IP addresses. 1
FN-GM Posted December 4, 2020 Posted December 4, 2020 For anyone reading in future, this can be a subnet (eg 192.168.90.0/24) rather than individual AP IP addresses. Only if you’re using Datacenter Edition https://docs.microsoft.com/en-us/windows-server/networking/technologies/nps/nps-radius-clients-configure Also only do this if you’re separating your access points from general traffic. It isn’t a good idea to open up NPS for devices that are not desired.
howartp Posted December 4, 2020 Posted December 4, 2020 Only if you’re using Datacenter Edition Fair enough, we are so I didn't know that. Also only do this if you’re separating your access points from general traffic. It isn’t a good idea to open up NPS for devices that are not desired. All our APs are on their own VLAN with Smoothwall, Ruckus and Unifi controllers.
FN-GM Posted December 4, 2020 Posted December 4, 2020 All our APs are on their own VLAN with Smoothwall, Ruckus and Unifi controllers. Sounds like ours. We have our radius clients in their own vlan and add the subnets to NPS. Make life much easier.
Davit2005 Posted December 4, 2020 Posted December 4, 2020 Sounds like ours. We have our radius clients in their own vlan and add the subnets to NPS. Make life much easier. We have radius server behind a firewall so allowed the specific vlan in the case where we had 100 Radius clients and then just added the individual clients to the NPS server. I think I had a powershell script somewhere that I used to import the clients into NPS as had to do 120 in one go once. Cannot for the life of me find it at the mo.
Guest Guest Posted December 4, 2020 Posted December 4, 2020 We have radius server behind a firewall so allowed the specific vlan in the case where we had 100 Radius clients and then just added the individual clients to the NPS server. I think I had a powershell script somewhere that I used to import the clients into NPS as had to do 120 in one go once. Cannot for the life of me find it at the mo.Simply use New-NpsRadiusClient with a foreach loop
SpaceInvader83 Posted December 4, 2020 Posted December 4, 2020 Only if you’re using Datacenter Edition https://docs.microsoft.com/en-us/windows-server/networking/technologies/nps/nps-radius-clients-configure Also only do this if you’re separating your access points from general traffic. It isn’t a good idea to open up NPS for devices that are not desired.I'm pretty sure this is no longer the case it being limited to datacenter edition, standard lets you enter IP ranges, this wasn't always the case so I'm not sure when it changed and the documentation is mixed on MS. https://docs.microsoft.com/en-us/windows-server/networking/technologies/nps/nps-top 2
FN-GM Posted December 5, 2020 Posted December 5, 2020 I'm pretty sure this is no longer the case it being limited to datacenter edition, standard lets you enter IP ranges, this wasn't always the case so I'm not sure when it changed and the documentation is mixed on MS. https://docs.microsoft.com/en-us/windows-server/networking/technologies/nps/nps-top Thanks. You would think a company like Microsoft would have this right [emoji849]
howartp Posted December 5, 2020 Posted December 5, 2020 Thanks. You would think a company like Microsoft would have this right [emoji849] That is so fitting with my work this week - how hard can it be to automate OOBE with an answer file that just works?!
_techie_ Posted December 20, 2020 Posted December 20, 2020 You have to tag every VLAN you want to use on each access points port on the switch for traffic to flow, not just the controller. The APs are the RADIUS clients, not the controller. I put my APs on their own VLAN too so that's untagged. Unless you are using the Guest portal feature the controller can be powered off. We leave ours running because of this plus it provides some monitoring. The controller really is a configuration push-er. 1
_techie_ Posted December 20, 2020 Posted December 20, 2020 Oh and standard edition on 2016 supports IP ranges, I have this confirmed and working.
Davit2005 Posted December 21, 2020 Posted December 21, 2020 You have to tag every VLAN you want to use on each access points port on the switch for traffic to flow, not just the controller. The APs are the RADIUS clients, not the controller. I put my APs on their own VLAN too so that's untagged. Unless you are using the Guest portal feature the controller can be powered off. We leave ours running because of this plus it provides some monitoring. The controller really is a configuration push-er. This is the same with a few different vendors that I have worked with including Ruckus, HP MSM. But our Aruba we'd simply add the controllers as the NAS clients as the APs create a tunnel to the controller. Makes it easy when you have 20 odd wireless subnets/vlans and can utilise a pool of vlans instead of specifying so gives a bit of flexibility. 1
FN-GM Posted December 21, 2020 Posted December 21, 2020 This is the same with a few different vendors that I have worked with including Ruckus, HP MSM. But our Aruba we'd simply add the controllers as the NAS clients as the APs create a tunnel to the controller. Makes it easy when you have 20 odd wireless subnets/vlans and can utilise a pool of vlans instead of specifying so gives a bit of flexibility. True. However if the controller goes offline the access points continue to operate as normal. A little bit of extra work during setup makes it worth it I think. 1
_techie_ Posted December 21, 2020 Posted December 21, 2020 Agreed! Have to say, Im impressed so far with the bang for your buck with the Unifi/Ubiquiti system. My only gripe is that the update process for the controller is a bit rubbish, as it installs by default, into the user profile. Is there a way around this using command line/powershell? Cheers.
Davit2005 Posted December 21, 2020 Posted December 21, 2020 True. However if the controller goes offline the access points continue to operate as normal. A little bit of extra work during setup makes it worth it I think. We have 3 controllers in a cluster, TBH without the controller our APs are useless paperweights once they are set as managed, lol. With over 2500 APs across 3/4 sites and upwards of 20k users (normally) 24/7 it works very well for us. 1
computer_expert Posted December 21, 2020 Posted December 21, 2020 Agreed! Have to say, Im impressed so far with the bang for your buck with the Unifi/Ubiquiti system. My only gripe is that the update process for the controller is a bit rubbish, as it installs by default, into the user profile. Is there a way around this using command line/powershell? Cheers. I only ever run it on a ubuntu machine as by default it runs as a service. There are some instructions on geting it running as a service here, but they say it doesn't apply to windows server installs...
FN-GM Posted December 21, 2020 Posted December 21, 2020 Agreed! Have to say, Im impressed so far with the bang for your buck with the Unifi/Ubiquiti system. My only gripe is that the update process for the controller is a bit rubbish, as it installs by default, into the user profile. Is there a way around this using command line/powershell? Cheers. For that reason I installed it on an Ubuntu server. Much better than running it on Windows. I made a guide on here. Just copy and paste the commands and you’re all set. 1
_techie_ Posted December 28, 2020 Posted December 28, 2020 For that reason I installed it on an Ubuntu server. Much better than running it on Windows. I made a guide on here. Just copy and paste the commands and you’re all set. got a link to it?
FN-GM Posted December 29, 2020 Posted December 29, 2020 got a link to it? Here you go mate: http://www.edugeek.net/forums/wireless-networks/214756-how-do-you-do-your-unifi-controller.html#post1837642
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now