Anda di halaman 1dari 28

MODUL

DYNAMIC ROUTING (OSPF)

I. TEORI DASAR
Protokol routing dinamis ( Dynamic Routing Protocol) biasanya
digunakan pada jaringan yang besar untuk memudahkan operasi kerja
dibandingkan hanya menggunakan route statik. Biasanya suatu jaringan
menggunakan kombinasi dari protokol routing dinamis dan route static.
Dikebanyakan jaringan, digunakan hanya satu protokol routing dinamis,
akan tetapi ada beberapa kasus pada jaringan yang menggunakan protocol
routing yang berbeda.
Protokol routing dinamis telah digunakan pada jaringan sejak awal
tahun 1980. Protokol routing dimanis yang pertama di release pada
tahun1982 adalah Routing Information Protocol (RIP). Protokol ini tidak
dapat digunakan pada jaringan dengan skala besar. Untuk memenuhi
kebutuhan jaringan yang besar, digunakan dinamis routing protokol Open
Shortest Path First (OSPF).
OSPF pertama kali dikembangkan oleh IETF tahuu 1987. OSPF
merupakan link-state routing protocol, dikembangkan untuk menggantikan
distance vector routing protocol RIP. OSPF menggunakan konsep area
untuk skalabilitas. Pada OSPF bandwith digunakan sebagai metric.
Untuk mengaktifkan OSPF pada router digunakan perintah
sebagai berikut:
R(config)#router ospf procees-id
Router(config-router)#network network-address
wildcard- mask area area-id
Process-id adalah nomor diantara 1- 65535, yang
dipilih oleh administrator, berfungsi sebagai penanda lokal router
OSPF. Kemudian perintah network berfungsi bahwa semua interface
pada router yang sesuai dengan network address pada perintah
network akan dapat
mengirim dan menerima paket OSPF(routing update). Wildcard-mask
merupakan inverse dari subnet mask, contoh
subnet mask : 255.255.255.240
wildcar mask: 0.0.0.15
sedangkan area area-id menunjukan OSPF area,yaitu group router yang
menggunakan informasi link-state yang sama.
OSPF router ID digunakan untuk mengidentifikasi masing-masing
router pada domain routing OSPF. Cicso router menggunakan 3 cara
dalam menentukan router ID:
 Mengkonfigurasi IP address dengan menggunakan perintah OSPF
router-id.
 Jika router-id tidak dikonfigurasi, router menggunakan IP address
tertinggi dari interface loopback router
 Jika tidak dikonfigurasi interface loopback, maka
router menggunakan IP address tertinggi dari interface
router.
Untuk memverifikasi router OSPF dapat digunakan perintah berikut :
 Show run
 show ip protocols
 show ip ospf interface
 show ip ospf neighbor
 show ip ospf
 show ip route
Dengan menggunakan perintah show ip route kita dapat melihat routing
tabel OSPF.OSebagai
10.10.10.0/24 [110/65]
contoh hasil routing tabel via 192.168.10.2,
00:01:02, Serial0/0/0
Artinya O adalah OSPF, 10.10.10.0/24 adalah jaringan yang
dituju melalui interface Serial0/0/0 dengan ip address
192.168.10.2, dengan cost 65 dan administrasi distance 110
II. TUJUAN
1) Mampu menggunakan kabel jaringan sesuai diagram
topoli
2) Mampu melakukan konfigurasi dasar pada router
3)Mampu mengaktifkan interface router
4) Mampu melakukan konfigurasi routing OSPF pada
semua router
5) Mampu melakukan konfigurasi OSPF router ID
6) Mampu memverfikasi OSPF routing
7) Mampu menkonfigurasi static default route

III. PERALATAN
 3 PC-PT
 3 switch 2960-24TT
 3 router 1841
 Kabel straight through
 Kabel DCE-DTE
IV. PROSEDUR PERCOBAAN

DIAGRAM TOPOLOGI

Tabel Alamat

1) Rancanglah jaringan sesuai gambar topplogi jaringan diatas.


2) Lakukan konfigurasi dasar pada router R1, R2, dan R3, yaitu :
 Nama router
 Password
