After configuring or enabling a health monitor for a virtual service, backend pools are unexpectedly marked down when ICMP is blocked in the environment for the default gateway.
VMware AVI Load Balancer
By default, gateway monitor is enabled, which uses ICMP (ping) requests directed at the default gateway. Upon receiving a successful response, the system marks the default gateway routes as up (GWUp).
If ICMP traffic is blocked by network firewalls or security policies in the environment:
The internal health monitor fails to ping the default gateway.
The default route is not marked as active/up.
As a result, no health monitor will be initiated towards the pool members, hence marking the pool down.
There are 2 ways to fix the issue:
Steps to disable the internal gateway monitor.
[admin:##.##.##.##]: > configure vrfcontext <vrfcontext_name> [admin:##.##.##.##]: vrfcontext> internal_gateway_monitor [admin:##.##.##.##]: vrfcontext:internal_gateway_monitor> disable_gateway_monitor [admin:##.##.##.##]: vrfcontext:internal_gateway_monitor> save [admin:##.##.##.##]: vrfcontext> save
Schedule a maintenance window.
Reboot the affected Service Engine (SE) hosting the virtual service.
Once the SE reboots, the default gateway route will accurately transition to an up (GWUp) status without relying on ICMP traffic, restoring the pool status to green.
show serviceengine <se_name1> route filter vrf_ref <vrf_name>