Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

R H C

TECHNOLOGIES #2016

BGP Route Reflectors


LAB WORKBOOK

Prepared By
Sai Linn Thu

©2016 RHC Technologies #LIKE #FOLLOW #WATCH


R H C
TECHNOLOGIES #2016

RR RR
Loopback 0 Loopback 0

R1   Fa0/0 Fa0/0 R2  

Fa2/0 Fa3/0

2/0
Fa
3/

Fa
0
Fa2/0 Fa2/0 Fa3/0
Fa3/0

Loopback 0 R3   Loopback 0 R4   Loopback 0 R5   Loopback 0 R6  

Loopback 1 Loopback 1 Loopback 1 Loopback 1

©2016 RHC Technologies #LIKE #FOLLOW #WATCH


R H C
TECHNOLOGIES

Step 1 - IP Address Assignment ( R1, R3, R4 )

R1 R3 R4
configure terminal configure terminal configure terminal
hostname R1 hostname R3 hostname R4
no ip do lo no ip do lo no ip do lo
!
 !

int lo0 int lo0 int lo0
ip add 1.1.1.1 255.255.255.255 ip add 3.3.3.3 255.255.255.255 ip add 4.4.4.4 255.255.255.255
int Fa0/0 int Fa2/0 int Fa3/0
ip add 192.168.12.1 255.255.255.0 ip add 10.1.13.3 255.255.255.0 ip add 10.1.14.4 255.255.255.0
no shut no shut no shut
int Fa2/0 int lo1 int lo1
ip add 10.1.13.1 255.255.255.0 ip add 33.33.33.33 255.255.255.0 ip add 44.44.44.44 255.255.255.0
no shut ! !
int Fa3/0
ip add 10.1.14.1 255.255.255.0
no shut
!

©2016 RHC Technologies #LIKE #FOLLOW #WATCH


R H C
TECHNOLOGIES

Step 1 - IP Address Assignment ( R2, R5, R6 )

R2 R5 R6
configure terminal configure terminal configure terminal
hostname R2 hostname R5 hostname R6
no ip do lo no ip do lo no ip do lo
!
 !
 !

int lo0 int lo0 int lo0
ip add 2.2.2.2 255.255.255.255 ip add 5.5.5.5 255.255.255.255 ip add 6.6.6.6 255.255.255.255
int Fa0/0 int Fa2/0 int Fa3/0
ip add 192.168.12.2 255.255.255.0 ip add 10.1.25.5 255.255.255.0 ip add 10.1.26.6 255.255.255.0
no shut no shut no shut
int Fa2/0 int lo1 int lo1
ip add 10.1.25.2 255.255.255.0 ip add 55.55.55.55 255.255.255.0 ip add 66.66.66.66 255.255.255.0
no shut ! !
int Fa3/0
ip add 10.1.26.2 255.255.255.0
no shut
!

©2016 RHC Technologies #LIKE #FOLLOW #WATCH


R H C
TECHNOLOGIES

Step 2 - Configure OSPF as underlying protocol ( R1, R3, R4 )

R1 R3 R4
configure terminal configure terminal configure terminal
router ospf 1 router ospf 1 router ospf 1
router-id 1.1.1.1 router-id 3.3.3.3 router-id 4.4.4.4

int lo0 int lo0 int lo0
ip ospf 1 area 0 ip ospf 1 area 0 ip ospf 1 area 0
int Fa0/0 int Fa2/0 int Fa3/0
ip ospf 1 area 0 ip ospf 1 area 0 ip ospf 1 area 0
no shut no shut no shut
int Fa2/0 ! !
ip ospf 1 area 0
no shut
int Fa3/0
ip ospf 1 area 0
no shut
!

©2016 RHC Technologies #LIKE #FOLLOW #WATCH


R H C
TECHNOLOGIES

Step 2 – Configure OSPF as underlying protocol ( R2, R5, R6 )

R2 R5 R6
configure terminal configure terminal configure terminal
router ospf 1 router ospf 1 router ospf 1
router-id 2.2.2.2 router-id 5.5.5.5 router-id 6.6.6.6
int lo0 int lo0
ip ospf 1 area 0 ip ospf 1 area 0 int lo0
int Fa0/0 int Fa2/0 ip ospf 1 area 0
ip ospf 1 area 0 ip ospf 1 area 0 int Fa3/0
no shut no shut ip ospf 1 area 0
int Fa2/0 ! no shut
ip ospf 1 area 0 !
no shut
int Fa3/0
ip ospf 1 area 0
no shut
!

©2016 RHC Technologies #LIKE #FOLLOW #WATCH


R H C
TECHNOLOGIES

Step 3 - Configure iBGP AS 100 ( R1, R3, R4 )

R1 R3 R4
configure terminal configure terminal configure terminal
router bgp 100 router bgp 100 router bgp 100
nei 2.2.2.2 remote-as 100 nei 1.1.1.1 remote-as 100 nei 1.1.1.1 remote-as 100
nei 2.2.2.2 update-source lo0 nei 1.1.1.1 update-source lo0 nei 1.1.1.1 update-source lo0
nei 3.3.3.3 remote-as 100
nei 3.3.3.3 update-source lo0 network 33.33.33.0 mask 255.255.255.0 network 44.44.44.0 mask 255.255.255.0
nei 3.3.3.3 route-reflector-client ! !
nei 4.4.4.4 remote-as 100
nei 4.4.4.4 update-source lo0
nei 4.4.4.4 route-reflector-client
!

©2016 RHC Technologies #LIKE #FOLLOW #WATCH


R H C
TECHNOLOGIES

Step 3 – Configure iBGP AS 100 ( R2, R5, R6 )

R2 R5 R6
configure terminal configure terminal configure terminal
router bgp 100 router bgp 100 router bgp 100
nei 1.1.1.1 remote-as 100 nei 2.2.2.2 remote-as 100 nei 2.2.2.2 remote-as 100
nei 1.1.1.1 update-source lo0 nei 2.2.2.2 update-source lo0 nei 2.2.2.2 update-source lo0
nei 5.5.5.5 remote-as 100
nei 5.5.5.5 update-source lo0 network 55.55.55.0 mask 255.255.255.0 network 66.66.66.0 mask 255.255.255.0
nei 5.5.5.5 route-reflector-client ! !
nei 6.6.6.6 remote-as 100
nei 6.6.6.6 update-source lo0
nei 6.6.6.6 route-reflector-client
!

©2016 RHC Technologies #LIKE #FOLLOW #WATCH


R H C
TECHNOLOGIES

RHC Technologies
#LIKE #FOLLOW #WATCH

© www.rhctechnologies.com

You might also like