3) Konfigurasi IP address pada interface serial R1,R2, dan
R3.Verifikasi IP address dan interface aktif/tidak dengan
menggunakan perintah show ip interface brief.
4) Konfigurasi IP address pada interface Ethernet PC1, PC2, PC3,
verifikasi dengan perintah ping ip address.
5) Konfigurasi OSPF pada Router R1.
a) Masukan ID proses 1 sebagai parameter proses ID.
R1(config)#router ospf 1

b) Konfigurasi jaringan LAN 172.16.1.16/28 untuk dimasukkan


dalam update OSPF dari router R1.

R1(config-router)#network 172.16.1.16 0.0.0.15 area 0

c) Konfigurasi router untuk menginformasikan


jaringan 192.168.10.0/30 terhubung ke interface serial0/0/0.

R1(config-router)# network 192.168.10.0 0.0.0.3 area 0

d) Konfigurasi router untuk menginformasikan


jaringan 192.168.10.4/30 terhubung ke interface serial0/0/1.

R1(config-router)# network 192.168.10.4 0.0.0.3 area 0

e) Setelah selesai konfigurasi OSPF pada router 1,ketikan perintah


berikut

R1(config-router)#end

6) Konfigurasi OSPF pada router R2.


a) Masukan ID proses 1 sebagai parameter proses ID.
R2(config)#router ospf 1
b) Konfigurasi jaringan LAN 10.10.10.0/24 untuk dimasukkan
dalam update OSPF dari router R2.
R2(config-router)#network 10.10.10.0 0.0.0.255 area 0

c) Konfigurasi router untuk menginformasikan


jaringan 192.168.10.0/30 terhubung ke interface serial0/0/0.

R2(config-router)#network 192.168.10.0 0.0.0.3 area 0

d) Konfigurasi router untuk menginformasikan


jaringan 192.168.10.8/30 terhubung ke interface serial0/0/1.

R1(config-router)# network 192.168.10.8 0.0.0.3 area 0

e) Setelah selesai konfigurasi OSPF pada router 2,ketikan perintah


berikut
R1(config-router)#end

7) Konfigurasi OSPF pada router R3.

R3(config)#router ospf 1
R3(config-router)#network
172.16.1.32
0.0.0.7
area 0
R3(config-router)#network
192.168.10.4
0.0.0.3
area 0
R3(config-router)#network 192.168.10.8 0.0.0.3
area 0
R3(config-router)#end

8) Konfigurasi OSPF router ID.


a) Pada konfigurasi OSPF terdapat OSPF router ID, yang
digunakan untuk mengidentifikasi router pada domain routing
OSPF, dan router ID adalah IP address. Secara default router
ID yang digunakan adalah IP address yang tertinggi dari
interface yang aktif. Untuk mengetahui router ID, dengan
menggunakan perintah show ip ospf interface
R3#show ip o s p f interface
FastEthernet0/0 is up, line protocol is up
Internet address is 172.16.1.33/29, Area 0
Process ID 1, Router ID 192.168.10.10, Network Type
BROADCAST, Cost:
1
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 192.168.10.10,
Interface address 172.16.1.33
No backup designated router on this network
Timer intervals configured, Hello 10, Dead 40, Wait
40, Retransmit 5
Hello due in 00:00:00
Index 1/1, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1,
maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 0, Adjacent neighbor count is 0
Suppress hello for 0 neighbor(s)

b) Gunakan loopback addresses untuk mengubah router ID pada


masing-masing router.
R1(config)#interface l o o pback 0
R1(config-if)#ip a d d r e s s 10.1.1.1 255.255.255.255

R2(config)#interface l o o pback 0
R2(config-if)#ip a d d r e s s 10.2.2.2 255.255.255.255

R3(config)#interface l o o pback 0
R3(config-if)#ip a d d r e s s 10.3.3.3 255.255.255.255

Simpan konfigurasi tersebut di NVRAM dan tambahkan


perintah reload untuk me-restart masing-masing routers.
c) Gunakan perintah router-id untuk mengubah router ID pada
router R1.

R1(config)#router ospf 1
R1(config-router)#router-id 10.4.4.4
R1#(config-router)#end R1#
clear ip ospf process
Reset ALL OSPF processes?
[no]:yes

9) Untuk melihat routing tabel pada masing-masing router, gunakan


