Hello, I've configured the persistent agent but if there is a mismatch during the re-scan, it places the host into the security state "at risk" and assigns it to the registration VLAN. However since the IP is not renewed, even though the user is now in the registration VLAN, they can still browse as if they are in their previous VLAN (in this case, if the user disconnects and reconnects to the network they will naturally be placing in the registration VLAN). How can I ensure that the persistent agent forces to IP renewing?
Hello,
Please make sure that you have enabled "PA Optimization Enabled(VLAN Switching Optimization with Persistent Agent)" options under "Network--> Inventory-->Switch-->Element Tab".
On the other hand, please also check the below settings.
BRs
The settings are like this. But I noticed all hosts under the SSID name (which VLAN doesn't matter), not under the VLANS like in the image. Thats probably why not working. In the other location with the exactly same settings, thats not working like this, working as expected. How can I solve this, what causes this?
This behavior is not expected under normal conditions. When a host's VLAN is changed, its previous IP address (belonging to a different subnet) should no longer provide network access.
Based on the description, it appears that the CoA/DM is either not being sent or not accepted by the WLC, resulting in the host remaining on the original VLAN/subnet instead of being moved to the remediation VLAN.
After looking around a bit, I thought the setting in the screenshot below might be the cause. The people who originally set up the network infrastructure had defined the VLAN assignment on the AP controller (it's Aruba AP by the way) as static and as a register VLAN for the relevant SSID. Yes, it works this way, but it behaves in the manner I described. Could this be related?
The SSID should support dynamic VLAN assignment via RADIUS. The reasons and an example of configuration for FAP is shown in this article: Technical Tip: A simple deployment including FortiGate/FortiAP (self-registered guest)
Created on 08-11-2025 02:14 AM Edited on 08-11-2025 02:14 AM
I configured the dynamic vlan as in the screenshot before by Tunnel-Private-Group-ID and I can see ids changing from radius logs but if I dont disconnect and connect again the ip never changes. Also I can't see the screen that persistent agent's the "new network paramaters configuring". Maybe this is the problem.
Created on 08-11-2025 11:39 AM Edited on 08-13-2025 02:15 AM
Changin AP settings solved the problem.
You need to check the WLC configuration and its logs to determine why it is not disconnecting the host after receiving a CoA/DM from FNAC.
The agent role is not highly relevant when it comes to VLAN enforcement, it primarily notifies the end user for a needed network change and triggers an IP renewal on the end host (ipconfig /renew) when PA optimization is enabled.
User | Count |
---|---|
2593 | |
1382 | |
800 | |
659 | |
455 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.