A.
Pengertian OSPF
2. Buka PC satu per satu untuk memberi IP Address.
PC0
PC1
PC2
PC3
3. Lakukan konfigurasi pada Router0
4.
Konfigurasi pada router1
5.
Konfigurasi pada router 2
6.
Konfigurasi pada router3
7.
Konfigurasi OSPF pada router0
8.
Konfigurasi OSPF pada router1
9.
Konfigurasi OSPF pada router2
10.
Konfigurasi OSPF pada router3
11.
Hasil konfigurasi melalui pesan yang dikirim dua
kali dari PC0 ke PC1. Dan hasilnya successfull.
12. Mengirim pesan
dari PC0 ke PC2 hasilnya successfull.
OSPF
merupakan routing protocol berbasis link state, termasuk dalam interior Gateway
Protocol (IGP). Menggunakan algoritma Dijkstra untuk menghitung shortest path
first (SPF). Menggunakan cost sebagai routing metric. Setelah antar router
bertukar informasi maka akan terbentuk database link state pada masing-masing
router. OSPF mungkin merupakan IGP yang paling banyak digunakan. Menggunakan
metode MD5 untuk autentikasi antar router sebelum menerima Link-state
Advertisement (LSA). Dari awal OSPF sudah mendukung CIDR dan VLSM, berbeda
dengan RIP. Bahkan untuk OSPFv3 sudah mendukung untuk IPv6. OSPF tidak
menggunakan TCP atau UDP melainkan IP protocol 89.
Keuntungan dari OSPF adalah:
1.
OSPF menggunakan
pembagian jaringan berdasarkan konsep area-area.
2. Konsep
jaringannya yang hirarki, sehingga membuat proses update informasinya lebih
termanajemen dengan baik.
3. Adanya
Convergence, dimana router akan menerima informasi dari router lain yang
bertindak sebagai tetangganya, sehingga pada akhirnya seluruh informasi yang
ada dalam sebuah jaringan dapat diketahui oleh semua router yang ada dalam
jaringan.
4.
Sistem update
informasi routing yang cukup teratur.
5.
OSPF menghemat
penggunaan bandwitdh jaringan.
6.
OSPF menggunakan
cost sebagai metric.
B.
Konfigurasi OSPF pada Packet Tracer
Soal
Sebuah perusahaan PT. Sentosa Jaya Dibuana mempunyai
4 (empat) kantor cabang yang saling terhubung dengan jaringan. Gambar topologi
jaringan PT. Sentosa Jaya Dibuana seperti diatas, mereka akan menghubungkan
keempat jaringan tersebut sehingga bisa saling terkomunikasi. Buatlah
pengalamatan IP masing-masing jaringan tersebut, hubungkan ke-empat kantor cabang
tersebut dengan metode routing OSPF.
Jawaban
1.
Buka aplikasi Packet Tracer dan buat skema jaringan
seperti gambar di bawah ini.2. Buka PC satu per satu untuk memberi IP Address.
PC0
PC1
PC2
PC3
3. Lakukan konfigurasi pada Router0
Router>enable
Router#configure
terminal
Enter configuration commands, one per
line. End with CNTL/Z.
Router(config)#interface
fastEthernet 0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#
Router#
%SYS-5-CONFIG_I: Configured from console
by console
Router#configure terminal
Enter configuration commands, one per
line. End with CNTL/Z.
Router(config)#interface
serial 2/0
Router(config-if)#ip address 12.12.12.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#
Router#
%SYS-5-CONFIG_I: Configured from console
by console
Router#configure
terminal
Enter configuration commands, one per
line. End with CNTL/Z.
Router(config)#interface
serial 3/0
Router(config-if)#ip address 13.13.13.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#
Router>enable
Router#configure
terminal
Enter configuration commands, one per
line. End with CNTL/Z.
Router(config)#interface
fastEthernet 0/0
Router(config-if)#ip address 192.168.2.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#
Router(config)#interface
serial 2/0
Router(config-if)#ip address 12.12.12.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#
Router(config)#interface
serial 3/0
Router(config-if)#ip address 24.24.24.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#
Router>enable
Router#configure
terminal
Enter configuration commands, one per
line. End with CNTL/Z.
Router(config)#interface
fastEthernet 0/0
Router(config-if)#ip address 192.168.3.1 255.255.255.0
Router(config-if)#no shutdown
Router#configure terminal
Enter configuration commands, one per
line. End with CNTL/Z.
Router(config)#interface
serial 2/0
Router(config-if)#ip address 34.34.34.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial2/0,
changed state to down
Router(config-if)#exit
Router(config)#
Router(config)#interface
serial 3/0
Router(config-if)#ip address 13.13.13.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial3/0,
changed state to down
Router(config-if)#exit
Router(config)#
Router>enable
Router#configure
terminal
Enter configuration commands, one per
line. End with CNTL/Z.
Router(config)#interface
fastEthernet 0/0
Router(config-if)#ip address 192.168.4.1 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface
FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#interface
serial 2/0
Router(config-if)#ip address 34.34.34.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial2/0,
changed state to down
Router(config-if)#exit
Router(config)#interface
serial 3/0
Router(config-if)#ip address 24.24.24.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial3/0,
changed state to down
Router(config-if)#exit
Router(config)#
Router>enable
Router#configure
terminal
Enter configuration commands, one per
line. End with CNTL/Z.
Router(config)#router
ospf 10
Router(config-router)#network 192.168.1.0 255.255.255.0 area 1
Router(config-router)#network 12.12.12.0 255.255.255.0 area 1
Router(config-router)#network 13.13.13.0 255.255.255.0 area 1
Router(config-router)#log-adjacency-changes
Router(config-router)#exit
Router(config)#
Router#configure
terminal
Enter configuration commands, one per
line. End with CNTL/Z.
Router(config)#router
ospf 10
Router(config-router)#network 192.168.2.0 255.255.255.0 area 1
Router(config-router)#network 12.12.12.0 255.255.255.0 area 1
00:24:18: %OSPF-5-ADJCHG: Process 10,
Nbr 192.168.1.1 on Serial2/0 from LOADING to FULL, Loading Done
% Incomplete command.
Router(config-router)#network 24.24.24.0 255.255.255.0 area 1
Router(config-router)#log-adjacency-changes
Router(config-router)#exit
Router(config)#
Router>enable
Router#configure
terminal
Enter configuration commands, one per
line. End with CNTL/Z.
Router(config)#router
ospf 10
Router(config-router)#network 192.168.3.0 255.255.255.0 area 1
Router(config-router)#network 34.34.34.0 255.255.255.0 area 1
Router(config-router)#network 13.13.13.0 255.255.255.0 area 1
Router(config-router)#log-adjacency-changes
Router(config-router)#exit
Router(config)#
Router(config)#router
ospf 10
Router(config-router)#network 192.168.4.0 255.255.255.0 area 1
Router(config-router)#network 34.34.34.0 255.255.255.0 area 1
00:27:20: %OSPF-5-ADJCHG: Process 10,
Nbr 192.168.3.1 on Serial2/0 from LOADING to FULL, Loading Done
.
^
% Invalid input detected at '^' marker.
Router(config-router)#network 24.24.24.0 255.255.255.0 area 1
00:27:37: %OSPF-5-ADJCHG: Process 10,
Nbr 192.168.2.1 on Serial3/0 from LOADING to FULL, Loading Done
Router(config-router)#log-adjacency-changes
Router(config-router)#exit
Router(config)#