Pada lab sebelumnya kita telah belajar tentang IBGP Route Reflcetor pada IOS XR.. selanjutnya pada lab ini kita akan belajar tentang IBGP Confederation..
Berikut topologi yang akan kita gunakan
Pertama kita harus konfigurasi IP Address dan routing protocol IGP pada jaringan diatas.. pada lab ini kita akan menggunakan EIGRP yaaa.. jika ada yg belum bisa konfigurasi EIGRP di IOS XR bisa merujuk ke artikel berikut : Konfigurasi EIGRP di IOS XR..
Setelah konfigurasi EIGRP, hasilnya adalah sebagai berikut
Perhatikan topologi diatas, IOS-XR1 dan IOS-XR2 menggunaakn AS confederation 12 sedangkan IOS-XR3 dan IOS-XR4 menggunakan AS confederation 34..
Berikut konfigurasi pada IOS-XR1
Selanjutnya berikut konfigurasi di IOS-XR3
Yang terahir, berikut konfigurasi pada IOS-XR4
{ Read More }
Berikut topologi yang akan kita gunakan
Pertama kita harus konfigurasi IP Address dan routing protocol IGP pada jaringan diatas.. pada lab ini kita akan menggunakan EIGRP yaaa.. jika ada yg belum bisa konfigurasi EIGRP di IOS XR bisa merujuk ke artikel berikut : Konfigurasi EIGRP di IOS XR..
Setelah konfigurasi EIGRP, hasilnya adalah sebagai berikut
RP/0/0/CPU0:IOS-XR1(config-eigrp-af-if)#do sh route eigrp Wed Jun 7 06:47:34.279 UTC D 2.2.2.2/32 [90/10752] via 12.12.12.2, 00:03:03, GigabitEthernet0/0/0/0 D 3.3.3.3/32 [90/15872] via 12.12.12.2, 00:01:12, GigabitEthernet0/0/0/0 D 4.4.4.4/32 [90/20992] via 12.12.12.2, 00:00:32, GigabitEthernet0/0/0/0 D 23.23.23.0/24 [90/15360] via 12.12.12.2, 00:03:03, GigabitEthernet0/0/0/0 D 34.34.34.0/24 [90/20480] via 12.12.12.2, 00:01:12, GigabitEthernet0/0/0/0
RP/0/0/CPU0:IOS-XR2(config-eigrp-af-if)#do sh route eigrp Wed Jun 7 06:48:06.896 UTC D 1.1.1.1/32 [90/10752] via 12.12.12.1, 00:03:17, GigabitEthernet0/0/0/0 D 3.3.3.3/32 [90/10752] via 23.23.23.3, 00:01:45, GigabitEthernet0/0/0/1 D 4.4.4.4/32 [90/15872] via 23.23.23.3, 00:01:05, GigabitEthernet0/0/0/1 D 34.34.34.0/24 [90/15360] via 23.23.23.3, 00:01:45, GigabitEthernet0/0/0/1
RP/0/0/CPU0:IOS-XR3(config-eigrp-af-if)#do sh route eigrp Wed Jun 7 06:48:30.135 UTC D 1.1.1.1/32 [90/15872] via 23.23.23.2, 00:01:54, GigabitEthernet0/0/0/0 D 2.2.2.2/32 [90/10752] via 23.23.23.2, 00:01:54, GigabitEthernet0/0/0/0 D 4.4.4.4/32 [90/10752] via 34.34.34.4, 00:01:29, GigabitEthernet0/0/0/1 D 12.12.12.0/24 [90/15360] via 23.23.23.2, 00:01:54, GigabitEthernet0/0/0/0
Oke.. pastikan hasilnya sudah seperti itu ya.. pastikan juga masing-masing router sudah bisa ping ke loopback0 router lainnya.. berikut contoh ping dari IOS-XR1 ke loopback0 router lainnyaRP/0/0/CPU0:IOS-XR4(config-eigrp-af-if)#do sh route eigrp Wed Jun 7 06:48:48.963 UTC D 1.1.1.1/32 [90/20992] via 34.34.34.3, 00:01:29, GigabitEthernet0/0/0/0 D 2.2.2.2/32 [90/15872] via 34.34.34.3, 00:01:29, GigabitEthernet0/0/0/0 D 3.3.3.3/32 [90/10752] via 34.34.34.3, 00:01:29, GigabitEthernet0/0/0/0 D 12.12.12.0/24 [90/20480] via 34.34.34.3, 00:01:29, GigabitEthernet0/0/0/0 D 23.23.23.0/24 [90/15360] via 34.34.34.3, 00:01:29, GigabitEthernet0/0/0/0
Oke kalu sudah berhasil seperti diatas, selanjutnya kita akan konfigurasi IBGP dengan confederation..RP/0/0/CPU0:IOS-XR1(config-eigrp-af-if)#do ping ipv4 2.2.2.2 Wed Jun 7 06:51:23.093 UTC Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms RP/0/0/CPU0:IOS-XR1(config-eigrp-af-if)#do ping ipv4 3.3.3.3 Wed Jun 7 06:51:25.653 UTC Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/6/19 ms RP/0/0/CPU0:IOS-XR1(config-eigrp-af-if)#do ping ipv4 4.4.4.4 Wed Jun 7 06:51:30.342 UTC Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 4.4.4.4, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/5/9 ms
Perhatikan topologi diatas, IOS-XR1 dan IOS-XR2 menggunaakn AS confederation 12 sedangkan IOS-XR3 dan IOS-XR4 menggunakan AS confederation 34..
Berikut konfigurasi pada IOS-XR1
Selanjutnya berikut konfigurasi pada IOS-XR2RP/0/0/CPU0:IOS-XR1(config)#router bgp 12 RP/0/0/CPU0:IOS-XR1(config-bgp)#bgp confederation identifier 12 RP/0/0/CPU0:IOS-XR1(config-bgp)#address-family ipv4 unicast RP/0/0/CPU0:IOS-XR1(config-bgp-af)#network 11.11.11.11/32 RP/0/0/CPU0:IOS-XR1(config-bgp-af)#exit RP/0/0/CPU0:IOS-XR1(config-bgp)#neighbor 2.2.2.2 RP/0/0/CPU0:IOS-XR1(config-bgp-nbr)#remote-as 12 RP/0/0/CPU0:IOS-XR1(config-bgp-nbr)#update-source lo0 RP/0/0/CPU0:IOS-XR1(config-bgp-nbr)#address-family ipv4 unicast RP/0/0/CPU0:IOS-XR1(config-bgp-nbr-af)#commit
Perhatikan bahwa pada IOS-XR2 kita perlu mengkonfigurisakan ebgp-multihop saat neighbor 3.3.3.3.. ini dikarenakan IOS-XR2 menganggap IOS-XR3 seolah-olah adalah external AS.. sedangkan untuk peering EBGP nilai ttl nya adalah 1.. jadi kita harus memperbesar nilai ttl menggunakan perintah ebgp-multihop ini..RP/0/0/CPU0:IOS-XR2(config)#router bgp 12 RP/0/0/CPU0:IOS-XR2(config-bgp)#bgp confederation identifier 12 RP/0/0/CPU0:IOS-XR2(config-bgp)#bgp confederation peers 34 RP/0/0/CPU0:IOS-XR2(config-bgp)#address-family ipv4 unicast RP/0/0/CPU0:IOS-XR2(config-bgp-af)#network 22.22.22.22/32 RP/0/0/CPU0:IOS-XR2(config-bgp-af)#exit RP/0/0/CPU0:IOS-XR2(config-bgp)#neighbor 1.1.1.1 RP/0/0/CPU0:IOS-XR2(config-bgp-nbr)#remote-as 12 RP/0/0/CPU0:IOS-XR2(config-bgp-nbr)#update-source lo0 RP/0/0/CPU0:IOS-XR2(config-bgp-nbr)#address-family ipv4 unicast RP/0/0/CPU0:IOS-XR2(config-bgp-nbr-af)#neighbor 3.3.3.3 RP/0/0/CPU0:IOS-XR2(config-bgp-nbr)#remote-as 34 RP/0/0/CPU0:IOS-XR2(config-bgp-nbr)#update-source lo0 RP/0/0/CPU0:IOS-XR2(config-bgp-nbr)#address-family ipv4 unicast RP/0/0/CPU0:IOS-XR2(config-bgp-nbr-af)#commit
Selanjutnya berikut konfigurasi di IOS-XR3
Perhatikan bahwa kita juga perlu mengkonfigurasikan ebgp-multihop pada IOS-XR3RP/0/0/CPU0:IOS-XR3(config)#router bgp 34 RP/0/0/CPU0:IOS-XR3(config-bgp)#bgp confederation identifier 1234 RP/0/0/CPU0:IOS-XR3(config-bgp)#bgp confederation peers 12 RP/0/0/CPU0:IOS-XR3(config-bgp)#address-family ipv4 unicast RP/0/0/CPU0:IOS-XR3(config-bgp-af)#network 33.33.33.33/32 RP/0/0/CPU0:IOS-XR3(config-bgp-af)#exit RP/0/0/CPU0:IOS-XR3(config-bgp)#neighbor 2.2.2.2 RP/0/0/CPU0:IOS-XR3(config-bgp-nbr)#remote-as 12 RP/0/0/CPU0:IOS-XR3(config-bgp-nbr)#update-source lo0 RP/0/0/CPU0:IOS-XR3(config-bgp-nbr)#address-family ipv4 unicast RP/0/0/CPU0:IOS-XR3(config-bgp-nbr-af)#neighbor 4.4.4.4 RP/0/0/CPU0:IOS-XR3(config-bgp-nbr)#remote-as 34 RP/0/0/CPU0:IOS-XR3(config-bgp-nbr)#update-source lo0 RP/0/0/CPU0:IOS-XR3(config-bgp-nbr)#address-family ipv4 unicast RP/0/0/CPU0:IOS-XR3(config-bgp-nbr-af)#commit
Yang terahir, berikut konfigurasi pada IOS-XR4
Oke.. konfigurasi sudah selesai.. Untuk pengujian,, pastikan IOS-XR1 menerima network dari IOS-XR2, IOS-XR3, dan IOS-XR4RP/0/0/CPU0:IOS-XR4(config)#router bgp 34 RP/0/0/CPU0:IOS-XR4(config-bgp)#bgp confederation identifier 1234 RP/0/0/CPU0:IOS-XR4(config-bgp)#address-family ipv4 unicast RP/0/0/CPU0:IOS-XR4(config-bgp-af)#network 44.44.44.44/32 RP/0/0/CPU0:IOS-XR4(config-bgp-af)#exit RP/0/0/CPU0:IOS-XR4(config-bgp)#neighbor 3.3.3.3 RP/0/0/CPU0:IOS-XR4(config-bgp-nbr)#remote-as 34 RP/0/0/CPU0:IOS-XR4(config-bgp-nbr)#update-source lo0 RP/0/0/CPU0:IOS-XR4(config-bgp-nbr)#address-family ipv4 unicast RP/0/0/CPU0:IOS-XR4(config-bgp-nbr-af)#commit
Oke sudah berhasil ya.. untuk lebih memastikan, kita coba lihat tabel routing di IOS-XR1RP/0/0/CPU0:IOS-XR1(config-bgp-nbr-af)#do sh bgp Wed Jun 7 07:31:04.430 UTC BGP router identifier 1.1.1.1, local AS number 12 BGP generic scan interval 60 secs Non-stop routing is enabled BGP table state: Active Table ID: 0xe0000000 RD version: 6 BGP main routing table version 6 BGP NSR Initial initsync version 2 (Reached) BGP NSR/ISSU Sync-Group versions 0/0 BGP scan interval 60 secs Status codes: s suppressed, d damped, h history, * valid, > best i - internal, r RIB-failure, S stale, N Nexthop-discard Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 11.11.11.11/32 0.0.0.0 0 32768 i *>i22.22.22.22/32 2.2.2.2 0 100 0 i *>i33.33.33.33/32 3.3.3.3 0 100 0 (34) i *>i44.44.44.44/32 4.4.4.4 0 100 0 (34) i Processed 4 prefixes, 4 paths
Oke sudah lengkap... sekarang kita coba lakukan ping yaaRP/0/0/CPU0:IOS-XR1(config-bgp-nbr-af)#do sh route bgp Wed Jun 7 07:31:43.497 UTC B 22.22.22.22/32 [200/0] via 2.2.2.2, 00:11:32 B 33.33.33.33/32 [200/0] via 3.3.3.3, 00:09:05 B 44.44.44.44/32 [200/0] via 4.4.4.4, 00:08:35
Oke sudah berhasil yaaa... Sampai saat ini kita sudah selesai dan berhasil melakukan konfigurasi IBGP confederation pada IOS XR.. sampai jumpa di artikel selanjutnya yaa.... In Syaa Allah masih akan membahas seputar IOS XR..RP/0/0/CPU0:IOS-XR1(config-bgp-nbr-af)#do ping 22.22.22.22 sou l1 Wed Jun 7 07:32:10.695 UTC Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 22.22.22.22, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/9 ms RP/0/0/CPU0:IOS-XR1(config-bgp-nbr-af)#do ping 33.33.33.33 sou l1 Wed Jun 7 07:32:14.505 UTC Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 33.33.33.33, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/9 ms RP/0/0/CPU0:IOS-XR1(config-bgp-nbr-af)#do ping 44.44.44.44 sou l1 Wed Jun 7 07:32:18.435 UTC Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 44.44.44.44, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/9 ms