perintah, show ip route
Contoh :
R1#show 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 default, U - per-user static route, o
- ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 2
subnets, 2 masks
C 10.1.1.1/32
O is directly
10.10.10.0/24 connected,
[110/65] viaLoopback0
192.168.10.2,
00:01:02, Serial0/0/0
172.16.0.0/16 is variably subnetted, 2 subnets, 2
masks
C 172.16.1.16/28 is directly connected,
FastEthernet0/0
O 172.16.1.32/29 [110/65] via 192.168.10.6,
00:01:12, Serial0/0/1
192.168.10.0/30 is subnetted, 3 subnets
C 192.168.10.0 is directly connected, Serial0/0/0
C 192.168.10.4 is directly connected, Serial0/0/1
O 192.168.10.8 via 192.168.10.6,
[110/128]
00:01:12,
Serial0/0/1
[110/128] via 192.168.10.2,
00:01:02, Serial0/0/0

10) Redistribusi OSPF Default route.


a) Konfigurasi loopback address pada router R1 untuk
mensimulasikan hubungan ke Internet Service Provider.
R1(config)#interface loopback1
R1(config-if)#ip

address

172.30.1.1
255.255.255.252
b) Konfigurasi static route pada router R1
R1(config)#ip route 0.0.0.0 0.0.0.0 loopback1

c) Gunakan perintah default-information originate untuk


menambahkan informasi static route pada OSPF update yang
dikirimkan ole router R1.
R1(config)#router o s p f 1
R1(config-router)#default-i nf ormati on originate
V. PENGAMBILAN DATA
1) Konfigurasi Dasar Router

Router Output Output show ip interface brief


show Run
R1 Building configuration... Interface IP-Address OK? Method
Status Protocol
Current configuration : 520 bytes
! FastEthernet0/0 172.16.1.17 YES
version 12.4 manual up up
no service password-encryption
! FastEthernet0/1 unassigned YES
hostname Router manual administratively down down
!
! Serial0/0/0 192.168.10.1 YES manual
! up up
!
! Serial0/0/1 192.168.10.5 YES manual
ip ssh version 1 up up
!
! Vlan1 unassigned YES manual
interface FastEthernet0/0 administratively down down
ip address 172.16.1.17 255.255.255.240
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 192.168.10.1 255.255.255.252
clock rate 64000
!
interface Serial0/0/1
ip address 192.168.10.5 255.255.255.252
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
end

R2 Building configuration... Interface IP-Address OK? Method


Status Protocol
Current configuration : 517 bytes
! FastEthernet0/0 10.10.10.1 YES
version 12.4 manual up up
no service password-encryption
! FastEthernet0/1 unassigned YES
hostname Router manual administratively down down
!
! Serial0/0/0 192.168.10.2 YES manual
! up up
!
! Serial0/0/1 192.168.10.9 YES manual
ip ssh version 1 up up
!
! Vlan1 unassigned YES manual
interface FastEthernet0/0 administratively down down
ip address 10.10.10.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 192.168.10.2 255.255.255.252
!
interface Serial0/0/1
ip address 192.168.10.9 255.255.255.252
clock rate 64000
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
End

R3 Building configuration... Interface IP-Address OK? Method


Status Protocol
Current configuration : 521 bytes
! FastEthernet0/0 172.16.1.33 YES
version 12.4 manual up up
no service password-encryption
! FastEthernet0/1 unassigned YES
hostname Router manual administratively down down
!
! Serial0/0/0 192.168.10.6 YES manual
! up up
!
! Serial0/0/1 192.168.10.10 YES
ip ssh version 1 manual up up
!
! Vlan1 unassigned YES manual
interface FastEthernet0/0 administratively down down
ip address 172.16.1.33 255.255.255.248
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface
Serial0/0/0
ip address
192.168.10
.6
255.255.25
5.252
clock rate
64000
!
interface
Serial0/0/1
ip

addres
s

192.1
68.10.
10
255.255.255.
252
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
2)
end Konfigurasi IP address pada interface Ethernet PC1, PC2, PC3
Koneksi PC Output Ping IP Address
PC1-PC2 Pinging 10.10.10.10 with 32 bytes of data:

Reply from 172.16.1.17: Destination host


unreachable.
Reply from 172.16.1.17: Destination host
unreachable.
Reply from 172.16.1.17: Destination host
unreachable.
Reply from 172.16.1.17: Destination host
unreachable.

Ping statistics for 10.10.10.10:


Packets: Sent = 4, Received = 0, Lost = 4
(100% loss),

