Configure BGP in the Tier-0 Gateway for Availability Zone 2
To enable fail-over from availability zone 1 to availability zone 2, you configure BGP
neighbors on the tier-0 gateway in the management or workload domain to be stretched. You add
route filters to configure
localpref
on incoming traffic and prepend of
AS
on outgoing traffic.You configure two BGP neighbors with route
filters for the uplink interfaces in availability zone 2.
Setting | BGP Neighbor 1 | BGP Neighbor 2 |
---|---|---|
IP address | ip_bgp_neighbor1 | ip_bgp_neighbor2 |
BFD | Deactivated | Deactivated |
Remote AS | asn_bgp_neighbor1 | asn_bgp_neighbor2 |
Hold downtime | 12 | 12 |
Keep alive time | 4 | 4 |
Password | bgp_password | bgp_password |
Setting | BGP Neighbor 1 | BGP Neighbor 2 |
---|---|---|
IP Address Family | IPV4 | IPV4 |
Activated | Activated | Activated |
Out Filter | rm-out-az2 | rm-out-az2 |
In Filter | rm-in-az2 | rm-in-az2 |
Maximum Routes | - | - |
- On the NSX Manager main navigation bar, clickNetworking.
- In the navigation pane, clickTier-0 gateways.
- Select the gateway and from the ellipsis menu, clickEdit.
- Add the uplink interfaces to the NSX Edge nodes.
- ExpandBGPand in theBGP neighborssection, click2.
- In theSet BGP neighborsdialog box, clickAdd BGP neighborand configure the following settings.SettingValueIP addressip_bgp_neighbor1BFDDeactivatedActivate BFD only if the network supports and is configured for BFD.Remote ASasn_bgp_neighbor1Source addressesSelect AZ2 interfacesHold downtime12Keep alive time4Passwordbgp_password
- In theRoute filtersection, clickSet.
- In the Set route filter dialog box, clickAdd route filterand configure the following settings.SettingValueIP Address FamilyIPV4EnabledActivatedOut Filterrm-out-az2In Filterrm-in-az2Maximum Routes-
- ClickAddand then clickApply.
- Repeat step 4 to configure BGP neighborip_bgp_neighbor2and the corresponding route filter.
- On theTier-0 gatewaypage, clickClose editing.