Sie sind auf Seite 1von 13

Tugas Packet Tracer

OSPF Routing

Disusun Oleh :
Agnes Eka Lestia
XII – TKJ

SMK NEGERI 26 JAKARTA

JL. BALAI PUSTAKA BARU I RAWAMANGUN

TAHUN AJARAN 2010 – 2011

OSPF Routing Menggunakan Packet Tracer


IP Address
Nama Router FastEthernet 0/0 Serial 2/0 Serial 3/0 Clock Rate
Router 0 192.168.0.6 10.10.10.1 - 64000 (serial 2/0)
Router 1 192.168.1.6 10.10.10.2 20.20.20.1 64000 (serial 3/0)
Rrouter 2 192.168.2.6 20.20.20.2 - -

Nama PC IP Address Subnet Mask Gateway


PC0 192.168.0.7 255.255.255.0 192.168.0.6
PC1 192.168.0.8 255.255.255.0 192.168.0.6
PC2 192.168.1.7 255.255.255.0 192.168.1.6
PC3 192.168.2.7 255.255.255.0 192.168.2.6
PC4 192.168.2.8 255.255.255.0 192.168.2.6

Konfigurasi Router
Pada saat mengkonfigurasi Router dengan packet tracer ada 2 cara yaitu dengan
menggunakan physical dan dengan menggunakan CLI.
Konfigurasi Router dengan Physical
1. Klik router yang akan dikonfigurasi lalu akan muncul kotak dialog berikut.

2. Kemudian konfigurasi FastEthernet dan Serial

Konfigurasi FastEthernet Konfigurasi Serial

Konfigurasi Router dengan CLI


Config router 0
System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)
Copyright (c) 2000 by cisco Systems, Inc.
PT 1001 (PTSC2005) processor (revision 0x200) with 60416K/5120K bytes of memory

Self decompressing the image :


######################### [OK]

Restricted Rights Legend

Use, duplication, or disclosure by the Government is


subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

cisco Systems, Inc.


170 West Tasman Drive
San Jose, California 95134-1706

Cisco Internetwork Operating System Software


IOS (tm) PT1000 Software (PT1000-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 27-Apr-04 19:01 by miwang

PT 1001 (PTSC2005) processor (revision 0x200) with 60416K/5120K bytes of memory


.
Processor board ID PT0123 (0123)
PT2005 processor: part number 0, mask 01
Bridging software.
X.25 software, Version 3.0.0.
4 FastEthernet/IEEE 802.3 interface(s)
2 Low-speed serial(sync/async) network interface(s)
32K bytes of non-volatile configuration memory.
63488K bytes of ATA CompactFlash (Read/Write)

--- System Configuration Dialog ---


Continue with configuration dialog? [yes/no]: no

Press RETURN to get started!

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fastethernet 0/0
Router(config-if)#ip address 192.168.0.6 255.255.255.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#exit
Router(config)#int serial 2/0
Router(config-if)#ip address 10.10.10.1 255.0.0.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial2/0, changed state to down


Router(config-if)#clock rate 64000
Router(config-if)#no shut
Router(config-if)#router ospf 1
Router(config-router)#log-adjacency-changes
Router(config-router)#network 10.10.10.0 0.0.0.255 area 0
Router(config-router)#network 192.168.0.0 0.255.255.255 area 0
Router(config-router)#exit
Router(config)#exit

%SYS-5-CONFIG_I: Configured from console by console


Router#write memory
Building configuration...
[OK]
Router#disable
Router>exit

Router con0 is now available

Press RETURN to get started.

Config router 1

System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)


Copyright (c) 2000 by cisco Systems, Inc.
PT 1001 (PTSC2005) processor (revision 0x200) with 60416K/5120K bytes of memory

Self decompressing the image :


######################### [OK]

Restricted Rights Legend

Use, duplication, or disclosure by the Government is


subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

cisco Systems, Inc.


170 West Tasman Drive
San Jose, California 95134-1706

Cisco Internetwork Operating System Software


