Topologi
Objective. pengelompokan beberapa as menjadi satu untuk memudahkan administrator jaringan untuk menghubungkan as ke as lain atau ke ebgp
Router 1
interface Loopback0
ip address 1.1.1.1 255.255.255.255
interface Serial1/0
ip address 12.12.12.1 255.255.255.0
serial restart-delay 0
interface Serial1/2
ip address 14.14.14.1 255.255.255.0
serial restart-delay 0
router bgp 12001
bgp log-neighbor-changes
bgp confederation identifier 123
bgp confederation peers 12002 12003
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 12002
neighbor 14.14.14.4 remote-as 12001
Router 2
interface Loopback0
ip address 2.2.2.2 255.255.255.255
interface Serial1/0
ip address 12.12.12.2 255.255.255.0
serial restart-delay 0
interface Serial1/1
ip address 23.23.23.2 255.255.255.0
serial restart-delay 0
interface Serial1/2
ip address 25.25.25.2 255.255.255.0
serial restart-delay 0
router bgp 12002
bgp log-neighbor-changes
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 12001
neighbor 23.23.23.3 remote-as 12003
neighbor 25.25.25.5 remote-as 12002
Router 3
interface Loopback0
ip address 3.3.3.3 255.255.255.255
interface Serial1/0
ip address 36.36.36.3 255.255.255.0
serial restart-delay 0
interface Serial1/1
ip address 23.23.23.3 255.255.255.0
serial restart-delay 0
router bgp 12003
bgp log-neighbor-changes
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 12002
neighbor 36.36.36.6 remote-as 3
Router 4
interface Loopback0
ip address 4.4.4.4 255.255.255.255
interface Serial1/2
ip address 14.14.14.4 255.255.255.0
serial restart-delay 0
router bgp 12001
bgp log-neighbor-changes
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 12001
Router 5
interface Loopback0
ip address 5.5.5.5 255.255.255.255
interface Serial1/2
ip address 25.25.25.5 255.255.255.0
serial restart-delay 0
router bgp 12002
bgp log-neighbor-changes
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 12002
Router 6
interface Loopback0
ip address 6.6.6.6 255.255.255.255
interface Serial1/0
ip address 36.36.36.6 255.255.255.0
serial restart-delay 0
router bgp 3
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 123
oke mari kita mulai konfigurasinya, pertama mari kita konfigurasikan confederationnya
disana kita bisa lihat jika confederarition harus dipeer ke as lain di kelompok yang sama, dan diatas juga kita lihat confederation identifier, identifier ini yang berperan sebagai nama kelompok dari sub sub as, lakukan hal serupa pada router lain. sekarang mari kita verifikasi
pastikan semua ip loopback dapat di ping
oke hasilnya reply, selamat mencoba semoga bermanfaat wasalamualaikum wr wb