Pada materi atribut kali ini syarat yang digunakan untuk mengaktifkannya dengan mengkonfigurasi summarization routenya pada BGP.

Masih menggunakan topologi yang sama seperti sebelumnya.

topologi

Petunjuk Lab

1. Buat beberapa IP loopback di R4, kemudian advertise ke BGP

2. Lakukan summarisasi untuk beberapa IP loopback tersebut

Konfigurasi routernya adalah sebagai berikut, silahkan digunakan untuk referensi pada topologi yang anda buat.

R1

interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface Loopback1
ip address 11.11.11.11 255.255.255.255
!
interface Serial0/0
ip address 12.12.12.1 255.255.255.0
clock rate 2000000
!
router eigrp 111
auto-summary
!
router eigrp 1
network 1.1.1.1 0.0.0.0
network 12.12.12.0 0.0.0.255
auto-summary
!
router bgp 111
no synchronization
bgp log-neighbor-changes
network 11.11.11.11 mask 255.255.255.255
network 12.12.12.0 mask 255.255.255.0
neighbor INTERNAL peer-group
neighbor INTERNAL remote-as 111
neighbor INTERNAL update-source Loopback0
neighbor 2.2.2.2 peer-group INTERNAL
neighbor 3.3.3.3 peer-group INTERNAL
no auto-summary

 

R2

interface Loopback0
ip address 2.2.2.2 255.255.255.255
!
interface Loopback1
ip address 22.22.22.22 255.255.255.255
!
interface FastEthernet0/0
ip address 24.24.24.2 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0
ip address 12.12.12.2 255.255.255.0
clock rate 2000000
!
interface Serial0/1
ip address 23.23.23.2 255.255.255.0
clock rate 2000000
!
router eigrp 1
network 2.2.2.2 0.0.0.0
network 12.12.12.2 0.0.0.0
network 23.23.23.2 0.0.0.0
auto-summary
!
router bgp 111
no synchronization
bgp log-neighbor-changes
network 12.12.12.0 mask 255.255.255.0
network 22.22.22.22 mask 255.255.255.255
network 23.23.23.0 mask 255.255.255.0
network 24.24.24.0 mask 255.255.255.0
neighbor INTERNAL peer-group
neighbor INTERNAL remote-as 111
neighbor INTERNAL update-source Loopback0
neighbor INTERNAL next-hop-self
neighbor 1.1.1.1 peer-group INTERNAL
neighbor 3.3.3.3 peer-group INTERNAL
neighbor 24.24.24.4 remote-as 44
no auto-summary

 

R3

interface Loopback0
ip address 3.3.3.3 255.255.255.0
!
interface Loopback1
ip address 33.33.33.33 255.255.255.255
!
interface Serial0/0
ip address 23.23.23.3 255.255.255.0
clock rate 2000000
!
router eigrp 1
network 3.3.3.3 0.0.0.0
network 23.23.23.3 0.0.0.0
auto-summary
!
router bgp 111
no synchronization
bgp log-neighbor-changes
network 23.23.23.0 mask 255.255.255.0
network 33.33.33.33 mask 255.255.255.255
neighbor INTERNAL peer-group
neighbor INTERNAL remote-as 111
neighbor INTERNAL update-source Loopback0
neighbor 1.1.1.1 peer-group INTERNAL
neighbor 2.2.2.2 peer-group INTERNAL
no auto-summary

 

R4

interface Loopback0
ip address 4.4.4.4 255.255.255.255
!
interface Loopback1
ip address 44.41.44.44 255.255.255.255
!
interface Loopback2
ip address 44.42.44.44 255.255.255.255
!
interface Loopback3
ip address 44.43.44.44 255.255.255.255
!
interface Loopback4
ip address 44.44.44.44 255.255.255.255
!
interface Loopback5
ip address 44.45.44.44 255.255.255.255
!
interface Loopback6
ip address 44.46.44.44 255.255.255.255
!
interface FastEthernet0/0
ip address 24.24.24.4 255.255.255.0
duplex auto
speed auto
!
router bgp 44
no synchronization
bgp log-neighbor-changes
network 4.4.4.4 mask 255.255.255.255
network 24.24.24.0 mask 255.255.255.0
network 44.41.44.44 mask 255.255.255.255
network 44.42.44.44 mask 255.255.255.255
network 44.43.44.44 mask 255.255.255.255
network 44.44.44.44 mask 255.255.255.255
network 44.45.44.44 mask 255.255.255.255
network 44.46.44.44 mask 255.255.255.255
neighbor 24.24.24.2 remote-as 111
no auto-summary

 

Cek BGP route di R1, dimana muncul banyak network 44.x.x.x

r1 sblm di summ

Lakukan aggregate di R4

R4(config)#router bgp 44

R4(config-router)#aggregate-address 44.0.0.0 255.0.0.0

cek kembali R1, pastikan muncul route summarisasinya

r1 summarisasi

Pada BGP route yg disummarisasi, route aslinya tidak mau hilang, malah nambah 1 route hasil summarisasi.

atomic

R4(config)#router bgp 44

R4(config-router)#aggregate-address 44.0.0.0 255.0.0.0 summary-only

summ only

Sudah muncul hanya 1 route saja.

Kemudian jika yg ingin di summarisasikan hanya beberapa route saja, tidak semua yang dlm 1 subnet, maka konfigurasikan aggregate suppress map seperti di bawah ini.

suppress map

Pada route R1 pada gambar di bawah ini terlihat, summarisasi hanya yang di suppress map saja.

suppress map r1