NAC · Getting started

FortiNAC-F L2 HA with shared IP (VIP) – which IPs, certificates, PA, RADIUS and isolation DHCP must match on primary and secondary

Fortinet FortiNAC-F 7.6.6 · updated 24 Nov 2026 · 5 min read

The problem

When building a FortiNAC-F Layer 2 HA pair (both nodes on the same management subnet, with a shared/virtual IP), it is unclear which settings must be identical and which must differ:

  • port1, port2 and the isolation/registration/remediation IPs
  • the isolation DHCP scope, and whether Configuration Wizard changes reach the secondary
  • which IP network devices should use for RADIUS, SNMP traps and syslog
  • what the Persistent Agent should point to (shared name or node names)
  • which certificates are needed for the Persistent Agent and Local RADIUS (EAP), and how to get them onto the secondary

Getting these wrong usually shows up only after a failover: RADIUS timeouts, Persistent Agent unable to connect, certificate prompts or failures on 802.1X Wi-Fi, FortiGate polling/CoA failures, or isolated hosts getting no DHCP lease from the secondary.

Supersedes KB260051.

How to fix it

Design summary (L2 HA with VIP)

| Item | Primary | Secondary | Same? |
|---|---|---|---|
| port1 (management) | own IP | own IP | No |
| Shared IP / shared hostname | on port1 of node in control | same | Yes |
| port2 main isolation IP | <port2 IP> | <port2 IP> | Yes, identical |
| port2 registration / remediation / dead-end IPs | as configured | same as primary | Yes, identical |
| Isolation DHCP scope (pool, gateway, DNS, lease, domain) | as configured | same as primary | Yes, identical |

port2 is only up on the node in control, so identical port2 IPs and scopes never clash. Fortinet 7.6 HA guide (Layer 2): "Secondary Server port2 (use same isolation interface IPs as Primary port2)".

1. Isolation DHCP and Configuration Wizard

  • Configuration Wizard settings (port2 IPs, scopes, routes) do NOT synchronize between HA nodes. Make the change on the primary first, then repeat it on the secondary. A restart is required after Configuration Wizard changes – use a change window.
  • Secondary Configuration Wizard with a VIP: from the secondary CLI start the secondary admin service, open https://<secondary port1 IP>:8443 > System > Config Wizard, make the change, then stop the service again, or the UI will not be reachable after failover.
systemctl start nac-secondary-admingui
systemctl stop nac-secondary-admingui
  • Gateway DHCP relay on each isolation VLAN: a single helper to the port2 IP. The "relay to both primary and secondary port2" design applies to L3 HA only.
  • If Rogue DHCP Server Detection is used, both servers must have the same Interface setting.
  • Recommended practice (not Fortinet-documented): DHCP leases are not shared between nodes, so after failover isolated clients get a new lease from the secondary. Keep the isolation lease time short to limit the chance of a duplicate address.

2. RADIUS (network devices)
Use the port1 physical IPs, never the shared IP (Fortinet 7.6 L2 HA: "Do not use the Shared IP address"). Primary node first: the secondary does not answer while not in control, and with a long RADIUS timeout every request would wait for the timeout before falling over.

config user radius
    edit "<FortiNAC>"
        set server "<primary port1 IP>"
        set secondary-server "<secondary port1 IP>"
        set secret <secret>
        set secondary-secret <same secret>
    next
end

3. SNMP, syslog, trusted hosts

  • SNMP traps: send to both port1 physical IPs.
  • FortiGate syslog: syslogd to one node and syslogd2 to the other, with identical filters (for example FortiSwitch MAC_ADD/DEL/MOVE logids and any virus/attack/dns categories). A filter configured only on syslogd stops MAC and security events after failover.
  • FortiGate admin account trusted hosts and SNMP community/v3 hosts: include BOTH port1 IPs, or polling, REST API and CoA fail when the secondary is in control.