PC1-PC3 Pinging 172.16.1.35 with 32 bytes of data:

Reply from 172.16.1.17: Destination host


unreachable.
Reply from 172.16.1.17: Destination host
unreachable.
Reply from 172.16.1.17: Destination host
unreachable.
Reply from 172.16.1.17: Destination host
unreachable.

Ping statistics for 172.16.1.35:


Packets: Sent = 4, Received = 0, Lost = 4
(100% loss),

PC2-PC3 Pinging 172.16.1.35 with 32 bytes of data:

Reply from 10.10.10.1: Destination


host unreachable.
Reply from 10.10.10.1: Destination
host unreachable.
Reply from 10.10.10.1: Destination
host unreachable.
Reply from 10.10.10.1: Destination
host unreachable.

Ping statistics for 172.16.1.35:


Packets: Sent = 4, Received = 0, Lost = 4
(100% loss),

3) Konfigurasi OSPF pada router


Router Output show ip Output show ip Output show ip ospf
protocol ospf interface neighbor
R1 Routing Protocol is "ospf FastEthernet0/0 is up, line Neighbor ID Pri State
1" protocol is up Dead Time
Outgoing update filter Internet address Address Interface
list for all interfaces is not is 172.16.1.17/28, 9. 1 FULL/-
set Area 0 00:00:30
Incoming update filter Process ID 1, Router ID 192.168.10.2

list for all interfaces is not 192.168.10.5, Network Serial0/0/0


set Type BROADCAST, Cost: 10. 1 FULL/-
Router ID 1 00:00:34
192.168.10.5 192.168.10.6
Transmit Delay is 1 sec,
Number of areas in this Serial0/0/1
State DR, Priority 1
router is 1. 1 normal 0 Designated Router (ID)
stub 0 nssa 192.168.10.5, Interface
Maximum path: 4 address 172.16.1.17
Routing for Networks: No backup designated
172.16.1.16 router on this network
0.0.0.15
Timer intervals
area 0
configured, Hello 10, Dead
192.168.10.0
0.0.0.3 40, Wait 40, Retransmit 5
area 0 Hello due in 00:00:06

192.168.10.4 Index 1/1, flood queue


0.0.0.3 length 0
area 0 Next 0x0(0)/0x0(0)
Routing Information Last flood scan length is 1,
Sources: maximum is 1
Gateway Last flood scan time is 0
Distance Last Update msec, maximum is 0 msec
192.168.10.2 Neighbor Count is 0,
Adjacent neighbor count is
110
0
00:06:41
Suppress hello for 0
192.168.10.6
neighbor(s)
110 Serial0/0/0 is up,
00:06:39 line protocol is up
Distance: (default is Internet address is
110) 192.168.10.1/30, Area 0
Process ID 1,
Router ID
192.168.10.5, Network
Type POINT-TO-POINT,
Cost: 64
Transmit Delay is 1 sec,
State POINT-TO-POINT,
Timer intervals
configured, Hello 10, Dead
40, Wait 40, Retransmit 5
Hello due in 00:00:02
Index 2/2, flood queue
length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1,
maximum is 1
Last flood scan time is 0
msec, maximum is 0 msec
Neighbor Count is 1 ,
Adjacent neighbor count is
1
Adjacent with neighbor
192.168.10.2
Suppress hello for 0
neighbor(s)
Serial0/0/1 is up,
line protocol is up
Internet address is
192.168.10.5/30, Area 0
Process ID 1, Router ID
192.168.10.5, Network
Type POINT-TO-POINT,
Cost: 64
Transmit Delay is 1 sec,
State POINT-TO-POINT,
Timer intervals
configured, Hello 10, Dead
40, Wait 40, Retransmit 5
Hello due in 00:00:09
Index 3/3, flood queue
length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1,
maximum is 1
Last flood scan time is 0
msec, maximum is 0 msec
Neighbor Count is 1 ,
Adjacent neighbor count is
1
Adjacent with neighbor
192.168.10.6
Suppress hello for 0
neighbor(s)

R2 Routing Protocol is "ospf FastEthernet0/0 is up, line Neighbor ID Pri State


1" protocol is up Dead Time
Outgoing update filter Internet address Address Interface
list for all interfaces is not is 10.10.10.1/24, 192.168.10.5 1
set Area 0 FULL/-

