0% found this document useful (0 votes)
42 views

Cisco-Ospf Routing

The document provides instructions for configuring OSPF routing on three routers connected in a network topology. It includes assigning IP addresses to interfaces on each router, enabling OSPF routing processes with specific process IDs, and configuring OSPF networks on each router interfaces using wildcard masks and area 0. The configuration is tested by pinging between PCs connected to different router networks.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views

Cisco-Ospf Routing

The document provides instructions for configuring OSPF routing on three routers connected in a network topology. It includes assigning IP addresses to interfaces on each router, enabling OSPF routing processes with specific process IDs, and configuring OSPF networks on each router interfaces using wildcard masks and area 0. The configuration is tested by pinging between PCs connected to different router networks.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

KONFIGURASI ROUTING OSPF PACKET TRACER

1. Membuat topologi

2. Membuat tabel pengalamatan IP Address

Se0/0/0 192.168.1.1 255.255.255.0


Router 1
Gig0/0 192.168.3.1 255.255.255.0
Se0/0/0 192.168.1.2 255.255.255.0
Router 2 Se0/0/1 192.168.2.1 255.255.255.0
Gig0/0 192.168.4.1 255.255.255.0
Se0/0/1 192.168.2.2 255.255.255.0
Router 3
Gig0/0 192.168.5.1 255.255.255.0
PC-01 192.168.3.2 255.255.255.0
PC-02 192.168.3.3 255.255.255.0
PC-03 192.168.4.2 255.255.255.0
PC-04 192.168.4.3 255.255.255.0
PC-05 192.168.5.2 255.255.255.0
PC-06 192.168.5.3 255.255.255.0

3. Konfigurasi IP Address masing-masing router

3.1. Klik pada Router 1 >> CLI >> lalu konfigurasikan seperti berikut :
Router>en
Router#conf t
Router(config)#int se0/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)#int gig0/0
Router(config-if)#ip address 192.168.3.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit

3.2. Klik pada Router 2 >> CLI >> lalu konfigurasikan seperti berikut :
Router>en
Router#conf t
Router(config)#int se0/0/0
Router(config-if)#ip address 192.168.1.2 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#int se0/0/1
Router(config-if)#ip address 192.168.2.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#int gig0/0
Router(config-if)#ip address 192.168.4.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit

3.3. Klik pada Router 3 >> CLI >> lalu konfigurasikan seperti berikut :
Router>en
Router#conf t
Router(config)#int se0/0/0
Router(config-if)#ip address 192.168.5.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#int gig0/0
Router(config-if)#ip address 192.168.2.2 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit

4. Konfigurasi routing OSPF


Perintah untuk mengaktifkan routing ospf :
#routing ospf [proces_id]
Untuk process id pada setiap router tidak harus sama

#network [network_address] [wildcard_mask] [area]


Routing OSPF wajib menggunakan wildcard mask. Untuk area bisa menggunakan area 0 (area backbone)
karena kita konfigurasi ospf single area

Wilcard mask yaitu parameter access list yang menentukan alamat IP yang harus diperiksa atau
pengertian lainnya adalah kumpulan 32 bit yang digunakan untuk mengenali alamat IP.
Contoh wildcard mask :
IP = 192.168.1.1/24 Subnet=255.255.255.0
Subnet=255.255.255.0 => 11111111.11111111.11111111.0000000 kebalikannya adalah wildcard
Wildcard => 00000000.00000000.00000000.11111111 = 0.0.0.255

Contoh lain :
IP = 172.16.10.1/30 Subnet=255.255.255.252
Subnet=255.255.255.252 => 11111111.11111111.11111111.11111100 kebalikannya adalah wildcard
Wildcard => 00000000.00000000.00000000.00000011 = 0.0.0.3

Cara Konfigurasi OSPF :

Klik pada Router 1 >> CLI >> lalu konfigurasikan seperti berikut :

Router>en
Router#
Router#configure terminal
Router(config)#router ospf 1
Router(config-router)#network 192.168.1.0 0.0.0.255 area 0
Router(config-router)#network 192.168.3.0 0.0.0.255 area 0
Router(config-router)#end
Router#

Klik pada Router 2 >> CLI >> lalu konfigurasikan seperti berikut :

Router>enable
Router#configure terminal
Router(config)#router ospf 2
Router(config-router)#network 192.168.1.0 0.0.0.255 area 0
Router(config-router)#network 192.168.2.0 0.0.0.255 area 0
Router(config-router)#network 192.168.4.0 0.0.0.255 area 0
Router(config-router)#end
Router#

Klik pada Router 3 >> CLI >> lalu konfigurasikan seperti berikut :

Router>enable
Router#configure terminal
Router(config)#router ospf 3
Router(config-router)#network 192.168.2.0 0.0.0.255 area 0
Router(config-router)#network 192.168.5.0 0.0.0.255 area 0
Router(config-router)#end
Router#

5. Pengujian
Lakukan ping dari salah satu PC ke PC lain yang beda network
Misalnya : ping dari PC1 ke PC3

You might also like