Lab31. BGP Multihoming – ISP Sama – Load Balancing

multihomingObjective
Belajar BGP Load Balancing
Mempelajari BGP Maximum Path

Metode Lab
Konfigurasi pengalamatan IP dan BGP sesuai topologi diatas
Konfigurasi BGP Maximum Path

Verifikasi
Pastikan trafik dari R1 bisa ke R4 berjalan secara load sharing

Konfigurasi BGP masing masing router
R1(config)#router bgp 1
R1(config-router)#neigh 11.11.11.2 remote-as 23
R1(config-router)#neigh 12.12.12.3 remote-as 23
R1(config-router)#net 1.1.1.1 mask 255.255.255.255

R2(config-if)#router bgp 23
R2(config-router)#neigh 11.11.11.1 remote-as 1
R2(config-router)#neigh 50.50.50.3 remote-as 23
R2(config-router)#neigh 13.13.13.4 remote-as 4

R3(config)#router bgp 23
R3(config-router)#neigh 12.12.12.1 remote-as 1
R3(config-router)#neigh 50.50.50.2 remote-as 23
R3(config-router)#neigh 14.14.14.4 remote-as 4

R4(config)#router bgp 4
R4(config-router)#neigh 13.13.13.2 remote-as 23
R4(config-router)#neigh 14.14.14.3 remote-as 23
R4(config-router)#net 4.4.4.4 mask 255.255.255.255

BGP secara default hanya akan menggunakan 1 jalur saja.
1Untuk dapat menggunakan lebih dari satu jalur perlu diset maximum path terlebih dahulu
R1(config)#router bgp 1
R1(config-router)#maximum-path ?
  <1-16>  Number of paths
  ibgp    iBGP-multipath

R1(config-router)#maximum-path 2
R1(config-router)#do clear ip bgp *

Kemudian cek sh ip bgp, terlihat hanya menunjukan ke satu jalur saja
2Namun berbeda lagi ketika dicek melalui sh ip route
3Namun demikian bila digunakan traceroute akan dapat diketahui bahwa kedua jalurnya digunakan bersamaan.
4

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.