Incoming update filter Process ID 1, Router ID 00:00:39


192.168.10.1
list for all interfaces is not 192.168.10.9, Network
Serial0/0/0
set Type BROADCAST, Cost:
192.168.10.10 1
Router ID 1 FULL/-
192.168.10.9 Transmit Delay is 1 sec, 00:00:34
Number of areas in this State DR, Priority 1 192.168.10.10
router is 1. 1 normal 0 Designated Router (ID) Serial0/0/1
stub 0 nssa 192.168.10.9, Interface
Maximum path: 4 address 10.10.10.1
Routing for Networks: No backup designated
10.10.10.0 router on this network
0.0.0.255
Timer intervals
area 0
configured, Hello 10, Dead
192.168.10.0
0.0.0.3 40, Wait 40, Retransmit 5
area 0 Hello due in 00:00:01

192.168.10.8 Index 1/1, flood queue


0.0.0.3 length 0
area 0 Next 0x0(0)/0x0(0)
Routing Information Last flood scan length is 1,
Sources: maximum is 1
Gateway Last flood scan time is 0
Distance Last Update msec, maximum is 0 msec
192.168.10.1 Neighbor Count is 0,
Adjacent neighbor count is
110
0
00:07:41
Suppress hello for 0
192.168.10.10
neighbor(s)
110 Serial0/0/0 is up,
00:07:43 line
Distance: (default is
110)
protocol is up
Internet address is
192.168.10.2/30, Area 0
Process ID 1, Router ID
192.168.10.9, Network
Type POINT-TO-POINT,
Cost: 64
Transmit Delay is 1 sec,
State POINT-TO-POINT,
Timer intervals
configured, Hello 10, Dead
40, Wait 40, Retransmit 5
Hello due in 00:00:02
Index 2/2, flood queue
length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1,
maximum is 1
Last flood scan time is 0
msec, maximum is 0 msec
Neighbor Count is 1 ,
Adjacent neighbor count is
1
Adjacent with neighbor
192.168.10.1
Suppress hello for 0
neighbor(s)
Serial0/0/1 is up,
line protocol is up
Internet address is
192.168.10.9/30, Area 0
Process ID 1, Router ID
192.168.10.9, Network
Type POINT-TO-POINT,
Cost: 64
Transmit Delay is 1 sec,
State POINT-TO-POINT,
Timer intervals
configured, Hello 10, Dead
40, Wait 40, Retransmit 5
Hello due in
00:00:02
Index 3/3, flood queue
length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1,
maximum is 1
Last flood scan time is 0
msec, maximum is 0 msec
Neighbor Count is 1 ,
Adjacent neighbor count is
1
Adjacent with neighbor
192.168.10.10
Suppress hello for 0
neighbor(s)

R3 Routing Protocol is "ospf FastEthernet0/0 is up, line Neighbor ID Pri State


1" protocol is up Dead Time
Outgoing update filter Internet address Address Interface
list for all interfaces is not is 172.16.1.33/29, 192.168.10.5 1
set Area 0 FULL/-

Incoming update filter Process ID 1, Router ID 00:00:32


192.168.10.5
list for all interfaces is not 192.168.10.10, Network
Serial0/0/0
set Type BROADCAST,
192.168.10.9 1
Router ID Cost: 1 FULL/-
192.168.10.10 Transmit Delay is 1 sec, 00:00:39
Number of areas in this State DR, Priority 1 192.168.10.9
router is 1. 1 normal 0 Designated Router (ID) Serial0/0/1
stub 0 nssa 192.168.10.10, Interface
Maximum path: 4 address 172.16.1.33
Routing for Networks: No backup designated
172.16.1.32 router on this network
0.0.0.7
Timer intervals
area 0
configured, Hello 10, Dead
192.168.10.4
0.0.0.3 40, Wait 40, Retransmit 5
area 0 Hello due in 00:00:01

192.168.10.8 Index 1/1, flood queue


0.0.0.3 length 0
area 0 Next 0x0(0)/0x0(0)
Routing Information Last flood scan length is 1,
Sources: maximum is 1
Gateway Last flood scan time is 0
Distance Last Update msec, maximum is 0 msec
192.168.10.5 Neighbor Count is 0,
Adjacent neighbor count is
110
00:08:11
192.168.10.9

