Pada kesempatan kali ini saya akan membuat tutorial cara menghubungkan beberapa routing protkol IGP (RIP, EIGRP, OSPF) yang berbeda-beda.
Topologinya nanti seperti ini
Pertama-tama kita konfigurasi RIP di R1
R1
R1(config) int e 0/0
R1(config-if) no sh
R1(config-if) ip add 12.12.12.1 255.255.255.0
R1(config) int l0
R1(config-if) ip add 1.1.1.1 255.255.255.255
----------RIP----------
R1(config) router rip
R1(config-router) net 12.12.12.0
R1(config-router) net 1.1.1.1
R1(config-router) no auto-summary
R1(config-if) no sh
R1(config-if) ip add 12.12.12.1 255.255.255.0
R1(config) int l0
R1(config-if) ip add 1.1.1.1 255.255.255.255
----------RIP----------
R1(config) router rip
R1(config-router) net 12.12.12.0
R1(config-router) net 1.1.1.1
R1(config-router) no auto-summary
Konfigurasikan RIP dan OSPF pada R2
R2
R2(config) int e 0/0
R2(config-if) no sh
R2(config-if) ip add 12.12.12.2 255.255.255.0
R2(config) int e 0/1
R2(config-if) no sh
R2(config-if) ip add 23.23.23.2 255.255.255.0
----------RIP----------
R2(config) router rip
R2(config-router) net 12.12.12.0
R2(config-router) no auto-summary
----------OSPF----------
R2(config) router ospf 23
R2(config-router) net 23.23.23.0 0.0.0.255 a 0
R2(config-if) no sh
R2(config-if) ip add 12.12.12.2 255.255.255.0
R2(config) int e 0/1
R2(config-if) no sh
R2(config-if) ip add 23.23.23.2 255.255.255.0
----------RIP----------
R2(config) router rip
R2(config-router) net 12.12.12.0
R2(config-router) no auto-summary
----------OSPF----------
R2(config) router ospf 23
R2(config-router) net 23.23.23.0 0.0.0.255 a 0
Konfigurasikan OSPF dan EIGRP pada R3
R3
R3(config) int e 0/0
R3(config-if) no sh
R3(config-if) ip add 23.23.23.3 255.255.255.0
R3(config) int e 0/1
R3(config-if) no sh
R3(config-if) ip add 34.34.34.3 255.255.255.0
----------OSPF----------
R2(config) router ospf 23
R2(config-router) net 23.23.23.0 0.0.0.255 a 0
----------EIGRP----------
R2(config) router eigrp 34
R2(config-router) net 34.34.34.0
R2(config-router) no auto
R3(config-if) no sh
R3(config-if) ip add 23.23.23.3 255.255.255.0
R3(config) int e 0/1
R3(config-if) no sh
R3(config-if) ip add 34.34.34.3 255.255.255.0
----------OSPF----------
R2(config) router ospf 23
R2(config-router) net 23.23.23.0 0.0.0.255 a 0
----------EIGRP----------
R2(config) router eigrp 34
R2(config-router) net 34.34.34.0
R2(config-router) no auto
Konfigurasikan EIGRP dan RIP pada R4
R4
R4(config) int e 0/0
R4(config-if) no sh
R4(config-if) ip add 34.34.34.4 255.255.255.0
R4(config) int e 0/1
R4(config-if) no sh
R4(config-if) ip add 45.45.45.4 255.255.255.0
----------EIGRP----------
R4(config) router eigrp 34
R4(config-router) net 34.34.34.0
R4(config-router) no auto
----------RIP----------
R4(config) router rip
R4(config-router) version 2
R4(config-router) net 45.45.45.0
R4(config-router) no auto
R4(config-if) no sh
R4(config-if) ip add 34.34.34.4 255.255.255.0
R4(config) int e 0/1
R4(config-if) no sh
R4(config-if) ip add 45.45.45.4 255.255.255.0
----------EIGRP----------
R4(config) router eigrp 34
R4(config-router) net 34.34.34.0
R4(config-router) no auto
----------RIP----------
R4(config) router rip
R4(config-router) version 2
R4(config-router) net 45.45.45.0
R4(config-router) no auto
Konfigurasikan RIP pada R5
R5
R5(config) int e 0/0
R5(config-if) no sh
R5(config-if) ip add 45.45.45.5 255.255.255.0
----------RIP----------
R5(config-router) net 45.45.45.0
R5(config-router) no auto
R5(config-if) no sh
R5(config-if) ip add 45.45.45.5 255.255.255.0
----------RIP----------
R5(config) router rip
R5(config-router) version 2R5(config-router) net 45.45.45.0
R5(config-router) no auto
Konfigurasi Mutual Redistribution
untuk mutual redistribution konfigurasinya cuma di router-router yang memiliki routing protocol yang berbeda, pada topologi cuma R2, R3 dan R4
R2
----------OSPF to RIP----------
R2(config) router rip
R2(config-router) redistribute ospf 23 metric 1
----------RIP to OSPF----------
R2(config) router ospf 23
R2(config-router) redistribute rip subnets
R2(config) router rip
R2(config-router) redistribute ospf 23 metric 1
----------RIP to OSPF----------
R2(config) router ospf 23
R2(config-router) redistribute rip subnets
R3
----------EIGRP to OSPF----------
R2(config) router ospf 23
R2(config-router) redistribute eigrp 34 subnets
----------OSPF to EIGRP----------
R2(config) router eigrp 34
R2(config-router) redistribute ospf 23 metric 1 1 1 1 1
R2(config) router ospf 23
R2(config-router) redistribute eigrp 34 subnets
----------OSPF to EIGRP----------
R2(config) router eigrp 34
R2(config-router) redistribute ospf 23 metric 1 1 1 1 1
R4
----------RIP to EIGRP----------
R2(config) router eigrp 34
R2(config-router) redistribute rip metric 1 1 1 1 1
----------EIGRP to RIP----------
R2(config) router rip
R2(config-router) redistribute eigrp 34 metric 1
R2(config) router eigrp 34
R2(config-router) redistribute rip metric 1 1 1 1 1
----------EIGRP to RIP----------
R2(config) router rip
R2(config-router) redistribute eigrp 34 metric 1
Verifikasi
R3
R1# show ip route
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
R 5.0.0.0/8 [120/1] via 12.12.12.2, 00:00:07, Ethernet0/0
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.12.12.0/24 is directly connected, Ethernet0/0
L 12.12.12.1/32 is directly connected, Ethernet0/0
R 23.0.0.0/8 [120/1] via 12.12.12.2, 00:00:07, Ethernet0/0
R 34.0.0.0/8 [120/1] via 12.12.12.2, 00:00:07, Ethernet0/0
R 45.0.0.0/8 [120/1] via 12.12.12.2, 00:00:07, Ethernet0/0
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
R 5.0.0.0/8 [120/1] via 12.12.12.2, 00:00:07, Ethernet0/0
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.12.12.0/24 is directly connected, Ethernet0/0
L 12.12.12.1/32 is directly connected, Ethernet0/0
R 23.0.0.0/8 [120/1] via 12.12.12.2, 00:00:07, Ethernet0/0
R 34.0.0.0/8 [120/1] via 12.12.12.2, 00:00:07, Ethernet0/0
R 45.0.0.0/8 [120/1] via 12.12.12.2, 00:00:07, Ethernet0/0
R2(config)# do show ip route
R 1.0.0.0/8 [120/1] via 12.12.12.1, 00:00:04, Ethernet0/0
5.0.0.0/32 is subnetted, 1 subnets
O E 2 5.5.5.5 [110/20] via 23.23.23.3, 01:00:29, Ethernet0/1
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.12.12.0/24 is directly connected, Ethernet0/0
L 12.12.12.2/32 is directly connected, Ethernet0/0
23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 23.23.23.0/24 is directly connected, Ethernet0/1
L 23.23.23.2/32 is directly connected, Ethernet0/1
34.0.0.0/24 is subnetted, 1 subnets
O E2 34.34.34.0 [110/20] via 23.23.23.3, 01:01:34, Ethernet0/1
45.0.0.0/24 is subnetted, 1 subnets
O E2 45.45.45.0 [110/20] via 23.23.23.3, 01:00:29, Ethernet0/1
R 1.0.0.0/8 [120/1] via 12.12.12.1, 00:00:04, Ethernet0/0
5.0.0.0/32 is subnetted, 1 subnets
O E 2 5.5.5.5 [110/20] via 23.23.23.3, 01:00:29, Ethernet0/1
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.12.12.0/24 is directly connected, Ethernet0/0
L 12.12.12.2/32 is directly connected, Ethernet0/0
23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 23.23.23.0/24 is directly connected, Ethernet0/1
L 23.23.23.2/32 is directly connected, Ethernet0/1
34.0.0.0/24 is subnetted, 1 subnets
O E2 34.34.34.0 [110/20] via 23.23.23.3, 01:01:34, Ethernet0/1
45.0.0.0/24 is subnetted, 1 subnets
O E2 45.45.45.0 [110/20] via 23.23.23.3, 01:00:29, Ethernet0/1
0 komentar:
Posting Komentar