Clearpass WebAuth with Dynamic VLANs
I had a client request a WLAN (Aruba 8.7 wireless controller) that uses a HTTPS captive portal on ClearPass and based on the credentials provided they will be put on to a certain VLAN on the wireless. Normally I would just put everyone on the same VLAN and their access is determined by their assigned role but due to how their web content filter is setup, it uses the users IP subnet to allow certain outbound WAN access. So I can’t do that in this case. I’m worried that the clients will not try to reinitialize DHCP once I send the Radius VLAN change and will keep their original IP. Wondering if anyone has dealt with a configuration like this and if it’s feasible to do.
Posted Sep 21, 2022, 10:06 PM UTC
Can't test this workflow at the moment (and there is probably a different way) but I believe you could do something like adding a custom attribute to the endpoint upon initial authentication that identifies the endpoint for subsequent connections. Then as part of the successful authentication you can send a COA telling the controller/AP to disconnect the client. The client would then reconnect and the Clearpass policy would check to see if your attribute exists and if so would allow the client to skip the portal and would return a vlan and/or role to the controller.
That's a high level suggestion made from my phone while lying in bed so YMMV!
That’s basically my plan. Was just worried the CoA request may not make the client reinitiate DHCP or their device will just disconnect from the SSID and require them to select the SSID manually again. Appreciate the feed back.