BGP COMMUNITY LIST - BGP #9

 

BGP COMMUNITY LIST - BGP

Alat dan Bahan :

  • Laptop / PC
  • EVE NG
          nah untuk lab ini membahas lab BGP community list berfungsi untuk, agar path pada tiap router menjadi jauh saat pengiriman paket nya ibarat perputaran paket, dengan metode yang digunakan yaitu tiap router menggunakan AS yang berbeda sehingga lab kali ini full EBGP.

perhatikan topologi berikut,



pertama yang harus dilakukan sama seperti biasa yaitu konfigurasi IP dan beserta Loopback nya, pada Router-1, router-2, router-3, dan router - 4 nya

yang pertama dilakukan yaitu konfigurasi neighbor pada tiap router yang berbeda AS nya,

R-1(config)#router bgp 1
R-1(config-router)#neighbor 10.10.10.2 remote-as 2

R-2(config)#router bgp 2
R-2(config-router)#neighbor 10.10.10.1 remote-as 1
R-2(config-router)#neighbor 30.30.30.2 remote-as 4
R-2(config-router)#neighbor 20.20.20.2 remote-as 3

R-3(config)#router bgp 3
R-3(config-router)#neighbor 20.20.20.1 remote-as 2

R-4(config)#router bgp 4
R-4(config-router)#neighbor 30.30.30.1 remote-as 2
R-4(config-router)#net 4.4.4.4 mask 255.255.255.255


kemudian dilanjutkan dengan membuat konfigurasi community list nya pada router tengah yaitu router-2,

R-2(config)#ip community-list 1 permit 2:24
R-2(config)#route-map prepend permit 20
R-2(config-route-map)#match community 1
R-2(config-route-map)#set as prepend 2 2 2 2

R-2(config)#router bgp 2
R-2(config-router)#neighbor 20.20.20.2 route-map prepend out --> Kunci utama Community list


kemudian selanjutnya ke konfigurasi pembuatan prefix-list pada loopback pada router-4 agar masih bisa teradvertise pada router-2

R-4(config)#ip prefix-list loopback permit 4.4.4.4/32
R-4(config)#route-map prepend_community permit 10
R-4(config-route-map)#match ip address prefix-list loopback
R-4(config-route-map)#set community 2:24

R-4(config)#router bgp 4
R-4(config-router)#neighbor 30.30.30.1 route-map prepend_community out --> kunci utama community list

R-4(config-router)#neighbor 30.30.30.1 send-community
R-4(config)#do clear ip bgp * --> Clear IP

Komentar

Postingan populer dari blog ini

EIGRP WITH DISTRIBUTE LIST - EIGRP #1

NAMED ACCESS LIST - ACESS LIST #5

WALLED GARDEN IP LIST - NETWORK MANAGEMENT MIKROTIK #11