[Vigor3900] How to establish BGP connection on LAN?

Support Model : Vigor3900Vigor2960Vigor300B
  • Tags :

Border Gateway Protocol (BGP) is a protocol used for exchanging routing information among the routers (autonomous systems).

BGP uses TCP port 179 to exchange messages with other ASs. When the BGP connection is established, routers will exchange their routing information including the full paths to reach each destinations. When a router is advertised the routing information from its neighbors, it can determine the routes by BGP AS numbers(ASN).

BGP is classified into Internal BGP (IBGP) and External BGP (EBGP) by ASN. BGP connection between routers with the same ASN is IBGP, the other is EBGP. The routing information from EBGP will be exchanged to all neighbors in IBGP and EBGP, while the routing information from IGBP will not be exchanged to its neighbors in IBGP.

This document introduces how to set up BGP between a Vigor3900 and a Vigor2960 connected by LAN. Suppose Vigor2960 and Vigor3900 both have three LAN subnets, and we would like the routing information of their LAN subnets to be advertised to each other.

   

Vigor2960 Configuration

1. Go to LAN >> General Setup and add a new LAN profile for connecting to Vigor3900. Type an IP Address (here we use 192.168.1.2), disable DHCP server, and click Apply

   

2. Go to Routing >> BGP Configuration >> BGP Configuration tab:

  1. Check Enable
  2. Enter an unique Autonomous System Number
  3. Add the LAN network that should be advertised to Vigor3900 into Static Networks
  4. Click Apply
   

3. Go to Routing >> BGP Configuration >> Neighbor tab and click Add to add a BGP Neighbor:

  1. Give a profile name and enable it
  2. For Neighbor IP Address, type the IP of the LAN on Vigor3900 that will be connected to Vigor2960
  3. Type the Autonomous System Number of Vigor3900
  4. Enable MD5 Auth for higher security
  5. Click Apply
   

 

 

Vigor3900 BGP Configuration

4. On Vigor3900, go to LAN >> General Setup and add a new profile for connecting to Vigor2960. Use the same VID as the setting in step 1, and type an IP address that shares the same subnet as the IP used in step 1 (here we use 192.168.1.1), disable DHCP server and click Apply .

   

5. Go to Routing >> BGP Configuration >> BGP Configuration tab:

  1. Check Enable
  2. Give an unique Autonomous System Number
  3. Add the LAN network that should be advertised to Vigor2960 into Static Networks
  4. click Apply
   

6. Go to Routing >> BGP Configuration >> Neighbor tab and click Add

  1. Give a profile name and enable it
  2. For Neighbor IP Address, type the IP of the LAN on Vigor2960 which will be physically connected to Vigor3900, which is 192.168.1.2 in this example
  3. Type the Autonomous System Number of Vigor2960
  4. Enable MD5 Auth for higher security
  5. Click Apply
   

 

 

Check BGP connectivity

7. Connect Vigor2960's and Vigor3900's by the LAN we just created. Go to Routing >> BGP Configuration >> Neighbor Status tab, and check if the state is established on the both routers.

   

8. After the BGP connection is established, we can check if the router has learned the routing information from the BGP neighbor by going to Diagnostics >> Routing Table. We should see the routes to Vigor3900's LAN network has been added to Vigor2960's Routing Table automatically.

   

9. If Network Administrator add or delete static network on BGP Configuration page, the routing table of the BGP Neighbor will change accordingly. For example, if we delete a static network on Vigor2960,

   

 The deleted network will be cleared from Vigor3900's Routing Table.

   
Was this article helpful ?
31[Vigor3900] How to establish BGP connection on LAN? has been viewed------ 31 ------times.