110
00:08:13
Distance: (default is 0
110) Suppress hello for 0
neighbor(s)
Serial0/0/0 is up,
line protocol is up
Internet address
is
192.168.10.6/30, Area 0
Process ID 1, Router ID
192.168.10.10, Network
Type POINT-TO-POINT,
Cost: 64
Transmit Delay is 1 sec,
State POINT-TO-POINT,
Timer intervals
configured, Hello 10, Dead
40, Wait 40, Retransmit 5
Hello due in 00:00:08
Index 2/2, flood queue
length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1,
maximum is 1
Last flood scan time is 0
msec, maximum is 0 msec
Neighbor Count is 1 ,
Adjacent neighbor count is
1
Adjacent with neighbor
192.168.10.5
Suppress hello for 0
neighbor(s)
Serial0/0/1 is up,
line protocol is up
Internet address is
192.168.10.10/30, Area 0
Process ID 1, Router ID
192.168.10.10, Network
Type POINT-TO-POINT,
Cost: 64
Transmit Delay is 1 sec,
State POINT-TO-POINT,
Timer

intervals
configured, Hello 10, Dead
40, Wait 40, Retransmit 5
Hello due in 00:00:06
Index 3/3, flood queue
length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1,
maximum is 1
Last flood scan time is 0
msec, maximum is 0 msec
Neighbor Count is 1 ,
Adjacent neighbor count is
1
Adjacent with neighbor
192.168.10.9
Suppress hello for 0
neighbor(s)

4) OSPF Router ID pada prosedur percobaan 8a

Router Router ID
R1 192.168.10.5
R2 192.168.10.9
R3 192.168.10.10

5) OSPF Router ID pada prosedur 8b.

Router Router ID
R1 10.1.1.1
R2 10.2.2.2
R3 10.3.3.3

6) OSPF Router ID pada prosedur 8c.


Router Router ID
R1 10.4.4.4
R2 10.2.2.2
R2 10.3.3.3

7) Tabel Routing OSPF sebelum redistribusi OSPF default route


Router Tabel Routing/Ouput show ip route
R1 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 default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks


C 10.1.1.1/32 is directly connected, Loopback0
O 10.10.10.0/24 [110/65] via 192.168.10.2,
00:03:36,
Serial0/0/0
172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
C 172.16.1.16/28 is directly connected, FastEthernet0/0
O 172.16.1.32/29 [110/65] via 192.168.10.6,
00:03:16,
Serial0/0/1
192.168.10.0/30 is subnetted, 3 subnets
C 192.168.10.0 is directly connected, Serial0/0/0
C 192.168.10.4 is directly connected, Serial0/0/1
O 192.168.10.8 [110/128] via 192.168.10.2,
00:03:36,
Serial0/0/0
[110/128] via 192.168.10.6, 00:03:16,
Serial0/0/1
R2 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 default, U - per-user static route, o
- ODR P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 2 subnets, 2


masks C 10.2.2.2/32 is directly connected,
Loopback0
C 10.10.10.0/24 is directly connected,
FastEthernet0/0 172.16.0.0/16 is variably subnetted, 2
subnets, 2 masks
O 172.16.1.16/28 [110/65] via 192.168.10.1,
00:03:46,
Serial0/0/0
O 172.16.1.32/29 [110/65] via 192.168.10.10,
00:03:46,
Serial0/0/1
192.168.10.0/30 is subnetted, 3 subnets
C 192.168.10.0 is directly connected, Serial0/0/0
O 192.168.10.4 [110/128] via 192.168.10.1,
00:03:46,
Serial0/0/0
[110/128] via 192.168.10.10, 00:03:46,
Serial0/0/1
C 192.168.10.8 is directly connected, Serial0/0/1
R3 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 default, U - per-user static route, o
- ODR P - periodic downloaded static route

Gateway of last resort is not set


10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 10.3.3.3/32 is directly connected, Loopback0
O 10.10.10.0/24 [110/65] via 192.168.10.9,
00:03:56,
Serial0/0/1
172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
O 172.16.1.16/28 [110/65] via 192.168.10.5, 00:03:56,
Serial0/0/0
C 172.16.1.32/29 is directly connected,
FastEthernet0/0 192.168.10.0/30 is subnetted, 3 subnets
O 192.168.10.0 [110/128] via 192.168.10.9,
00:03:56,
Serial0/0/1
[110/128] via 192.168.10.5, 00:03:56,
Serial0/0/0
C 192.168.10.4 is directly connected,
Serial0/0/0 C 192.168.10.8 is directly
8) Tabel Routing OSPF
connected, setelah redistribusi OSPF default route
Serial0/0/1
Router Tabel Routing/Ouput show ip route
R1 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 default, U - per-user static route, o
- ODR P - periodic downloaded static route

