172.###.###.15172.###.###.14Enter the VRF of the Tier-0 SR on the second Edge node:> get logical-routers> vrf 1> get route
t0c> * 172.###.###.0/25 is directly connected, uplink-###, 03w0d00hisr> * 172.###.###.15/32 [200/0] via 169.254.0.###, inter-sr-###, 03w0d00hisr> * 172.###.###.14/32 [200/0] via 169.254.0.###, inter-sr-###, 03w0d00h
We see that the /32 address of the BGP peers are being advertised to the Edge nodes by the Top-of-Rack switch and that the second Edge is learning the /32 route via the first Edge (inter-sr), even though there is a /25 advertised to the uplink that is directly connected.
Note: The preceding entries are only examples. Make sure that there is a broader prefix being advertised that includes the BGP peers. In this example a /25.VMware NSX
The BGP peer IP addresses are being advertised as /32 prefix routes.
In networking, a /32 is the most specific route possible and takes precedence over broader prefixes (such as the /25 subnet typically assigned to the uplink VLAN).
When iBGP is enabled between Edge nodes, Edge2 may learn the /32 route for the ToR neighbor via Edge1. Because the /32 is more preferred than the /25 advertised by the ToR on the local uplink, Edge2 attempts to reach the BGP peer by hair-pinning traffic through Edge1 instead of exiting its own physical interface.
To resolve this issue, you must prevent the /32 BGP peer routes from being learned or preferred via the inter-sr VRF by applying a prefix list to deny these specific routes. This can be done on the ToR or on the Tier-0 Gateway.
get route in the Tier-0 SR VRF.get bgp neighbor summary