4. Persistent Agent
Fortinet FortiNAC-F 7.6 L2 HA guide: "Use the primary and secondary FortiNAC Server Fully Qualified Domain Names (not the Shared name)". Older 8.x guides said to use the shared name; that is superseded.

  • GPO (HKLM\SOFTWARE\Policies\Bradford Networks\Persistent Agent): homeServer = primary FQDN; allowedServers = secondary FQDN; restrictRoaming = 1 if roaming must be limited.
  • Server order used by the agent: SRV records (if present), then lastConnectedServer, homeServer, allowedServers. This is what lets the agent reach the secondary after failover.
  • Optional: SRV records in production DNS, plus A records for both FQDNs:
_bradfordagent._tcp.<domain>  SRV  0  0 443 <primary FQDN>
_bradfordagent._tcp.<domain>  SRV 10  0 443 <secondary FQDN>

5. Certificates (Persistent Agent + Local RADIUS EAP)

  • One certificate for both nodes, same private key, issued by the customer's internal CA (public CAs do not issue for .local names). The PA cannot use a self-signed certificate.
  • CN = shared FQDN. SAN = shared FQDN, primary FQDN, secondary FQDN (the PA validates the node name it connects to).
  • EKU must include Server Authentication (OID 1.3.6.1.5.5.7.3.1); Windows EAP clients reject certificates without it. Upload the full chain.
  • Generate the key and CSR outside FortiNAC (OpenSSL) so the same key can be uploaded to both nodes.
  • Installing on the secondary (7.6.3 and later): System > Certificate Management > Copy Certificate, target node Secondary, from the primary GUI. No failover needed. Before 7.6.3: fail over and upload on the secondary in a maintenance window.
  • After replacing the RADIUS certificate, verify the certificate and full chain are present on both nodes; an incomplete chain breaks WPA2-Enterprise reconnects.
  • Version notes: on 7.6.3/7.6.4 certificates cannot be updated in HA (workaround: remove HA, update each node, re-create HA; fixed in 7.6.5). Upgrading from 7.6.3/7.6.4 removes the secondary's certificates when the nodes use separate certificates – export them first, or use one shared certificate.
  • The Portal certificate is separate and should be publicly trusted for BYOD/guest.
  • Wi-Fi GPO profile, "Connect to these servers": Windows matches the name in the certificate Subject, so it must contain the CN (shared FQDN), or a regular expression covering the node names. Trust the customer root CA in the same profile.

6. Other

  • DNS: A and PTR records for the shared, primary and secondary FQDNs.
  • Admin GUI: through the shared IP/FQDN only; node IPs do not serve the GUI while the VIP is configured.
  • If Winbind is used, set the secondary NetBIOS name and give the secondary internal DNS (a domain join with public DNS fails).

Validate with the secondary in control (forced failover)

  1. 802.1X Wi-Fi connect from a GPO-managed laptop – no certificate prompt.
  2. Persistent Agent check-in.
  3. CoA / dynamic VLAN change.
  4. At-risk host gets an isolation lease (DNS = port2 IP), remediation page loads, host returns to production when compliant.
  5. FortiGate polling, SNMP traps and syslog events arrive on the secondary.

Sources: FortiNAC-F 7.6 High Availability (FortiNAC-OS) – Layer 2; Fortinet Community: ConfigWizard settings do not synchronize between servers; Uploading the secondary node certificate from the Primary GUI (7.6.3+); Unable to update SSL certificate on 7.6.3/7.6.4 in HA; Secondary certificates lost after upgrade; Persistent Agent on Windows (registry keys); Microsoft: Certificate requirements for PEAP and EAP; EAP settings for network access.

Tested on Fortinet FortiNAC-F 7.6.6. Steps can differ on other versions; take a backup and try changes in a maintenance window. Pavak Technologies shares this as general guidance, without warranty.

Ask an engineer

Still stuck with FortiNAC-F?

Ask Pavak's engineers. We reply within one working day.

We use these details only to reply to you. See our privacy notice.