Pada internal BGP semua router harus dikonfigurasikan secara full mesh untuk dapat saling berkomunikasi, artinya semua router saling terhubung satu sama lain. Pada postingan sebelumnya telah dibahas tentang router reflector, kali ini kita mempelajari tentang BGP CONFEDERATION.

Dengan BGP Confederation dibuat beberapa sub-AS di dalam AS, sehingga se0lah-olah seperti eBGP.

topologi

Petunjuk lab

1. Setting IP pada masing2 router, boleh bebas atau menyesuaikan dengan contoh yang saya buat.

2. Buat BGP Peers dengan menggunakan IP Physicalnya.

3. Gunakan nilai sub-AS sebagain nilai AS pada konfigurasi router BGP pada router.

4. Nilai AS utamanya digunakan sebagai identifiernya.

5. Nilai sub-AS dan main AS boleh bebas, untuk lebih mudah bisa menyesuaikan dengan contoh topologi di atas.

Konfigurasi routernya adalah sebagai berikut

R1

interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
ip address 12.12.12.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 14.14.14.1 255.255.255.0
duplex auto
speed auto
!
router bgp 4001
no synchronization
bgp log-neighbor-changes
bgp confederation identifier 4
bgp confederation peers 4002 4003
network 1.1.1.1 mask 255.255.255.255
network 12.12.12.0 mask 255.255.255.0
network 14.14.14.0 mask 255.255.255.0
neighbor 12.12.12.2 remote-as 4002
neighbor 14.14.14.4 remote-as 4001
no auto-summary

 

R2

interface Loopback0
ip address 2.2.2.2 255.255.255.255
!
interface FastEthernet0/0
ip address 12.12.12.2 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0
ip address 25.25.25.2 255.255.255.0
clock rate 2000000
!
interface FastEthernet0/1
ip address 23.23.23.2 255.255.255.0
duplex auto
speed auto
!
interface Serial0/1
no ip address
shutdown
clock rate 2000000
!
router bgp 4002
no synchronization
bgp log-neighbor-changes
bgp confederation identifier 4
bgp confederation peers 4001 4003
network 2.2.2.2 mask 255.255.255.255
network 12.12.12.0 mask 255.255.255.0
network 23.23.23.0 mask 255.255.255.0
network 25.25.25.0 mask 255.255.255.0
neighbor 12.12.12.1 remote-as 4001
neighbor 23.23.23.3 remote-as 4003
neighbor 25.25.25.5 remote-as 4002
no auto-summary

 

R3

interface Loopback0
ip address 3.3.3.3 255.255.255.255
!
interface FastEthernet0/0
ip address 23.23.23.3 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0
ip address 36.36.36.3 255.255.255.0
clock rate 2000000
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1
no ip address
shutdown
clock rate 2000000
!
router bgp 4003
no synchronization
bgp log-neighbor-changes
bgp confederation identifier 4
bgp confederation peers 4001 4002
network 3.3.3.3 mask 255.255.255.255
network 23.23.23.0 mask 255.255.255.0
network 36.36.36.0 mask 255.255.255.0
neighbor 23.23.23.2 remote-as 4002
neighbor 36.36.36.6 remote-as 6
no auto-summary

 

R4

interface Loopback0
ip address 4.4.4.4 255.255.255.255
!
interface FastEthernet0/0
ip address 14.14.14.4 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
router bgp 4001
no synchronization
bgp log-neighbor-changes
bgp confederation identifier 4
bgp confederation peers 4002 4003
network 4.4.4.4 mask 255.255.255.255
network 14.14.14.0 mask 255.255.255.0
neighbor 14.14.14.1 remote-as 4001
no auto-summary

 

R5

interface Loopback0
ip address 5.5.5.5 255.255.255.255
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0
ip address 25.25.25.5 255.255.255.0
clock rate 2000000
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1
no ip address
shutdown
clock rate 2000000
!
router bgp 4002
no synchronization
bgp log-neighbor-changes
bgp confederation identifier 4
network 5.5.5.5 mask 255.255.255.255
network 25.25.25.0 mask 255.255.255.0
neighbor 25.25.25.2 remote-as 4002
no auto-summary

 

R6

interface Loopback0
ip address 6.6.6.6 255.255.255.255
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0
ip address 36.36.36.6 255.255.255.0
clock rate 2000000
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1
no ip address
shutdown
clock rate 2000000
!
router bgp 6
no synchronization
bgp log-neighbor-changes
network 6.6.6.6 mask 255.255.255.255
network 36.36.36.0 mask 255.255.255.0
neighbor 36.36.36.3 remote-as 4
no auto-summary

 

Verifikasi

ping

sh ip bgp

sh ip route

Pastikan R1 – R6 bisa ping ke semua IP loopback router.