To configure both IPv4 and IPv6 BGP peers on the Avi Load Balancer UI:

Procedure

  1. Navigate to Infrastructure > Cloud Resources > VRF Context and select the required cloud from the drop-down menu.
  2. Click the BGP Peering tab and check Enable BGP Peering check box to add the BGP details, routing options, Peers, and community strings.
  3. Specify the IPv4 peer details under IPv4 Prefix and IP4 Peer fields.
  4. Specify the IPv6 peer details under IPv6 Prefix and IPv6 Peer fields.
    • A dual-stack VIP will only be placed on SE if BGP Peers are also dual-stack. Similarly, V4 VIPs will only be placed with V4 Peers and V6 VIPs will be placed with V6 Peers. So if the VIP is dual stack then BGP peers must also be configured as a dual stack and in case VIP is V4/V6 only, then corresponding peers must also be configured as V4 or V6. However, the peer IP/ subnet configured here must not be same as existing BGP dual stack peer as this will lead to a conflict.

    • Currently, V6 IPAM for management networks is not being supported.

  5. Click SAVE to complete the configuration.

Results

Note:

Click ADD to add more peers.

You can configure the peer details using CLI as explained below:

  • IPv4 BGP peer configuration on CLI

  • IPv6 BGP peer configuration on CLI

Note:

Similar to dual stack virtual service, the dual stack peer considered for BGP virtual service placement must have both its IPv4 (peer_ip/ subnet) and IPv6 (peer_ip6/ subnet6) located on the same interface. The IPv6 routes will be advertised over the IPv6 peering, and the IPv4 routes over the IPv4 peering.