Route Reflector
gambar topology 1.1
pada kesempatan kali ini saya akan share tentang lab route reflector....yaitu Konsepnya ialah Pada iBGP, kali ini keseluruhan peersnya harus mesh,artinya
- R1 peers ke R2,R3,R4
- R2 peers ke R1,R3,R4
- R3 peers ke R1,R2,R4
- R4 peers ke R1,R2,R3
solusi disini kita hanya menjadikan salah satu router menjadi reflector.dan pada lab kali ini kita akan ngonfig sebagai route reflector server.sehingga router reflectpr tersebut melakukan peers ke semua router dan peersnya cukup ke router reflector saja .
R1(config)#int f3/0
R1(config-if)#ip add 12.12.12.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#int lo0
R1(config-if)#ip add 1.1.1.1 255.255.255.255
R1(config-if)#
R1(config-if)#router rip
R1(config-router)#net 1.0.0.0
R1(config-router)#net 12.0.0.0
R1(config-router)#router bgp 1234
R1(config-router)#neigh 2.2.2.2 remote 1234
R1(config-router)#neigh 2.2.2.2 up lo0
R1(config-router)#neigh 2.2.2.2 route-reflector-client
R1(config-router)#neigh 3.3.3.3 remote 1234
R1(config-router)#neigh 3.3.3.3 up lo0
R1(config-router)#neigh 3.3.3.3 route-reflector-client
R1(config-router)#neigh 4.4.4.4 remote 1234
R1(config-router)#neigh 4.4.4.4 ip lo0
R1(config-router)#neigh 4.4.4.4 route-reflector-client
R1(config-router)#
R2(config)#int f3/0
R2(config-if)#ip add 12.12.12.2 255.255.255.0
R2(config-if)#no shut
R2(config-if)#int lo0
R2(config-if)#ip add 2.2.2.2 255.255.255.255
R2(config-if)#int f4/0
R2(config-if)#ip add 23.23.23.2 255.255.255.0
R2(config-if)#no shut
R2(config-if)#router rip
R2(config-router)#network 12.0.0.0
R2(config-router)#net 2.0.0.0
R2(config-router)#net 23.0.0.0
R2(config-router)#router bgp 1234
R2(config-router)#neigh 1.1.1.1 remote 1234
R2(config-router)#neigh 1.1.1.1 up lo0
R2(config-router)#
R3(config)#int f4/0
R3(config-if)#ip add 23.23.23.3 255.255.255.0
R3(config-if)#no shut
R3(config-if)#int f4/1
R3(config-if)#ip add 34.34.34.3 255.255.255.0
R3(config-if)#no shut
R3(config-if)#int lo0
R3(config-if)#ip add 3.3.3.3 255.255.255.255
R3(config-if)#router rip
R3(config-router)#net 34.0.0.0
R3(config-router)#net 23.0.0.0
R3(config-router)#net 3.0.0.0
R3(config-router)#router bgp 1234
R3(config-router)#neigh neigh 1.1.1.1 remote 1234
R3(config-router)#neigh 1.1.1.1 remote 1234
R3(config-router)#neigh 1.1.1.1 up lo0
R3(config-router)#
R4(config)#int f4/1
R4(config-if)#ip add 34.34.34.4 255.255.255.0
R4(config-if)#no shut
R4(config-if)#int lo0
R4(config-if)#ip add 4.4.4.4 255.255.255.255
R4(config-if)#router rip
R4(config-router)#net 34.0.0.0
R4(config-router)#net 4.0.0.0
R4(config-router)#router bgp 1234
R4(config-router)#neigh 1.1.1.1 remote 1234
R4(config-router)#neigh 1.1.1.1 up lo0
R4(config-router)#
Lakukan pengecekan
R1(config-router)#do sh ip bgp sum
BGP router identifier 1.1.1.1, local AS number 1234
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer
InQ OutQ Up/Down State/PfxRcd
2.2.2.2 4 1234 14
14 1 0
0 00:09:44 0
3.3.3.3 4 1234
6 4
1 0 0 00:02:01 0
4.4.4.4 4 1234 4
2 1 0
0 00:00:18 0
R2#sh bgp sum
BGP router identifier 2.2.2.2, local AS number 1234
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer
InQ OutQ Up/Down State/PfxRcd
1.1.1.1 4 1234 80
80 1 0
0 01:09:31 0
Untuk pengetesan advertise suatu route di salah satu router ,dan pastikan bisa diping dari semua router
R4(config)#int lo1
R4(config-if)#ip add 44.44.44.44 255.255.255.255
R4(config-if)#router bgp 1234
R4(config-router)#net 44.44.44.44 mask 255.255.255.255
R4(config-router)#
Setelah itu verifikasi pada setiap route yang di
advertise ole R4 ke bgp tersebut
R2#sh ip bgp
BGP table version is 2, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, * valid, > best,
i - internal,
r RIB-failure, S
Stale, m multipath, b backup-path, f RT-Filter,
x best-external,
a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 44.44.44.44/32 4.4.4.4 0 100
0 i
R2#ping 44.44.44.44
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 44.44.44.44, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max =
20/68/104 ms
R1#ping 44.44.44.44
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 44.44.44.44, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max =
72/98/152 ms
R1#
0 komentar:
Posting Komentar