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.


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

Perform the following steps to create BGP object in VoltConsole:

Step 1:Navigate to BGP configuration and start creating a BGP object.
  • Select the system namespace on the namespace selector. Select Manage from the configuration menu and select Networking from the options pane. Select BGP and click Add BGP.
  • Enter a name for the BGP object in the metadata section. Optionally, set labels as per your requirement.
Step 2:Configure common parameters section.
  • Enter ASN number for the ASN field.
  • Select a value for the Router ID field as per the following guidelines:

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

bgp cp
Figure: BGP Common Parameters

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 3:Configure BGP peers.

Do the following in the Peers section:

  • Enter a name for the peer in the Name field of the peer metadata section.
  • Enter ASN number for the ASN field.
  • Select one of the available values for the Peer Address field and enter associated configuration as per the following guidelines:

    • Select Peer Address to set the specified IP address as the peer address. Enter an IP address in the Peer Address field.
    • Select Offset From Beginning Of 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.
    • Select Address From Site Object for setting the BGP router ID from site object.
    • Select Default GateWay to use the default gateway IP address of the interface as the peer address.

This example sets the peer address using the Peer Address option.

  • Select one of the available values for the Peer Interface(s) field and enter associated configuration as per the following guidelines:

    • Select Interface to apply a specific network interface. Click on the Interface field to select an existing interface or click Create new network interface to create and apply a new interface.
    • Select Interface List to apply a list of interfaces. Click on the Interface field to select an existing interface or click Create new network interface to create and apply a new interface. Use the Add item option to add more interfaces.

peer cfg
BGP Peer Configuration

Note: You can add more peers using the Add item option.

Step 4:Specify where to apply the BGP configuration.

Do the following in the Where section:

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

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

Step 5: Complete creating the BGP object.

Click Save and Exit to complete creating the BGP instance.


Concepts


API References