Full Mesh Topology By Route Reflector (iBGP-OSPF)

Next...

Topology nya sederhana

Jadi saya sebelumnya mau membuat full mesh topology dengan topology seperti ini, jadi kalau full mesh berarti tiap-tiap router akan memiliki 2 peer yaitu
PE-JKT <> RR
PE-JKT <> PE-BALI

PE-BALI<>RR
PE-BALI<>PE-JKT

RR<>PE-JKT
RR<>PE-BALI

Namun kita akan menggunakan route reflector, dengan RR (Route Reflector) maka peering akan semakin sedikit karna kita hanya perlu melakukan peer ke RR nya saja, syarat dari topology ini adalah:
- Semua router harus bisa terhubung satu sama lain bisa menggunakan IGP (OSPF/EIGRP/RIP/Static Route/Etc) atau juga diganti topology-nya menjadi star menggunakan switch/hub dimana nanti IP yang digunakan untuk peer harus 1 network misal: PE-JKT 10.10.10.1, PE-BALI 10.10.10.2, RR 10.10.10.3 semuanya /29
- Menambahkan neighbor add_peer route-reflector-client pada router RR nya

Simple kan :D

Karna disini saya menggunakan OSPF berikut settingan OSPF nya di tiap-tiap router, dimulai dari
RR dan baru ke Client RR nya

RR#sh run | s FastEthernet0/0
interface FastEthernet0/0
 ip address 10.10.0.1 255.255.255.252
 ip ospf network point-to-point
 ip ospf 100 area 0
 duplex auto
 speed auto
RR#sh run | s FastEthernet0/1
interface FastEthernet0/1
 ip address 10.10.0.5 255.255.255.252
 ip ospf network point-to-point
 ip ospf 100 area 0
 duplex auto
 speed auto
RR#sh run | s Loopback0
interface Loopback0
 ip address 10.0.0.1 255.255.255.255
 ip ospf 100 area 0
 neighbor 10.0.0.2 update-source Loopback0
 neighbor 10.0.0.3 update-source Loopback0
RR#sh run | s router ospf
router ospf 100
 log-adjacency-changes
RR#

PE-JKT#sh run | s FastEthernet0/0
interface FastEthernet0/0
 ip address 10.10.0.2 255.255.255.252
 ip ospf network point-to-point
 ip ospf 100 area 0
 duplex auto
 speed auto
PE-JKT#

PE-BALI#sh run | s FastEthernet0/0
interface FastEthernet0/0
 ip address 10.10.0.6 255.255.255.252
 ip ospf network point-to-point
 ip ospf 100 area 0
 duplex auto
 speed auto
PE-BALI#

Next adalah membuat peering, karna dengan OSPF diatas (Proses ID 100) maka pastinya antara IP Loopback akan bisa terhubung, dan disini kita melakukan peering menggunakan IP Loopback masing-masing router

RR#sh run | s router bgp
router bgp 100
 no synchronization
 bgp router-id 10.0.0.1
 bgp log-neighbor-changes
 neighbor 10.0.0.2 remote-as 100
 neighbor 10.0.0.2 update-source Loopback0
 neighbor 10.0.0.2 route-reflector-client
 neighbor 10.0.0.3 remote-as 100
 neighbor 10.0.0.3 update-source Loopback0
 neighbor 10.0.0.3 route-reflector-client
 no auto-summary
RR#

PE-JKT#sh run | s router bgp
router bgp 100
 no synchronization
 bgp log-neighbor-changes
 network 10.20.10.0 mask 255.255.255.252
 neighbor 10.0.0.1 remote-as 100
 neighbor 10.0.0.1 update-source Loopback0
 neighbor 10.0.0.1 soft-reconfiguration inbound
 no auto-summary
PE-JKT#

PE-BALI#sh run | s router bgp
router bgp 100
 no synchronization
 bgp log-neighbor-changes
 network 10.20.20.0 mask 255.255.255.252
 neighbor 10.0.0.1 remote-as 100
 neighbor 10.0.0.1 update-source Loopback0
 neighbor 10.0.0.1 soft-reconfiguration inbound
 no auto-summary
PE-BALI#

Kalau sudah kita buat peeringnya maka status nya akan seperti ini
RR#sh ip bgp sum
BGP router identifier 10.0.0.1, local AS number 100
BGP table version is 3, main routing table version 3
2 network entries using 258 bytes of memory
2 path entries using 104 bytes of memory
2/1 BGP path/bestpath attribute entries using 248 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 610 total bytes of memory
BGP activity 2/0 prefixes, 2/0 paths, scan interval 60 secs

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
10.0.0.2        4   100      14      15        3    0    0 00:10:22        1
10.0.0.3        4   100      14      15        3    0    0 00:10:20        1
RR#



Have fun with BGP ^_^

Related Posts:

0 Response to "Full Mesh Topology By Route Reflector (iBGP-OSPF)"

Posting Komentar