You can configure an external or internal Border Gateway Protocol (eBGP or iBGP) connection between a VMware Cloud Director edge gateway backed by NSX that has a dedicated tier-0 gateway and a router in your physical infrastructure.
BGP makes core routing decisions by using a table of IP networks, or prefixes, which designate multiple routes between autonomous systems (AS).
The term BGP speaker refers to a networking device that is running BGP. Two BGP speakers establish a connection before any routing information is exchanged.
The term BGP neighbor refers to a BGP speaker that has established such a connection. After establishing the connection, the devices exchange routes and synchronize their tables. Each device sends keep-alive messages to keep this relationship alive.
- Verify that the system administrator dedicated a tier-0 routerto an edge gateway backed by NSX in your organization.
- Verify that you are an organization administrator or you are assigned a role that includes an equivalent set of rights.
- In the top navigation bar, click Networking and click the Edge Gateways tab.
- Click the edge gateway.
- Under Routing, click BGP and, under Configuration, click Edit.
- Toggle on the Status option to enable BGP.
- Enter an autonomous system (AS) ID number to use for the local AS feature of the protocol.
VMware Cloud Director assigns the local AS number to the edge gateway. The edge gateway advertises this ID when it connects with its BGP neighbors in other autonomous systems.
- From the drop-down menu, select a Graceful Restart Mode option.
Option Description Helper and graceful restart It is not a best practice to enable the graceful restart capability on the edge gateway because the BGP peerings from all gateways are always active.
In case of a failover, the graceful restart capability increases the time a remote neighbor takes to select an alternate tier-0 gateway. This delays BFD-based convergence.Note: The edge gateway configuration applies to all BGP neighbors unless the neighbor-specific configuration overrides it.
Helper only Useful for reducing or eliminating the disruption of traffic associated with routes learned from a neighbor that is capable of graceful restart. The neighbor must be able to preserve its forwarding table while it undergoes a restart. Disable Deactivate graceful restart mode on the edge gateway.
- (Optional) Change the default value for the graceful restart timer.
- (Optional) Change the default value for the stale route timer.
- Toggle on the ECMP option to enable ECMP.
- Click Save.