Praktikum Cisco SMK Telkom Purwokerto
kelas 10 TJA
Semester 2 Routing & Switching Chapter 6 Single Area OSPF
Kali ini saya akan memberikan contoh konfigurasi sederhana OSPF menggunakan 1 ospf dan 2 area. Jangan lupa berikan gateway pada masing-masing PC.
kelas 10 TJA
Semester 2 Routing & Switching Chapter 6 Single Area OSPF
Kali ini saya akan memberikan contoh konfigurasi sederhana OSPF menggunakan 1 ospf dan 2 area. Jangan lupa berikan gateway pada masing-masing PC.
Tabel Konfigurasi Router
Device
|
Interface
|
Network
|
Subnet
|
IP Address
|
R1
|
DCE s0/1/0
|
10.10.10.0
|
255.255.255.252
|
10.10.10.1
|
R1
|
Fa0/0
|
192.168.1.0
|
255.255.255.0
|
192.168.1.100
|
R2
|
s0/1/0
|
10.10.10.0
|
255.255.255.252
|
10.10.10.2
|
R2
|
DCE s0/1/1
|
20.20.20.0
|
255.255.255.252
|
20.20.20.1
|
R2
|
Fa0/0
|
192.168.2.0
|
255.255.255.0
|
192.168.2.100
|
R3
|
s0/1/0
|
20.20.20.0
|
255.255.255.252
|
20.20.20.2
|
R3
|
Fa0/0
|
192.168.3.0
|
255.255.255.0
|
192.168.3.100
|
1. Konfigurasi Awal
R1#configure terminal
R1(config)#int s0/1/0
R1(config-if)#ip add 10.10.10.1 255.255.255.252
R1(config-if)# no shutdown
R1(config-if)#clock rate 64000
R1(config-if)#exit
R1(config)#int fa0/0
R1(config-if)#ip add 192.168.1.100 255.255.255.0
R1(config-if)# no shutdown
R1(config-if)#end
R1#copy r s
R2#configure terminal
R2(config)#int s0/1/0
R2(config-if)#ip add 10.10.10.2 255.255.255.252
R2(config-if)# no shutdown
R2(config-if)#exit
R2(config)#int s0/1/1
R2(config-if)#ip add 20.20.20.1 255.255.255.252
R2(config-if)# clock rate 64000
R2(config-if)# no shutdown
R2(config-if)#exit
R2(config)#int fa0/0
R2(config-if)#ip add 192.168.2.100 255.255.255.0
R2(config-if)# no shutdown
R2(config-if)#end
R2#copy r s
R3#configure terminal
R3(config)#int s0/1/0
R3(config-if)#ip add 20.20.20.2 255.255.255.252
R3(config-if)# no shutdown
R3(config-if)#exit
R3(config)#int fa0/0
R3(config-if)#ip add 192.168.3.100 255.255.255.0
R3(config-if)# no shutdown
R3(config-if)#end
R3#copy r s
2. Konfigurasi routing OSPF
R1#configure terminal
R1(config)#router ospf 1
R1(config-router)#network 192.168.1.0 0.0.0.255 area 0
R1(config-router)#network 10.10.10.0 0.0.0.3 area 0
R1(config-router)#end
R1#copy r s
R2#configure terminal
R2(config)#router ospf 1
R2(config-router)#network 192.168.2.0 0.0.0.255 area 0
R2(config-router)#network 10.10.10.0 0.0.0.3 area 0
R2(config-router)#network 20.20.20.0 0.0.0.3 area 1
R2(config-router)#end
R2#copy r s
R3#configure terminal
R3(config)#router ospf 1
R3(config-router)#network 192.168.3.0 0.0.0.255 area 1
R3(config-router)#network 20.20.20.0 0.0.0.3 area 1
R3(config-router)#end
R3#copy r s