Вы находитесь на странице: 1из 3

Konfigurasi OSPF (Open Shortest Path

First)
10
Aug
posted by riyandi patu rachman filed under Networking

Konfigurasi Router 0 .
interIace Serial2/0
bandwidth 64
ip address 10.10.15.3 255.255.255.0
clock rate 56000
!
interIace FastEthernet5/0
no ip address
shutdown
!
router ospI 20
log-adjacency-changes
network 10.10.15.0 0.0.0.255 area 0
Konfigurasi Router 2 .
interIace Serial2/0
ip address 10.10.12.4 255.255.255.0
!
interIace Serial3/0
ip address 10.10.14.4 255.255.255.0
clock rate 56000
!
router ospI 20
log-adjacency-changes
network 10.10.12.0 0.0.0.255 area 0
network 10.10.14.0 0.0.0.255 area 0
!
Konfigurasi Router 3 .
interIace Serial2/0
ip address 10.10.13.3 255.255.255.0
!
interIace Serial3/0
ip address 10.10.16.5 255.255.255.0
clock rate 56000
!
router ospI 20
log-adjacency-changes
network 10.10.13.0 0.0.0.255 area 0
network 10.10.16.0 0.0.0.255 area 0
!
Konfigurasi Router 4 .
interIace Serial2/0
ip address 10.10.16.4 255.255.255.0
!
interIace Serial3/0
ip address 10.10.14.3 255.255.255.0
!
router ospI 20
log-adjacency-changes
network 10.10.14.0 0.0.0.255 area 0
network 10.10.16.0 0.0.0.255 area 0
!
Konfigurasi Router 1 .
interIace Serial2/0
bandwidth 64
ip address 10.10.15.5 255.255.255.0
!
interIace Serial3/0
bandwidth 64
ip address 10.10.12.6 255.255.255.0
clock rate 56000
!
interIace Serial6/0
bandwidth 64
ip address 10.10.13.5 255.255.255.0
clock rate 56000
!
router ospI 10
log-adjacency-changes
!
router ospI 20
log-adjacency-changes
network 10.10.12.0 0.0.0.255 area 0
network 10.10.13.0 0.0.0.255 area 0
network 10.10.15.0 0.0.0.255 area 0
!
setelah router terkonIigurasi, langkah berikutnya melihat isi tabel dari masing-masing router
dengan show ip route, lakukan. Jika hasil dari tabel routing yang terdapat pada tiap router
telah terditeksi maka coba ping salah satu router dengan router yang lainnya.
mis untuk router 3 .
Router3#sh ip route
Codes: C connected, S static, I IGRP, 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 deIault, U per-user static route, o ODR
P periodic downloaded static route
Gateway oI last resort is not set
10.0.0.0/24 is subnetted, 5 subnets
O 10.10.12.0 |110/2343| via 10.10.13.5, 00:26:42, Serial2/0
|110/2343| via 10.10.16.4, 00:26:12, Serial3/0
C 10.10.13.0 is directly connected, Serial2/0
O 10.10.14.0 |110/1562| via 10.10.16.4, 00:26:12, Serial3/0
O 10.10.15.0 |110/2343| via 10.10.13.5, 00:26:42, Serial2/0
C 10.10.16.0 is directly connected, Serial3/0
dari tabel routing tersebut terlihat koneksi untuk OSPF dengan network 10.10.12.0,
10.10.14.0, dan 10.10.15.0 berarti hasil konIigurasi berhasil .. selamat mencoba