0% found this document useful (0 votes)
68 views7 pages

I-Bgp Using Full Mesh Neighborship & BGP Split Horizon Rule: Assign The Basic IP Addressing As Per The Routers!

The document describes configuring I-BGP using full mesh neighborship and addressing the BGP split horizon rule. It assigns IP addresses to interfaces on routers R-1 through R-4 and configures I-BGP with a full mesh of neighbors to allow all routes to be learned. Without the full mesh, some routes were not being shared due to the split horizon rule, which prevents an update from being sent back to the neighbor it was received from. Configuring a full mesh neighborship addressed this issue.

Uploaded by

tabassi199
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views7 pages

I-Bgp Using Full Mesh Neighborship & BGP Split Horizon Rule: Assign The Basic IP Addressing As Per The Routers!

The document describes configuring I-BGP using full mesh neighborship and addressing the BGP split horizon rule. It assigns IP addresses to interfaces on routers R-1 through R-4 and configures I-BGP with a full mesh of neighbors to allow all routes to be learned. Without the full mesh, some routes were not being shared due to the split horizon rule, which prevents an update from being sent back to the neighbor it was received from. Configuring a full mesh neighborship addressed this issue.

Uploaded by

tabassi199
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

I-BGP USING FULL MESH NEIGHBORSHIP &

BGP SPLIT HORIZON RULE

Assign the basic IP Addressing as per the routers!

Router>enable
Router#configure terminal
Router(config)#hostname R-1

R-1(config)#interface gig0/0
R-1(config-if)#ip add 1.1.1.1 255.0.0.0
R-1(config-if)#no shut
R-1(config-if)#exit

R-1(config)#interface gig0/1
R-1(config-if)#ip add 4.4.4.2 255.0.0.0
R-1(config-if)#no shut
R-1(config-if)#exit

R-1(config)#interface gig0/2
R-1(config-if)#ip add 10.1.1.1 255.0.0.0
R-1(config-if)#no shut
R-1(config-if)#exit
Router>enable
Router#configure terminal
Router(config)#hostname R-2

R-2(config)#interface gig0/0
R-2(config-if)#ip add 1.1.1.2 255.0.0.0
R-2(config-if)#no shut
R-2(config-if)#exit

R-2(config)#int gig0/1
R-2(config-if)#ip add 2.2.2.1 255.0.0.0
R-2(config-if)#no shut
R-2(config-if)#exit

R-2(config)#interface gig0/2
R-2(config-if)#ip add 20.1.1.1 255.0.0.0
R-2(config-if)#no shut
R-2(config-if)#exit

Router>enable
Router#configure terminal
Router(config)#hostname R-3

R-3(config)#interface gig0/0
R-3(config-if)#ip add 2.2.2.2 255.0.0.0
R-3(config-if)#no shut
R-3(config-if)#exit

R-3(config)#int gig0/1
R-3(config-if)#ip add 3.3.3.1 255.0.0.0
R-3(config-if)#no shut
R-3(config-if)#exit

R-3(config)#int gig0/2
R-3(config-if)#ip add 30.1.1.1 255.0.0.0
R-3(config-if)#no shut
R-3(config-if)#exit

& Now finally the last which IP implementations of R-4

Router>enable
Router#configure terminal
Router(config)#hostname R-4

R-4(config)#interface gig0/0
R-4(config-if)#ip add 4.4.4.1 255.0.0.0
R-4(config-if)#no shut
R-4(config-if)#exit
R-4(config)#int gig0/1
R-4(config-if)#ip add 3.3.3.2 255.0.0.0
R-4(config-if)#no shut
R-4(config-if)#exit

R-4(config)#int gig0/2
R-4(config-if)#ip add 40.1.1.1 255.0.0.0
R-4(config-if)#no shut
R-4(config-if)#exit

Now we’ll implement I-BGP on all the routers.


R-1(config)#router bgp 500
R-1(config-router)#no sync
R-1(config-router)#no auto-sum
R-1(config-router)#neighbor 1.1.1.2 remote-as 500
R-1(config-router)#neighbor 4.4.4.1 remote-as 500
R-1(config-router)#network 1.0.0.0
R-1(config-router)#network 4.0.0.0
R-1(config-router)#network 10.0.0.0
R-1(config-router)#exit

*Feb 13 05:36:38.160: %BGP-5-ADJCHANGE: neighbor 1.1.1.2 Up


*Feb 13 05:39:43.538: %BGP-5-ADJCHANGE: neighbor 4.4.4.1 Up

R-2(config)#router bgp 500


R-2(config-router)#no auto-sum
R-2(config-router)#no sync
R-2(config-router)#neighbor 2.2.2.2 remote-as 500
R-2(config-router)#neighbor 1.1.1.1 remote-as 500
R-2(config-router)#network 1.0.0.0
R-2(config-router)#network 20.0.0.0
R-2(config-router)#network 2.0.0.0

*Feb 13 05:36:38.845: %BGP-5-ADJCHANGE: neighbor 1.1.1.1 Up


*Feb 13 05:38:34.817: %BGP-5-ADJCHANGE: neighbor 2.2.2.2 Up
R-3(config)#router bgp 500
R-3(config-router)#no auto-sum
R-3(config-router)#no sync
R-3(config-router)#neighbor 3.3.3.2 remote-as 500
R-3(config-router)#neighbor 2.2.2.1 remote-as 500
R-3(config-router)#network 2.0.0.0
R-3(config-router)#network 3.0.0.0
R-3(config-router)#network 30.0.0.0

*Feb 13 05:38:34.826: %BGP-5-ADJCHANGE: neighbor 2.2.2.1 Up


*Feb 13 05:39:55.599: %BGP-5-ADJCHANGE: neighbor 3.3.3.2 Up

R-4(config)#router bgp 500


R-4(config-router)#no auto-sum
R-4(config-router)#no sync
R-4(config-router)#neighbor 4.4.4.2 remote-as 500
R-4(config-router)#neighbor 3.3.3.1 remote-as 500
R-4(config-router)#network 4.0.0.0
R-4(config-router)#network 3.0.0.0
R-4(config-router)#network 40.0.0.0

*Feb 13 05:39:56.365: %BGP-5-ADJCHANGE: neighbor 3.3.3.1 Up


*Feb 13 05:39:45.010: %BGP-5-ADJCHANGE: neighbor 4.4.4.2 Up
Verifications of routing table –

R-1

R-2

R-3
R-4

So, as per the implementations of i-BGP we can see that there’s a trouble in our
verifications which is that –

R-1 is not having the routing entry for the network 30.0.0.0 which is on R-3.
R-3 is not having the routing entry for the network 10.0.0.0 which is on R-1.
R-2 is not having the routing entry for the network 40.0.0.0 which is on R-4.
R-4 is not having the routing entry for the network 20.0.0.0 which is on R-2.

Now as per this, the routes are shared via the directly connected neighbors.

But something we discussed “BGP Split Horizon Rule” is here –

By-default as per i-BGP the default rule says that an update sent by one i-BGP
neighbor should not be sent back to another i-BGP neighbor.

To overcome this cause, we’ll use full-mesh neighborship.

R-1(config)#router bgp 500


R-1(config-router)#neighbor 2.2.2.2 remote-as 500

R-3(config)#router bgp 500


R-3(config-router)#neighbor 1.1.1.1 remote-as 500
R-3(config-router)#exit
*Feb 14 03:57:28.799: %BGP-5-ADJCHANGE: neighbor 1.1.1.1 Up
& here’s the routing table verification after defining full-mesh neighborship
between R-1 & R-3

You might also like