IOS (tm) PT1000 Software (PT1000-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 27-Apr-04 19:01 by miwang

PT 1001 (PTSC2005) processor (revision 0x200) with 60416K/5120K bytes of memory


.
Processor board ID PT0123 (0123)
PT2005 processor: part number 0, mask 01
Bridging software.
X.25 software, Version 3.0.0.
4 FastEthernet/IEEE 802.3 interface(s)
2 Low-speed serial(sync/async) network interface(s)
32K bytes of non-volatile configuration memory.
63488K bytes of ATA CompactFlash (Read/Write)

--- System Configuration Dialog ---


Continue with configuration dialog? [yes/no]: no

Press RETURN to get started!

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fastethernet 0/0
Router(config-if)#ip address 192.168.1.6 255.255.255.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#exit
Router(config)#int serial 2/0
Router(config-if)#ip address 10.10.10.2 255.0.0.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial2/0, changed state to down


Router(config-if)#exit
Router(config)#int serial 3/0
Router(config-if)#ip address 20.20.20.1 255.0.0.0
Router(config-if)#no shut
Router(config-if)#clock rate 64000
Router(config-if)#no shut
Router(config-if)#router ospf 1
Router(config-router)#log-adjacency-changes
Router(config-router)#network 20.20.20.0 0.0.0.255 area 0
Router(config-router)#network 10.10.10.0 0.0.0.255 area 0
Router(config-router)#network 192.168.1.0 0.255.255.255 area 0
Router(config-router)#exit
Router(config)#exit

%SYS-5-CONFIG_I: Configured from console by console


Router#write memory
Building configuration...
[OK]
Router#disable
Router>exit
Router con0 is now available

Press RETURN to get started.

Config router 2
System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)
Copyright (c) 2000 by cisco Systems, Inc.
PT 1001 (PTSC2005) processor (revision 0x200) with 60416K/5120K bytes of memory

Self decompressing the image :


######################### [OK]

Restricted Rights Legend

Use, duplication, or disclosure by the Government is


subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

cisco Systems, Inc.


170 West Tasman Drive
San Jose, California 95134-1706

Cisco Internetwork Operating System Software


IOS (tm) PT1000 Software (PT1000-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 27-Apr-04 19:01 by miwang
PT 1001 (PTSC2005) processor (revision 0x200) with 60416K/5120K bytes of memory
.
Processor board ID PT0123 (0123)
PT2005 processor: part number 0, mask 01
Bridging software.
X.25 software, Version 3.0.0.
4 FastEthernet/IEEE 802.3 interface(s)
2 Low-speed serial(sync/async) network interface(s)
32K bytes of non-volatile configuration memory.
63488K bytes of ATA CompactFlash (Read/Write)

--- System Configuration Dialog ---


Continue with configuration dialog? [yes/no]: no

Press RETURN to get started!

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fastethernet 0/0
Router(config-if)#ip address 192.168.2.6 255.255.255.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#exit
Router(config)#int serial 2/0
Router(config-if)#ip address 20.20.20.1 255.0.0.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial2/0, changed state to down


Router(config-if)#router ospf 1
Router(config-router)#log-adjacency-changes
Router(config-router)#network 20.20.20.0 0.0.0.255 area 0
Router(config-router)#network 192.168.2.0 0.255.255.255 area 0
Router(config-router)#exit
Router(config)#exit

%SYS-5-CONFIG_I: Configured from console by console


Router#write memory
Building configuration...
[OK]
Router#disable
Router>exit

Konfigurasi PC

PC yang digunakan dalam merancang WAN tiga router ini adalah enam PC yaitu PC0 dan PC1
pada Router0, PC2 dan PC3 pada Router1, serta PC4 dan PC5 pada Router2. Untuk mengkonfigurasi
PC adalah dengan cara sebagai berikut.
1. Klik PC yang akan dikonfigurasi pada packet tracer, lalu akan muncul kotak dialog sebagai
berikut.

2. Lalu klik tab dekstop pada kotak dialog tersebut, maka akan muncul gambar berikut.
3. Kemudian klik IP Configuration dan isikan kotak ip address dengan 192.168.0.2 , kotak
subnet mask dengan 255.255.255.0 , serta kotak default gateway dengan 192.168.0.1 ,
maka akan muncul kotak dialog seperti berikut.
Ping PC0 ke PC1
Ping dari 192.168.0.7 ke 192.168.0.8

Ping PC1 ke PC0


Ping dari 192.168.0.8 ke 192.168.0.7

Bila reply atau ada jawaban berarti “it works”!!!!

-- SELESAI --

Das könnte Ihnen auch gefallen