BGP Aggregator
Assalamualaikum temen – temen.. kembali lagi di blogg saya.. diblog kali ini saya ingin melanjutkan materi BGP sebelumnya yaitu BGP Attribute Community LOCAL AS dan kali ini kita akan ngebahas yang sudah ada di judul.. yaitu BGP Aggregator
Nah.. karena ini adalah lab lanjutan dari labb sebelumnya jadi saya hanya mengkonfigurasi yang hanya ada pada lab ini saja.. soo jika kalian ingin melihat konfigurasi dasar, ataupun koonfigurasi sebelumnya kalian bisa liat di blogg saya sebelumnya pada link dibawah ini :
👉https://insinyurbocah2109.blogspot.com/2020/10/belajar-bgp-bgp-community-local-as.html
(BGP Community Local AS) - Lab 10 BGP
👉https://insinyurbocah2109.blogspot.com/2020/10/belajar-bgp-bgp-attribute-community-no_23.html
(BGP Attribute Community NO ADVERTISE) - Lab 9 BGP
👉https://insinyurbocah2109.blogspot.com/2020/10/belajar-bgp-bgp-attribute-community-no.html
(BGP Attribute Community NO EXPORT) - Lab 8 BGP
👉https://insinyurbocah2109.blogspot.com/2020/10/belajar-bgp-bgp-attribute-origin.html
( BGP Attribute ( Origin ) - Lab 7 BGP
👉https://insinyurbocah2109.blogspot.com/2020/10/bgp-routerreflector-assalamualaikumteme.html
( BGP Route Reflector ) - Lab 6 BGP
👉https://insinyurbocah2109.blogspot.com/2020/10/belajar-bgp-bgp-authentication.html
( BGP Authentication ) - Lab 5 BGP
👉 https://insinyurbocah2109.blogspot.com/2020/10/belajar-bgp-bgp-next-hop-self.html
( BGP Next Hop Self ) - Lab 4 BGP
👉 https://insinyurbocah2109.blogspot.com/2020/10/belajar-bgp-ebgp-peering.html
( eBGP Peering ) - Lab 3 BGP
👉https://insinyurbocah2109.blogspot.com/2020/10/belajar-bgp-ibgp-peering-loopback.html
( iBGP Peering Loopback ) - Lab 2 BGP
👉https://insinyurbocah2109.blogspot.com/2020/10/belajar-bgp-ibgp-peering-konfigurasi.html
( iBGP Peering Konfigurasi Dasar ) - Lab 1 BGP
*Oke langsung aja ke konfigurasinya...
TOPOLOGI
Konfigurasi awal kita buat dulu loopback, karena nantinya akan di aggregate....
R4
R4-TKJB#conf t
Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z.
R4-TKJB(config)#
R4-TKJB(config)#int lo 1
R4-TKJB(config-if)#ip add 4.1.1.1 255.255.255.255
R4-TKJB(config-if)#exit
R4-TKJB(config)#
R4-TKJB(config)#int lo 2
R4-TKJB(config-if)#ip add 4.2.1.1 255.255.255.255
R4-TKJB(config-if)#exit
R4-TKJB(config)#
R4-TKJB(config)#int lo 3
R4-TKJB(config-if)#ip add 4.3.1.1 255.255.255.255
R4-TKJB(config-if)#exit
R4-TKJB(config)#
R4-TKJB(config)#int lo 4
R4-TKJB(config-if)#ip add 4.4.1.1 255.255.255.255
R4-TKJB(config-if)#exit
R4-TKJB(config)#
R4-TKJB(config)#int lo 5
R4-TKJB(config-if)#ip add 4.5.1.1 255.255.255.255
R4-TKJB(config-if)#exit
R4-TKJB(config)#
R4-TKJB(config)#int lo 6
R4-TKJB(config-if)#ip add 4.6.1.1 255.255.255.255
R4-TKJB(config-if)#exit
R4-TKJB(config)#
Kalo udh... sekarang kita advertise ke BGP nya!!!
R4
R4-TKJB(config)#
R4-TKJB(config)#rou
R4-TKJB(config)#router bgp 4
R4-TKJB(config-router)#net 4.1.1.1 mask 255.255.255.255
R4-TKJB(config-router)#net 4.2.1.1 mask 255.255.255.255
R4-TKJB(config-router)#net 4.3.1.1 mask 255.255.255.255
R4-TKJB(config-router)#net 4.4.1.1 mask 255.255.255.255
R4-TKJB(config-router)#net 4.5.1.1 mask 255.255.255.255
R4-TKJB(config-router)#net 4.6.1.1 mask 255.255.255.255
R4-TKJB(config-router)#exit
R4-TKJB(config)#
Sekarang kita CEK!!
R2
R2-TKJB(config)#do sh ip bgp
Network Next Hop Metric LocPrf Weight Path
*> 4.1.1.1/32 24.24.24.4 0 0 4 i
*> 4.2.1.1/32 24.24.24.4 0 0 4 i
*> 4.3.1.1/32 24.24.24.4 0 0 4 i
*> 4.4.1.1/32 24.24.24.4 0 0 4 i
*> 4.4.4.4/32 24.24.24.4 0 0 4 i
*> 4.5.1.1/32 24.24.24.4 0 0 4 i
*> 4.6.1.1/32 24.24.24.4 0 0 4 i
Kita sudah liat yaa, seluruh IP yang baru di advertise tadi sekarang sudah ada di tabel routing BGP... lalu langkah selanjutnya barulah kita konfigurasi Aggregate nyaa..
R4
R4-TKJB(config)#rou
R4-TKJB(config)#router bgp 4
R4-TKJB(config-router)#agg
R4-TKJB(config-router)#aggregate-address 4.0.0.0 255.248.0.0
R4-TKJB(config-router)#exit
R4-TKJB(config)#
Sekarang cek lagi coba di R2......
R2
R2(config)#do show ip bgp
Network Next Hop Metric LocPrf Weight Path
*> 4.0.0.0/13 24.24.24.4 0 0 4 i
*> 4.1.1.1/32 24.24.24.4 0 0 4 i
*> 4.2.1.1/32 24.24.24.4 0 0 4 i
*> 4.3.1.1/32 24.24.24.4 0 0 4 i
*> 4.4.1.1/32 24.24.24.4 0 0 4 i
*> 4.4.4.4/32 24.24.24.4 0 0 4 i
*> 4.5.1.1/32 24.24.24.4 0 0 4 i
*> 4.6.1.1/32 24.24.24.4 0 0 4 i
R2
R2-TKJB(config)#do show ip bgp 4.0.0.0/13
BGP routing table entry for 4.0.0.0/13, version 14
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Advertised to update-groups:
1 2
4, (aggregated by 4 4.4.4.4)
24.24.24.4 from 24.24.24.4 (4.4.4.4)
Origin IGP, metric 0, localpref 100, valid, external, atomic-aggregate, best
Community: 2:24
Nah kalo di routing tabel nya sudah ke baca juga ketika di cek do sh ip bgp 4.0.0.0/13, sudah seperti contoh diatas... berarti sudah benar..oke kita lanjut ke langkah berikutnya yaitu kita lakukan aggregate single route di R4
R4
R4-TKJB(config)#rou
R4-TKJB(config)#router bgp 4
R4-TKJB(config-router)#agg
R4-TKJB(config-router)#aggregate-address 4.0.0.0 255.248.0.0 summ
R4-TKJB(config-router)#aggregate-address 4.0.0.0 255.248.0.0 summary-only
R4-TKJB(config-router)#exit
R4-TKJB(config)#
Kita cek lagi coba... dan lihat hasilnya!!!
R2
R2(config)#do show ip bgp
Network Next Hop Metric LocPrf Weight Path
*> 4.0.0.0/13 24.24.24.4 0 0 4 i
Kita bisa lihat disini.. seluruh IP loopback yang tadi, sekarang sudah kesummary dan hanya ada network 4.0.0.0/13 saja...berikutnya kita akan mengkonfigurasi Aggregate Suppress Map di R4 nya....
R4
R4-TKJB(config)#
R4-TKJB(config)#acce
R4-TKJB(config)#access-list 1 per
R4-TKJB(config)#access-list 1 permit host 4.2.1.1
R4-TKJB(config)#
R4-TKJB(config)#access-list 1 permit host 4.3.1.1
R4-TKJB(config)#access-list 1 permit host 4.4.1.1
R4-TKJB(config)#access-
R4-TKJB(config)#access-list 1 deny any
R4-TKJB(config)#
CEK di R4 dan R2 nyaaa!!!....
R4
R4(config)#do show ip bgp
Network Next Hop Metric LocPrf Weight Path
*> 4.0.0.0/13 0.0.0.0 0 32768 i
*> 4.1.1.1/32 0.0.0.0 0 32768 i
s> 4.2.1.1/32 0.0.0.0 0 32768 i
s> 4.3.1.1/32 0.0.0.0 0 32768 i
s> 4.4.1.1/32 0.0.0.0 0 32768 i
*> 4.4.4.4/32 0.0.0.0 0 32768 i
*> 4.5.1.1/32 0.0.0.0 0 32768 i
*> 4.6.1.1/32 0.0.0.0 0 32768 i
R2
R2(config)#do show ip bgp
Network Next Hop Metric LocPrf Weight Path
*> 4.0.0.0/13 24.24.24.4 0 0 4 i
*> 4.1.1.1/32 24.24.24.4 0 0 4 i
*> 4.4.4.4/32 24.24.24.4 0 0 4 i
*> 4.5.1.1/32 24.24.24.4 0 0 4 i
*> 4.6.1.1/32 24.24.24.4 0 0 4 i
DONE!!!😊😊😊
TERIMAKASIH
WASSALAMU'ALAIKUM WR.WB
0 comments:
Post a Comment