BGP

Objective

This guide provides instructions on how to configure BGP for your site to advertise the Virtual IP (VIP) routes. The Volterra platform supports BGP along with the virtual site functionality to enable BGP peering for a large number of sites with ease and reduced complexity.

To know more about Volterra virtual site, see Virtual Site.

Note: The Volterra BGP instance is not supported to function in passive mode. It only functions in active mode and initiates TCP connections with peers.


Prerequisites

Note: In case you do not have an account, see Create a Volterra Account.

  • One or more registered sites in the enterprise tenant.

Note: If you do not have a registered site, see How-to Create a Site.


Configuration

The following figure shows the sequence of steps in enabling BGP for a site to publish VIP routes:

conf seq
Figure: BGP Configuration Flow

Configuration Sequence

Enabling BGP to publish routes includes performing the following sequence of actions:

Phase Description
Create Virtual Networks Create virtual networks representing inside and outside networks.
Create Network Interface Create network interfaces for the inside and outside networks.
Create BGP Instance Create a BGP Object and configure properties such as peers.

Create Virtual Networks

Follow the instructions in the Create Virtual Networks document and create the required virtual networks.


Create Network Interface

Follow the instructions in the Interfaces document and create the required interfaces.


Create BGP Instance

Step 1: Select the system namespace. Select Manage from the configuration menu and select Networking from the options pane. Select BGP and click Add BGP.

Step 2: Enter a name for the BGP object. Optionally, set labels as per your requirement. Enter ASN number for the ASN field.

Step 3: Select a value for the Router ID Type field as per the following guidelines:

  • Select From interface for setting the IP address of the interface on which BGP is being configured as the BGP router ID.
  • Select From IP Address for setting the specified IP address as the BGP router ID.
  • Select From Site for setting the BGP router ID from the site object.

This example sets the IP address of the interface as the BGP router ID.

image4 new
Figure: BGP Router ID Type

Note: If you select the From Site option, ensure that you set the BGP Router ID field in the site configuration. You can find your site from the Sites->Site List and edit the site using the ...->Edit option.

Step 4: Select IPv4 or IPv6 for the Version field. This example uses IPv4 Address. Enter the IPv4 address for the address field.

image2 new
Figure: BGP Interface IP Configuration

Step 5: Click Add bgp peer in the Peers field and set the Peer Address Type as per the following guidelines.

  • Select From Default GW to use the default gateway IP address of the interface as the peer address.
  • Select From IP Address to set the specified IP address as the peer address. Enter a version for the Version field and accordingly enter the IP address.
  • Select From Site for setting the BGP router ID from site object.
  • Select Offset from the beginning of the subnet to set the IP address after the offset from the subnet beginning. For example, if 10.10.10.0/24 is the subnet and offset is specified as 5, then the peer address is set as 10.10.10.5.
  • Select Offset from the end of the subnet to set the IP address after the offset from the subnet end. For example, if 10.10.10.0/24 is the subnet and offset is specified as 5, then the peer address is set as 10.10.10.250.

This example sets the peer address using the From IP Address option.

image1 new
Figure: BGP Peer Configuration

Note: If you select the From Site option, ensure that you set the BGP Peer Address field in the site configuration. You can find your site from the Sites->Site List and edit the site using the ...->Edit option.

Step 6: Optionally, enter the rest of the peer configuration as per the following guidelines:

  • Enter the port number in the Peer Port field. If you do not set, the system uses 179 as the default port.
  • Enter an offset value for the Peer Subnet Offset field if you select Offset from the beginning of the subnet or Offset from the end of the subnet for the Peer Address Type field.

Note: You can create more than one peer using the Add bgp peer option.

Step 7: Select Site or Virtual Site for the Direct/Selector Reference field. Click Select ref and select your sites or virtual site where you intend to apply this BGP configuration.

Step 8: Select a value for the Network Type as per your requirement. This example sets the network type as Site Local Network.

Note: For more information on the type of networks in Volterra, see Networking.

Step 9: Click Edit in the Interfaces field and select the interfaces for which you want to enable BGP configuration. Click Select network interface to apply the interfaces.

image5 new
Figure: BGP Site and Interface Configuration

Note: To enable BGP for a number of sites simultaneously, set the Peer Address Type field to From Default GW and set the Direct/Selector Reference field to Virtual Site.

Step 10: Click Save and Exit to complete creating the BGP instance.


Concepts


API References