Topologi
Pada lab yang ke 4 ini kita akan mengkonfigurasi topologi tersebut dengan empat Routing Protocol, yaitu OSPF, EIGRP, RIPv2, BGP. Topologi ini terbagi menjadi 3 bagian AS yang berbeda beda, tiap AS memiliki Routing Protocol Interior yang berbeda seperti OSPF, EIGRP, dan RIPv2 sedangkan untuk menghubungkan antar AS tersebut kita menggunakan eBGP, dari IGP diredistribute menjadi BGP dan dikirim ke AS tetangga, agar antar AS dapat saling mengetahui informasi tetangganya.
Pada lab yang ke 4 ini kita akan mengkonfigurasi topologi tersebut dengan empat Routing Protocol, yaitu OSPF, EIGRP, RIPv2, BGP. Topologi ini terbagi menjadi 3 bagian AS yang berbeda beda, tiap AS memiliki Routing Protocol Interior yang berbeda seperti OSPF, EIGRP, dan RIPv2 sedangkan untuk menghubungkan antar AS tersebut kita menggunakan eBGP, dari IGP diredistribute menjadi BGP dan dikirim ke AS tetangga, agar antar AS dapat saling mengetahui informasi tetangganya.
Konfigurasi Bagian 1
Pada bagian ini dengan AS number 30, seluruh Router menggunakan protocol EIGRP untuk jaringan interior dalam satu AS.IP Address
Kita konfigurasi IP Address pada setiap Interface Router terlebih dahulu, pengalamatan IP berdasarkan nomor Router agar lebih mudah, misalnya pada interface R1 yang terhubung dengan R2 maka alamat IP-nya adalah 12.12.12.1IP Address R1
R1(config)#int s0/0/0 R1(config-if)#clock rate 4000000 R1(config-if)#ip add 12.12.12.1 255.255.255.0 R1(config-if)#no sh R1(config-if)#exit R1(config)#int s0/0/1 R1(config-if)#ip add 13.13.13.1 255.255.255.0 R1(config-if)#no sh R1(config-if)#exit R1(config)#int g0/0 R1(config-if)#ip add 10.10.10.1 255.255.255.0 R1(config-if)#no sh R1(config-if)#exit
IP Address R2
R2(config)#int s0/0/0 R2(config-if)#ip add 12.12.12.2 255.255.255.0 R2(config-if)#no sh R2(config-if)#exit R2(config)#int s0/0/1 R2(config-if)#ip add 23.23.23.2 255.255.255.0 R2(config-if)#no sh R2(config-if)#exit R2(config)#int g0/0 R2(config-if)#ip add 20.20.20.1 255.255.255.0 R2(config-if)#no sh R2(config-if)#exit
IP Address R3
R3(config)#int s0/0/1 R3(config-if)#clock rate 4000000 R3(config-if)#ip add 13.13.13.3 255.255.255.0 R3(config-if)#no sh R3(config-if)#exit R3(config)#int s0/0/0 R3(config-if)#ip add 23.23.23.3 255.255.255.0 R3(config-if)#no sh R3(config-if)#exit R3(config)#int g0/0 R3(config-if)#ip add 30.30.30.1 255.255.255.0 R3(config-if)#no sh R3(config-if)#exit R3(config)#int s0/1/0 R3(config-if)#ip add 103.103.103.3 255.255.255.0 R3(config-if)#no sh R3(config-if)#exit
IP Address PC0
IP Address PC2
IP Address PC4
Routing EIGRP
Konfigurasi EIGRP tinggal masukan network-network yang terhubung langsung pada masing-masing Router.EIGRP R1
R1(config)#router eigrp 30 R1(config-router)#no auto-summ R1(config-router)#net 12.12.12.0 0.0.0.255 R1(config-router)#net 13.13.13.0 0.0.0.255 R1(config-router)#net 10.10.10.0 0.0.0.255 R1(config-router)#exit
EIGRP R2
R2(config)#router eigrp 30 R2(config-router)#no auto-summ R2(config-router)#net 20.20.20.0 0.0.0.255 R2(config-router)#net 12.12.12.0 0.0.0.255 R2(config-router)#net 23.23.23.0 0.0.0.255 R2(config-router)#exit
EIGRP R3
R3(config)#router eigrp 30 R3(config-router)#no auto-summ R3(config-router)#net 23.23.23.0 0.0.0.255 R3(config-router)#net 13.13.13.0 0.0.0.255 R3(config-router)#net 30.30.30.0 0.0.0.255 R3(config-router)#redistribute bgp 30 metric 1 1 1 1 1 R3(config-router)#exitLalu kita dapat melihat hasilnya pada Routing table
R3(config-router)#do sh ip ro Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 10.0.0.0/24 is subnetted, 1 subnets D 10.10.10.0/24 [90/2170112] via 13.13.13.1, 00:02:44, Serial0/0/1 12.0.0.0/24 is subnetted, 1 subnets D 12.12.12.0/24 [90/2681856] via 23.23.23.2, 00:02:50, Serial0/0/0 [90/2681856] via 13.13.13.1, 00:02:44, Serial0/0/1 13.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 13.13.13.0/24 is directly connected, Serial0/0/1 L 13.13.13.3/32 is directly connected, Serial0/0/1 20.0.0.0/24 is subnetted, 1 subnets D 20.20.20.0/24 [90/2170112] via 23.23.23.2, 00:02:50, Serial0/0/0 23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 23.23.23.0/24 is directly connected, Serial0/0/0 L 23.23.23.3/32 is directly connected, Serial0/0/0 30.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 30.30.30.0/24 is directly connected, GigabitEthernet0/0 L 30.30.30.1/32 is directly connected, GigabitEthernet0/0Lalu coba kita lakukan PING dari salah satu PC menuju PC lainnya yang berada di Network yang berbeda.
Routing BGP
Protocol BGP berfungsi untuk menghubungkan AS ini dengan AS lainnya, Router yang menjalankan BGP adalah Router R3.R3(config)#router bgp 30 R3(config-router)#neighbor 103.103.103.10 remote-as 10 R3(config-router)#network 103.103.103.0 mask 255.255.255.0 R3(config-router)#redistribute eigrp 30
Konfigurasi R10
R10 adalah Router yang berada ditengah tengah yang menghubungkan ketiga AS yang berbeda, kita harus mengkonfigurasinya agar antar AS dapat bertukar informasi Routing.IP Address
R10(config)#int s0/0/0 R10(config-if)#ip add 103.103.103.10 255.255.255.0 R10(config-if)#no sh R10(config-if)#exit R10(config)#int s0/0/1 R10(config-if)#clock rate 4000000 R10(config-if)#ip add 104.104.104.10 255.255.255.0 R10(config-if)#no sh R10(config-if)#exit R10(config)#int s0/1/0 R10(config-if)#clock rate 4000000 R10(config-if)#ip add 108.108.108.10 255.255.255.0 R10(config-if)#no sh R10(config-if)#exit
BGP
R10(config)#router bgp 10 R10(config-router)#neighbor 103.103.103.3 remote-as 30 R10(config-router)#neighbor 104.104.104.4 remote-as 40 R10(config-router)#neighbor 108.108.108.8 remote-as 80 R10(config-router)#net 103.103.103.0 mask 255.255.255.0 R10(config-router)#net 104.104.104.0 mask 255.255.255.0 R10(config-router)#net 108.108.108.0 mask 255.255.255.0 R10(config-router)#exit
Konfigurasi Bagian 2
Pada bagian ini AS Number-nya adalah 40, untuk keperluan Routing interior atau dalam satu AS yang sama antar Router menggunakan protocol OSPF untuk mendistribusikan informasinya, sedangkan untuk antar AS menggunakan BGP.Konfigurasi IP Address
Atur alamat IP setiap interface Router, pengalamatan berdasarkan nomor Router agar lebih mudah.IP Address R4
R4(config)#int s0/0/0 R4(config-if)#ip add 104.104.104.4 255.255.255.0 R4(config-if)#no sh R4(config-if)#exit R4(config)#int s0/0/1 R4(config-if)#clock rate 4000000 R4(config-if)#ip add 45.45.45.4 255.255.255.0 R4(config-if)#no sh R4(config-if)#exit R4(config)#int s0/1/0 R4(config-if)#ip add 46.46.46.4 255.255.255.0 R4(config-if)#no sh R4(config-if)#exit R4(config)#int g0/0 R4(config-if)#ip add 40.40.40.1 255.255.255.0 R4(config-if)#no sh R4(config-if)#exit
IP Address R5
R5(config)#int s0/0/0 R5(config-if)#ip add 45.45.45.5 255.255.255.0 R5(config-if)#no sh R5(config-if)#exit R5(config)#int s0/0/1 R5(config-if)#clock rate 4000000 R5(config-if)#ip add 56.56.56.5 255.255.255.0 R5(config-if)#no sh R5(config-if)#exit R5(config)#int g0/0 R5(config-if)#ip add 50.50.50.1 255.255.255.0 R5(config-if)#no sh R5(config-if)#exit
IP Address R6
R6(config)#int s0/0/0 R6(config-if)#ip add 56.56.56.6 255.255.255.0 R6(config-if)#no sh R6(config-if)#exit R6(config)#int s0/0/1 R6(config-if)#clock rate 4000000 R6(config-if)#ip add 46.46.46.6 255.255.255.0 R6(config-if)#no sh R6(config-if)#exit R6(config)#int g0/0 R6(config-if)#ip add 60.60.60.1 255.255.255.0 R6(config-if)#no sh
IP Address PC6
IP Address PC8
IP Address PC10
Routing OSPF
Masukan network-network pada Router yang ingin dibagian dengan OSPF. semuanya masukan saja pada area backbone saja atau area 0.OSPF R4
R4(config)#router ospf 40 R4(config-router)#net 40.40.40.0 0.0.0.255 area 0 R4(config-router)#net 45.45.45.0 0.0.0.255 area 0 R4(config-router)#net 46.46.46.0 0.0.0.255 area 0 R4(config-router)#redistribute bgp 40 subnets
OSPF R5
R5(config)#router ospf 40 R5(config-router)#net 50.50.50.0 0.0.0.255 area 0 R5(config-router)#net 45.45.45.0 0.0.0.255 area 0 R5(config-router)#net 56.56.56.0 0.0.0.255 area 0 R5(config-router)#exit
OSPF R6
R6(config)#router ospf 40 R6(config-router)#net 56.56.56.0 0.0.0.255 area 0 R6(config-router)#net 46.46.46.0 0.0.0.255 area 0 R6(config-router)#net 60.60.60.0 0.0.0.255 area 0 R6(config-router)#exit
Routing BGP
Konfigurasi BGP untuk menghubungkan AS ini dengan AS lainnya. Router yang menggunakan BGP pada AS ini adalah R4R4(config)#router bgp 40 R4(config-router)#neighbor 104.104.104.10 remote-as 10 R4(config-router)#network 104.104.104.0 mask 255.255.255.0 R4(config-router)#redistribute ospf 40Lalu kita dapat melihat hasilnya pada salah satu Router
R6#sh ip ro Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 10.0.0.0/24 is subnetted, 1 subnets O E2 10.10.10.0/24 [110/20] via 46.46.46.4, 00:00:44, Serial0/0/1 12.0.0.0/24 is subnetted, 1 subnets O E2 12.12.12.0/24 [110/20] via 46.46.46.4, 00:00:44, Serial0/0/1 13.0.0.0/24 is subnetted, 1 subnets O E2 13.13.13.0/24 [110/20] via 46.46.46.4, 00:00:44, Serial0/0/1 20.0.0.0/24 is subnetted, 1 subnets O E2 20.20.20.0/24 [110/20] via 46.46.46.4, 00:00:44, Serial0/0/1 23.0.0.0/24 is subnetted, 1 subnets O E2 23.23.23.0/24 [110/20] via 46.46.46.4, 00:00:44, Serial0/0/1 30.0.0.0/24 is subnetted, 1 subnets O E2 30.30.30.0/24 [110/20] via 46.46.46.4, 00:00:44, Serial0/0/1 40.0.0.0/24 is subnetted, 1 subnets O 40.40.40.0/24 [110/65] via 46.46.46.4, 00:14:05, Serial0/0/1 45.0.0.0/24 is subnetted, 1 subnets O 45.45.45.0/24 [110/128] via 56.56.56.5, 00:14:05, Serial0/0/0 [110/128] via 46.46.46.4, 00:14:05, Serial0/0/1 46.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 46.46.46.0/24 is directly connected, Serial0/0/1 L 46.46.46.6/32 is directly connected, Serial0/0/1 50.0.0.0/24 is subnetted, 1 subnets O 50.50.50.0/24 [110/65] via 56.56.56.5, 00:14:05, Serial0/0/0 56.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 56.56.56.0/24 is directly connected, Serial0/0/0 L 56.56.56.6/32 is directly connected, Serial0/0/0 60.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 60.60.60.0/24 is directly connected, GigabitEthernet0/0 L 60.60.60.1/32 is directly connected, GigabitEthernet0/0 103.0.0.0/24 is subnetted, 1 subnets O E2 103.103.103.0/24 [110/20] via 46.46.46.4, 00:00:44, Serial0/0/1 104.0.0.0/24 is subnetted, 1 subnets O E2 104.104.104.0/24 [110/20] via 46.46.46.4, 00:00:44, Serial0/0/1
Konfigurasi Bagian 3
Pada bagian antar ketiga Router menggunakan RIPv2 untuk Routing Interior atau dalam satu AS yang sama.IP Address
Alamat IP berdasarkan nomor Router agar lebih mudah.IP Address R7
R7(config)#int s0/0/0 R7(config-if)#clock rate 4000000 R7(config-if)#ip add 78.78.78.7 255.255.255.0 R7(config-if)#no sh R7(config-if)#exit R7(config)#int s0/0/1 R7(config-if)#clock rate 4000000 R7(config-if)#ip add 79.79.79.7 255.255.255.0 R7(config-if)#no sh R7(config-if)#exit R7(config)#int g0/0 R7(config-if)#ip add 70.70.70.1 255.255.255.0 R7(config-if)#no sh R7(config-if)#exit
IP Address R8
R8(config)#int s0/0/0 R8(config-if)#ip add 108.108.108.8 255.255.255.0 R8(config-if)#no sh R8(config-if)#exit R8(config)#int s0/0/1 R8(config-if)#ip add 78.78.78.8 255.255.255.0 R8(config-if)#no sh R8(config-if)#exit R8(config)#int s0/1/0 R8(config-if)#ip add 89.89.89.8 255.255.255.0 R8(config-if)#no sh R8(config-if)#exit R8(config)#int g0/0 R8(config-if)#ip add 80.80.80.1 255.255.255.0 R8(config-if)#no sh R8(config-if)#exit
IP Address R9
R9(config)#int s0/0/0 R9(config-if)#ip add 79.79.79.9 255.255.255.0 R9(config-if)#no sh R9(config-if)#exit R9(config)#int s0/0/1 R9(config-if)#clock rate 4000000 R9(config-if)#ip add 89.89.89.9 255.255.255.0 R9(config-if)#no sh R9(config-if)#exit R9(config)#int g0/0 R9(config-if)#ip add 90.90.90.1 255.255.255.0 R9(config-if)#no sh R9(config-if)#exit
IP Address PC12
IP Address PC14
IP Address PC16
Routing RIP
Konfigurasi RIPv2 pada setiap RouterRIPv2 R7
R7(config)#router rip R7(config-router)#ver 2 R7(config-router)#no auto-summ R7(config-router)#network 70.70.70.0 R7(config-router)#network 78.78.78.0 R7(config-router)#network 79.79.79.9 R7(config-router)#net 79.79.79.0 R7(config-router)#exit
RIPv2 R8
R8(config)#router rip R8(config-router)#ver 2 R8(config-router)#no auto-summ R8(config-router)#net 80.80.80.0 R8(config-router)#net 78.78.78.0 R8(config-router)#net 89.89.89.0 R8(config-router)#exit
RIPv2 R9
R9(config)#router rip R9(config-router)#ver 2 R9(config-router)#no auto-summary R9(config-router)#net 90.90.90.0 R9(config-router)#net 79.79.79.0 R9(config-router)#net 89.89.89.0 R9(config-router)#exit
Konfigurasi BGP R3
R8(config)#router bgp 80 R8(config-router)#neighbor 108.108.108.10 remote-as 10 R8(config-router)#net 108.108.108.0 mask 255.255.255.0Kemudian kita dapat melihat hasilnya
R8(config)#do sh ip ro Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 10.0.0.0/24 is subnetted, 1 subnets B 10.10.10.0/24 [20/0] via 108.108.108.10, 06:01:27 12.0.0.0/24 is subnetted, 1 subnets B 12.12.12.0/24 [20/0] via 108.108.108.10, 06:01:27 13.0.0.0/24 is subnetted, 1 subnets B 13.13.13.0/24 [20/0] via 108.108.108.10, 06:01:27 20.0.0.0/24 is subnetted, 1 subnets B 20.20.20.0/24 [20/0] via 108.108.108.10, 06:01:27 23.0.0.0/24 is subnetted, 1 subnets B 23.23.23.0/24 [20/0] via 108.108.108.10, 06:01:27 30.0.0.0/24 is subnetted, 1 subnets B 30.30.30.0/24 [20/0] via 108.108.108.10, 06:01:27 40.0.0.0/24 is subnetted, 1 subnets B 40.40.40.0/24 [20/0] via 108.108.108.10, 06:01:27 45.0.0.0/24 is subnetted, 1 subnets B 45.45.45.0/24 [20/0] via 108.108.108.10, 06:01:27 46.0.0.0/24 is subnetted, 1 subnets B 46.46.46.0/24 [20/0] via 108.108.108.10, 06:01:27 50.0.0.0/24 is subnetted, 1 subnets B 50.50.50.0/24 [20/0] via 108.108.108.10, 06:01:27 56.0.0.0/24 is subnetted, 1 subnets B 56.56.56.0/24 [20/0] via 108.108.108.10, 06:01:27 60.0.0.0/24 is subnetted, 1 subnets B 60.60.60.0/24 [20/0] via 108.108.108.10, 06:01:27 70.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R 70.0.0.0/8 is possibly down, routing via 89.89.89.9, Serial0/1/0 R 70.70.70.0/24 [120/1] via 78.78.78.7, 00:00:07, Serial0/0/1 78.0.0.0/8 is variably subnetted, 3 subnets, 3 masks R 78.0.0.0/8 is possibly down, routing via 78.78.78.7, Serial0/0/1 C 78.78.78.0/24 is directly connected, Serial0/0/1 L 78.78.78.8/32 is directly connected, Serial0/0/1 79.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R 79.0.0.0/8 is possibly down, routing via 89.89.89.9, Serial0/1/0 R 79.79.79.0/24 [120/1] via 78.78.78.7, 00:00:07, Serial0/0/1 [120/1] via 89.89.89.9, 00:00:09, Serial0/1/0 80.0.0.0/8 is variably subnetted, 3 subnets, 3 masks R 80.0.0.0/8 is possibly down, routing via 78.78.78.7, Serial0/0/1 C 80.80.80.0/24 is directly connected, GigabitEthernet0/0 L 80.80.80.1/32 is directly connected, GigabitEthernet0/0 89.0.0.0/8 is variably subnetted, 3 subnets, 3 masks R 89.0.0.0/8 is possibly down, routing via 78.78.78.7, Serial0/0/1 C 89.89.89.0/24 is directly connected, Serial0/1/0 L 89.89.89.8/32 is directly connected, Serial0/1/0 90.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R 90.0.0.0/8 [120/1] via 89.89.89.9, 00:02:28, Serial0/1/0 R 90.90.90.0/24 [120/1] via 89.89.89.9, 00:00:09, Serial0/1/0 103.0.0.0/24 is subnetted, 1 subnets B 103.103.103.0/24 [20/0] via 108.108.108.10, 06:01:27 104.0.0.0/24 is subnetted, 1 subnets B 104.104.104.0/24 [20/0] via 108.108.108.10, 06:01:27 108.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 108.108.108.0/24 is directly connected, Serial0/0/0 L 108.108.108.8/32 is directly connected, Serial0/0
Komentar
Posting Komentar