Border Gateway Protocol Four Routers Lab

BGP Four Routers Lab




BGP Four Routers Lab
Fig 1: BGP Four Routers Lab


About Topology

BGP Fours Routers Lab
Fig 2: BGP Four Routers Lab Topology
In the above image we have the lab of the BGP four routers. So there are the four routers  A,B,C and D. A router belong to the Autonomous system 10 and B,C and D routers are from the Autonomous system 20. Between the A and B/ A and D we will configure the EBGP. And in the autonomous system 10 we will configure the RIP and in the autonomous system 20 will configure the OSPF for the convergence and IBGP and IBGP is not for convergence it is for the carrying of the BGP attributes. So here below we have the configurations of the router with respect to the above diagram.


Configurations

 A:

int ser 1/0

ip add 1.1.1.1 255.255.255.0

no sh

 !

int ser 1/1

ip add 4.1.1.2 255.255.255.0

no sh

int fa 0/0

ip add 200.100.50.1 255.255.255.0

no sh

no k

 !

router bgp 10

nei 1.1.1.2 remote-as 20

nei 4.1.1.1 remote-as 20

network 200.100.50.0 mask 255.255.255.0

 

B: 

int ser 1/0

ip add 1.1.1.2 255.255.255.0

no sh

 !

int ser 1/1

ip add 2.1.1.1 255.255.255.0

no sh

 !

int fa 0/0

ip add 200.100.100.1 255.255.255.0

no sh

no k

 !

router ospf 1

network 1.1.1.2 0.0.0.0 a 0

network 2.1.1.1 0.0.0.0 a 0

network 200.100.100.1 0.0.0.0 a 0

router bgp 20

nei 1.1.1.1 remote-as 10

nei 2.1.1.2 remote-as 20

nei 3.1.1.2 remote-as 20

 

 

C:

int ser 1/1

ip add 2.1.1.2 255.255.255.0

no sh

 !

int ser 1/0

ip add 3.1.1.1 255.255.255.0

no sh

 !

int fa 0/0

ip add 200.100.50.1 255.255.255.0

no sh

no k

router ospf 1

network 2.1.1.2 0.0.0.0 a 0

network 3.1.1.1 0.0.0.0 a 0

network 200.100.150.1 0.0.0.0 a 0

 !

router bgp 20

nei 2.1.1.1 remote-as 20

nei 3.1.1.2 remote-as 20

 

D:

int ser 1/0

ip add 3.1.1.2 255.255.255.0

no sh

 !

int ser 1/1

ip add 4.1.1.1 255.255.255.0

no sh

 !

int fa 0/0

ip add 200.100.200.1 255.255.255.0

no sh

no k

 !

router ospf 1

network 200.100.200.1 0.0.0.0 a 0

netw 4.1.1.1 0.0.0.0 a 0

net 3.1.1.2 0.0.0.0 a 0

 !

router bgp 20

nei 4.1.1.2 remote-as 10

nei 3.1.1.1 remote-as 20

nei 2.1.1.1 remote-as 20

 


Post a Comment

0 Comments