nsxcli -c get service nsx-cfgagent cache-table l2 remote | grep -B 2 -A 2 "VIP IP"UUID LOG_SWITCH_FIB 1 L2_VM_IP None { "mac": "MAC1", <<< Old VIP owner "ip": "VIP",UUID LOG_SWITCH_FIB 1 L2_VM_IP None { "mac": "MAC2", <<< Current VIP owner "ip": "VIP"VMware NSX
The default IP discovery profile has Trust On First Use (TOFU) enabled.
TOFU will keep the initial IP-MAC-Port binding and will assume that it will never expire.
TOFU is not suited for VM HA use cases, as the cluster IP will be reassigned when a standby VM becomes active.
In addition, VMware tools based IP discovery will check IP configuration inside the VM but does not confirm if the IP is actively being used.
It may discover the cluster IP from a standby VM that is not actively using it. As discovered IP addresses are used for NSX L2 forwarding and security features, using the default profile in such scenarios (VM HA) can result in traffic outage.
Some clustering software may ahve the cluster VIP still active for a short period of time on the standby node post failover. This results in a duplicate IP address.
This may be seen on all NSX versions and is a configuration issue.
Workaround:
1. On the NSX UI, Networking > Segments > Segment Profiles, create a new IP Discovery Profile with the following settings
2. Edit the segment and apply the new IP Discovery Profile
3. 3rd party load balancer VMs should be added to the DFW exclusion list