| Description | This article describes a possible issue when healthcheck is configured for a Virtual server load-balancing type, where real servers are on the same IP address. |
| Scope | FortiOS. |
| Solution |
When the Virtual server is configured with real servers that have the same IP, but are just differentiated by port, adding a health check for these servers might result in unexpected behavior.
Example configuration of the Virtual server:
config firewall vip
In case one of the real servers stops responding, and the healthcheck debug output shows correctly that only realserver 2 is down:
FGT# diagnose firewall vip realserver healthcheck stats show
The status of both real servers will be the same, depending on the later update from the healthcheck, for example:
FGT# diagnose firewall vip realserver list
The reason is that the Virtual IP tracks server status only by IP address. When multiple real servers share the same IP (even with different ports), they will share the same status.
Solution 1: Do not use health-check.
Solution 2: Use a unique IP address for each real server.
Related article: |
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 2026 Fortinet, Inc. All Rights Reserved.