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.

Table 1. BGP Neighbors for 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

Table 2. Route Filters for BGP Neighbors for Availability Zone 2

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

-

-

Procedure

  1. On the NSX Manager main navigation bar, click Networking.
  2. In the navigation pane, click Tier-0 gateways.
  3. Select the gateway and from the ellipsis menu, click Edit.
  4. Add the uplink interfaces to the NSX Edge nodes.
    1. Expand BGP and in the BGP neighbors section, click 2.
    2. In the Set BGP neighbors dialog box, click Add BGP neighbor and configure the following settings.

      Setting

      Value

      IP address

      ip_bgp_neighbor1

      BFD

      Deactivated

      Note:

      Activate BFD only if the network supports and is configured for BFD.

      Remote AS

      asn_bgp_neighbor1

      Source addresses Select AZ2 interfaces

      Hold downtime

      12

      Keep alive time

      4

      Password

      bgp_password

    3. In the Route filter section, click Set.
    4. In the Set route filter dialog box, click Add route filter and configure the following settings.

      Setting

      Value

      IP Address Family

      IPV4

      Enabled

      Activated

      Out Filter

      rm-out-az2

      In Filter

      rm-in-az2

      Maximum Routes

      -

    5. Click Add and then click Apply.
  5. Repeat step 4 to configure BGP neighbor ip_bgp_neighbor2and the corresponding route filter.
  6. On the Tier-0 gateway page, click Close editing.