Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
/
How to Configure BGP for Inbound Link Failover
Published Jan 09

How to Configure BGP for Inbound Link Failover

Jan 09, 2026
Subscribe

BGP is used to announce routes to the neighboring networks. If you are using two or more ISPs to connect to the Internet, you can configure BGP to propagate routes for both ISPs to the neighboring networks. The remote BGP service monitors the neighboring connections and automatically chooses the other link when one link goes down. All traffic for your network is then routed over the remaining link.

Before You Begin

Before you configure the BGP service, you need an AS number for your network. AS numbers from 64512 to 65534 and 4,200,000,000 to 4,294,967,295 are reserved for private use.

Step 1. Enable the BGP Service

Create and configure the BGP service.

  1. Create a OSPF/RIP/BGP Service. For more information on how to create a service, see How to Assign Services.

  2. Go to CONFIGURATION > Configuration Tree > Box > Assigned Services > OSPF-RIP-BGP-Service > OSPF/RIP/BGP Settings. 

  3. Click Lock.

  4. From the Run BGP Router list, select yes.

  5. From the Operation Mode list, select advertise-learn.

  6. In the Router ID field, enter the IP address of the router.

  7. Click Send Changes and Activate.

Step 2. Configure the BGP Service

  1. Go to CONFIGURATION > Configuration Tree > Box > Assigned Services > OSPF-RIP-BGP-Service > OSPF/RIP/BGP Settings. 

  2. In the left menu, click on BGP Router Setup.

  3. Enter the AS Number for your network.

  4. In the Terminal Password fields, specify a password for connecting to the BGP router service via telnet from the shell of the Barracuda CloudGen Firewall.

  5. In the Networks table, add the local subnet (e.g., 10.0.0.0/24).

    1. Click the plus sign (+).

    2. Enter a Name for the network and click OK.

    3. In the Network Prefix field, enter the subnet. This is the subnet which is propagated via BGP (e.g., 10.0.0.0/24).

    4. Click OK.

  6. Click Send Changes and Activate.

Step 3. Create a BGP Neighbors for ISP 1 and ISP 2

  1. Go to CONFIGURATION > Configuration Tree > Box > Assigned Services > OSPF-RIP-BGP-Service > OSPF/RIP/BGP Settings. 

  2. In the left menu, click Neighbor Setup IPv4.

  3. Click Lock.

  4. In the Neighbors table, create a BGP neighbor for each ISP:

    1. Click the plus sign (+).

    2. Enter a Name for the ISP (e.g., ISP1bgpNeighbor or ISP2bgpNeighbor).

    3. In the Neighbors window, specify the following settings:

      • Neighbor IPv4 – Enter the IP address of the BGP neighbor (e.g., 192.168.0.1 or 192.168.1.1).

      • OSPF Routing Protocol Usage – Select no.

      • RIP Routing Protocol Usage – Select no.

      • BGP Routing Protocol Usage – Select yes.

      • AS Number – Enter the AS number that is assigned to the BGP neighbor (e.g., 64513 or 64515).

      • Update Source – Select Address. 

      • Update Source IPv4 Address – Enter the IP address that is assigned to the ISP WAN interface.

    4. Click OK.

  5. Click Send Changes and Activate.

Monitoring BGP Routes

To monitor the routes that are learned and propagated by BGP, go to the CONTROL > Network page and click the BGP tab.


We value your feedback.
If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
For general product inquiries or technical support, please contact the global Barracuda Support team.

🔍 Discover Our Product Documentation

Barracuda CloudGen Firewall 8.3 (EoL – Doc maintenance discontinued)
Results will update as you type.
  • Deployment
  • Get Started
  • Network
  • High Availability
  • Licensing
  • Administration
  • Authentication
  • Cloud Integration
  • Assigned Services
  • Services
    • Access Control Service
    • DHCP
    • DNS
    • Dynamic Routing Protocols (OSPF/RIP/BGP)
      • How to Install and Configure the OSPF/RIP/BGP Service
      • How to Configure BGP Router Setup with Optional BFD
      • How to Configure EBGP Multihop Routing
      • How to Configure BGP for Inbound Link Failover
      • How to Configure BGP Routing over an IKEv1 IPsec VPN Tunnel
      • How to Configure BGP Routing over a TINA VPN Tunnel
      • How to Configure Inbound Load Balancing and Link Failover with BGP
      • How to Configure OSPF Routers and Areas
      • How to Configure Network Interfaces for OSPF and RIP
      • How to Configure the Filter Setup for OSPF and RIP
      • How to Configure OSPF Routing over TINA VPN
      • How to Configure RIP Router Setup
    • Firewall
    • HTTP Proxy
    • SIP Proxy
    • URL Filter
    • Virus Scanner
    • VPN
    • Wi-Fi
    • CloudGen Access Proxy
  • Firewall Control Center
  • Barracuda Secure Connector
  • Best Practice
  • Implementation Guides
  • Monitoring and Reporting
  • Maintenance
  • Remote Access Clients
  • Management Interfaces, Tools, and Apps
  • TUFIN Integration API Service
  • Hardware Models
  • REST API

    You‘re viewing this with anonymous access, so some content might be blocked.
    {"serverDuration": 12, "requestCorrelationId": "f0ab0e6a5c3b49489997c46802c1a440"}