Advertise VIPs Using 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 VES 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

Step 1: Select the system namespace. Select Manage from the configuration menu and select Networking from the options pane. Select Virtual Network and click Add virtual network.

4
Figure: Create Virtual Network for Inside Network

Step 2: Enter name, labels, and description in the virtual network form. Enter subnet, prefix, and prefix length as per your network planning. Select Site Local Inside for the Network Type field.

Step 3: Repeat Step 1 and Step 2 selecting Site Local Outside for the Network Type field.

6
Figure: Create Virtual Network for Outside Network

Note: Although configuring BGP does not require network connector, you may need to configure network connector to connect inside and outside networks depending on your requirement. For instructions on network connector creation, see Create Network Connetor.


Create Network Interface

Step 1: Select Manage from the configuration menu and select Networks from the options pane. Select Network Interface and click Add network interface.

Step 2: Enter the configuration parameters as per the following guidelines:

  • Configure name, labels, and description.
  • Select ethernetfor the Type field.
  • Enter 1500 as the value for the MTU field.
  • Click Select virtual network and select the inside virtual network created in the Create Virtual Networks chapter.
  • Select enable for the Enable DHCP client and Enable DHCP server fields.
  • Select disable for the Enable Vlan tagging field.
  • Select eth1 for the Device Name field.

    7
    Figure: Network Interface for Inside Network

Step 3: Click Save changes.

Step 4: Repeat steps from Step 1 to Step 3 with the following values:

  • Configure name, labels, and description.
  • Select ethernetfor the Type field.
  • Enter 1500 as the value for the MTU field.
  • Click Select virtual network and select the outside virtual network created in the Create Virtual Networks chapter.
  • Select disable for the Enable DHCP client and Enable DHCP server fields.
  • Select disable for the Enable Vlan tagging field.
  • Select eth0 for the Device Name field.

    9
    Figure: Network Interface for Outside Network


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 inteface for setting the 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 site object.

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

bgp routerid type
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: Selet IPv4 or IPv6 for the Version field. This example uses IPv4 Address. Enter the IPv4 address for the address field.

bgp intf ip
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.

bgp peer cfg
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.

Steo 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 Select network interface in the Intefaces field and select the interfaces for which you want to enable BGP configuration. Click Select network interface to apply the interfaces.

bgp where ni
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 Add BGP to complete creating the BGP instance.


Concepts


API References