BGP

Objective

This guide provides instructions on how to configure BGP for your site to advertise the Virtual IP (VIP) routes. The F5® Distributed Cloud Services 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 virtual sites, see Virtual Sites.


Prerequisites

Note: In case you do not have an account, see Create an 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

Features can be viewed, and managed in multiple services.

This example shows BGP setup in Cloud and Edge Sites.

Step 1: Open F5® Distributed Cloud Console > select BGP.
  • Open F5® Distributed Cloud Console homepage, select Cloud and Edge Sites box.

Note: Homepage is role based, and your homepage may look different due to your role customization. Select All Services drop-down menu to discover all options. Customize Settings: Administration > Personal Management > My Account > Edit work domain & skills button > Advanced box > check Work Domain boxes > Save changes button.

NEW HOME PAGE C
Figure: Homepage

Note: Confirm Namespace feature is in correct namespace, drop-down selector located in upper-left corner. Not available in all services.

  • Select Manage in left column menu > select Networking > BGPs.

Note: If options are not showing available, select Show link in Advanced nav options visible in bottom left corner. If needed, select Hide to minimize options from Advanced nav options mode.

  • Select Add BGP button.

ADVANCEDNETWORKING BGP 2
Figure: BGP Common Parameters

Step 2: Customize BGP parameters.
  • Enter Name, enter Labels and Description as needed.

  • Enter ASN number in Common Parameters box.

  • Select Router ID drop-down menu option:

    • From Interface Address: For setting the IP address of the interface on which BGP is being configured as the BGP router ID.

    • From Site: For setting the BGP router ID from the site object.

    • IP Address: For setting the specified IP address as the BGP router ID > Enter IP Address, IPv4 address.

ADVANCEDNETWORKING BGP 3
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.
  • Select Peers, select + Add Item button.

  • Enter Name, enter Description as needed.

  • Enter ASN under Peer Type drop-down.

  • Select Peer Address drop-down menu option:

    • Peer Address > Enter IP Address in Peer Address box, to set the specified IP address as the peer address.

    • Offset From Beginning Of Subnet > Enter IP address in Offset From Beginning of Subnet box, to set the IP address after the offset from the subnet beginning.

    Note: 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.

    • Offset From End of Subnet > Enter IP address in Offset From End of Subnet box, to set the IP address after the offset from the subnet end.

    Note: 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.

    • Address From Site Object: For setting the BGP router ID from site object.

    • Default GateWay: To use the default gateway IP address of the interface as the peer address.

  • Select Peer Interface(s) drop-down menu option:

    • Interface > select Interface drop-down menu to select an existing interface, or select Create new network interface to create and apply a new interface, to apply a specific network interface

    • Interface List > select Interface drop-down menu to select an existing interface or select Create new network interface to create and apply a new interface, to apply a list of interfaces.

      Note: Use the + Add item option to add more peers or interfaces.

  • Select Add Item blue button located at bottom of page to finish configuring BGP peers.

BGP 4
BGP Peer Configuration

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

Step 4: Apply BGP configuration location.
  • Select Direct/Selector Reference drop-down menu option in Where section:

    • Site

    • Virtual Site

  • Select Site in Reference drop-down menu to select your sites or virtual site where you intend to apply the BGP configuration.

ADVANCEDNETWORKING BGP 5
BGP Peer 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.

Select Save and Exit button to complete creating your BGP instance.


Concepts


API References