Gateway of last resort is 0.0.0.0 to network 0.0.0.0

10.0.0.0/8 is variably subnetted, 2 subnets, 2

masks
C 10.1.1.1/32 is directly connected, Loopback0
O 10.10.10.0/24 [110/65] via 192.168.10.2,
00:07:22,
Serial0/0/0
172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
C 172.16.1.16/28 is directly connected,
FastEthernet0/0
O 172.16.1.32/29 [110/65] via 192.168.10.6,
00:07:02,
Serial0/0/1
172.30.0.0/30 is subnetted, 1 subnets
C 172.30.1.0 is directly connected,
Loopback1 192.168.10.0/30 is subnetted, 3
subnets
C 192.168.10.0 is directly connected,
Serial0/0/0 C 192.168.10.4 is directly
connected, Serial0/0/1
O 192.168.10.8 [110/128] via 192.168.10.2,
00:07:22,
Serial0/0/0
[110/128] via 192.168.10.6,
00:07:02,
Serial0/0/1
S* 0.0.0.0/0 is directly connected, Loopback1
R2 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 default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is 192.168.10.1 to network 0.0.0.0

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks


C 10.2.2.2/32 is directly connected, Loopback0
C 10.10.10.0/24 is directly connected, FastEthernet0/0
172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
O 172.16.1.16/28 [110/65] via 192.168.10.1,
00:10:17,
Serial0/0/0
O 172.16.1.32/29 [110/65] via 192.168.10.10,
00:10:17,
Serial0/0/1
192.168.10.0/30 is subnetted, 3 subnets
C 192.168.10.0 is directly connected, Serial0/0/0
O 192.168.10.4 [110/128] via 192.168.10.1,
00:10:17,
Serial0/0/0
[110/128] via 192.168.10.10, 00:10:17,
Serial0/0/1
C 192.168.10.8 is directly connected, Serial0/0/1
O*E2 0.0.0.0/0 [110/1] via 192.168.10.1, 00:03:24,
Serial0/0/0
R3 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 default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is 192.168.10.5 to network 0.0.0.0

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks


C 10.3.3.3/32 is directly connected, Loopback0
O 10.10.10.0/24 [110/65] via 192.168.10.9,
00:10:42,
Serial0/0/1
172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
O 172.16.1.16/28 [110/65] via 192.168.10.5,
00:10:42,
Serial0/0/0
C 172.16.1.32/29 is directly connected, FastEthernet0/0
192.168.10.0/30 is subnetted, 3 subnets
O 192.168.10.0 [110/128] via 192.168.10.9,
00:10:42,
Serial0/0/1
[110/128] via 192.168.10.5, 00:10:42,
Serial0/0/0
C 192.168.10.4 is directly connected, Serial0/0/0
C 192.168.10.8 is directly connected, Serial0/0/1
O*E2 0.0.0.0/0 [110/1] via 192.168.10.5, 00:03:57,
Serial0/0/0
VI. EVALUASI
1. Jelaskan fungsi protokol routing digunakan router dalam
jaringan?
2. Jelaskan perbedaan protokol routing OSPF dengan RIP?
3. Jelaskan fungsi process-id , router id dan area-id pada
konfigurasi OSPF?
4. Jelaskan 3 cara router OSPF untuk menentukan router id?
5. Pada verifikasi router OSPF digunakan beberapa perintah ,
jelaskan informasi yang dapat diperoleh dari perintah berikut :
 Show run
 show ip protocols
 show ip ospf interface
 show ip ospf neighbor
 show ip ospf
 show ip route
6. Jelaskan fungsi redistribusi OSPF default route?
7. Jelaskan maksud dari informasi yang diperoleh dari tabel
routing berikut :
O 192.168.10.8 [110/128] via 192.168.10.6, 00:01:12,
Serial0/0/1
[110/128] via 192.168.10.2, 00:01:02,
Serial0/0/0

Anda mungkin juga menyukai