Clearpass WebAuth with Dynamic VLANs

Wireless

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

37
lazyjkCWNE•

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!

3
Win_SysOPSPBM•

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.

1
onecrookedeye•

No .1x eap/peap auth SSID ? Wouldn't be an issue then, DHCP would happen after auth.

2
mattGhiker•

Changing vlan with a layer3 auth like captive portal is not recommended.vlan change would depend upon client requesting for ip. I have seen folks trying with a short session timeout but that doesn't work well either. You could try adding Mac caching and enforce vlan in Mac auth.

2
bonkalot•

Doing exactly this, and sending a COA as part of the webauth acceptance is the way to go. (It’s also the method that is used if you use the service templates). Works on both Aruba IAPs and Cisco WLC based networks.

2
Win_SysOPSPBM•

Glad to hear that. Thank you for the feedback!

1
joelmole79•

What kind of web content filter?

1