Lab 1. Mutual Redistribution
Pada
postingan kali ini kita akan belajar saling redistribute berbagai macam routing
protocol. Lebih jelasnya perhatikan topologi diatas.
Konfigurasi R1
R1#conf
R1(config)#interface se0/0
R1(config-if)#ip address 12.12.12.1 255.255.255.0
R1(config-if)#no shu
R1(config-if)#ex
R1(config)#interface lo0
R1(config-if)#ip address 1.1.1.1 255.255.255.255
R1(config-if)#ex
R1(config)#router rip
R1(config-router)#ver 2
R1(config-router)#network 12.12.12.1
R1(config-router)#network 1.1.1.1
R1(config-router)#no au
Konfigurasi R2
R2(config)#interface se0/0
R2(config-if)#ip address 12.12.12.2 255.255.255.0
R2(config-if)#no shu
R2(config-if)#ex
R2(config)#interface fa0/0
R2(config-if)#ip address 23.23.23.2 255.255.255.0
R2(config-if)#no sh
R2(config-if)#ex
R2(config)#interface lo0
R2(config-if)#ip address 2.2.2.2 255.255.255.255
R2(config-if)#ex
R2(config)#router rip
R2(config-router)#ver 2
R2(config-router)#network 12.12.12.2
R2(config-router)#redistribute ospf 1 metric 1
R2(config-router)#ex
R2(config)#router ospf 1
R2(config-router)#network 23.23.23.2 0.0.0.0 area 0
R2(config-router)#redistribute rip subnets
R2(config-router)#
Konfigurasi R3
R3#configure
R3(config)#interface fa0/0
R3(config-if)#ip address 23.23.23.3 255.255.255.0
R3(config-if)#no au
R3(config)#interface fa0/1
R3(config-if)#ip address 34.34.34.3 255.255.255.0
R3(config-if)#ex
R3(config)#router ospf 1
R3(config-router)#redistribute eigrp 1 subnets
R3(config-router)#network 23.23.23.3 0.0.0.0 area 0
R3(config-router)#ex
R3(config)#router eigrp 1
R3(config-router)#network 34.34.34.3 0.0.0.0
R3(config-router)#redistribute ospf 1 metric 1 1 1 1 1
Konfigurasi R4
R4#configure
R4(config)#interface fa0/1
R4(config-if)#ip address 34.34.34.4 255.255.255.0
R4(config-if)#no shu
R4(config-if)#ex
R4(config)#interface se0/0
R4(config-if)#ip address 45.45.45.4 255.255.255.0
R4(config-if)#no sh
R4(config-if)#ex
R4(config)#router eigrp 1
R4(config-router)#network 34.34.34.4 0.0.0.0
R4(config-router)#redistribute ospf 2 metric 1 1 1 1 1
R4(config-router)#no au
R4(config-router)#ex
R4(config)#router ospf 2
R4(config-router)#network 45.45.45.4 0.0.0.0 area 0
R4(config-router)#redistribute eigrp 1 subnets
Konfigurasi R5
R5(config)#interface se0/0
R5(config-if)#ip address 45.45.45.5 255.255.255.0
R5(config-if)#no sh
R5(config-if)#ex
R5(config)#interface fa0/0
R5(config-if)#ip address 56.56.56.5 255.255.255.0
R5(config-if)#no sh
R5(config-if)#ex
R5(config)#router os 3
R5(config-router)#network 45.45.45.5 0.0.0.0 area 0
R5(config-router)#redistribute static subnets
R5(config-router)#default-information originate always
R5(config-router)#ex
R5(config)#interface lo0
R5(config-if)#ip address 5.5.5.5 255.255.255.255
Konfigurasi R6
R6(config)#interface fa0/0
R6(config-if)#ip address 56.56.56.6 255.255.255.0
R6(config-if)#no sh
R6(config-if)#ex
R6(config)#interface lo0
R6(config-if)#ip address 8.8.8.8 255.255.255.255
Verifikasi
Kemudian tambahkan IP Loopback1 55.55.55.5 di R5, kemduian lakukan redistribute connected di di R3 melalui router ospf
R5(config)#interface lo1
R5(config-if)#ip address 55.55.55.5 255.255.255.255
R5(config-if)#ex
R5(config)#router os 3
R5(config-router)#redistribute connected subnets
Cek routing Tabel di router paling ujung yakni R1, atau test PING
Berhasil
Jika di pada R1, R2, R3 dan R4 ketika di sh ip route, maka akan nampak ip 8.8.8.8 pada routing tabelnya, namun ketika di ping hasilnya no reply. Solusinya adalah tambahkan konfigurasi ini di R5.
R5(config)#ip nat inside source list 1 interface FastEthernet0/0 overload
R5(config)#access-list 1 permit any
R5(config-if)#interface FastEthernet0/0
R5(config-if)#ip nat outside
R5(config-if)#interface Serial0/0
R5(config-if)#ip nat inside
Test PING
Success
Posting Komentar untuk "Lab 1. Mutual Redistribution"