Selasa, 20 Desember 2011

konfigurasi router rip

Menggunakan Program Cisco Packet Tracer

Gambar sebelum masing-masing Router dikonfigurasi

Keterangan:
Router0 Router1 Router2
Fa0/0 : 10.1.0.1
Se2/0 : 10.2.0.1 (DCE)
SM : 255.255.0.0
Se2/0 : 10.2.0.2
Se3/0 : 10.3.0.1 (DCE)
SM : 255.255.0.0
Se3/0 : 10.3.0.2
Fa0/0 : 10.4.0.1
SM : 255.255.0.0
Langkah-langkah:
  1. Buka Program Cisco Packet Tracer
  2. Pilih peralatan yang akan dipakai sesuai dengan gambar: 3 buah Router dan 2 buah Switch
  3. Atur posisi semua peralatan sesuai dengan gambar
  4. Hubungkan Router dengan Router menggunakan kabel Serial DCE/DTE
  5. Hubungkan Router dengan Switch menggunakan kabel Straight-Through
  6. Setting masing-masing Router sesuai dengan keterangan
  • Konfigurasi Router0
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname router
router(config)#int fa 0/0
router(config-if)#ip add 10.1.0.1 255.255.0.0
router(config-if)#no shut

router(config-if)#
%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 se2/0
router(config-if)#ip add 10.2.0.1 255.255.0.0
router(config-if)#clock rate 64000
router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial2/0, changed state to down
router(config-if)#exit
router(config)#exit
router#
%SYS-5-CONFIG_I: Configured from console by console
router#wr mem
Building configuration...
[OK]
router#

Gambar setelah konfigurasi Router0


  • Konfigurasi Router1
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname router
router(config)#int se2/0
router(config-if)#ip add 10.2.0.2 255.255.0.0
router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial2/0, changed state to up
router(config-if)#exit
router(config)#int se3/0
router(config-if)#ip add 10.3.0.1 255.255.0.0
router(config-if)#clock rate 64000
router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial3/0, changed state to down
router(config-if)#exit
router(config)#exit
router#
%SYS-5-CONFIG_I: Configured from console by console
router#wr mem
Building configuration...
[OK]
router#

Gambar setelah konfigurasi Router0 & Router1


  • Konfigurasi Router2
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname router
router(config)#int se3/0
router(config-if)#ip add 10.3.0.2 255.255.0.0
router(config-if)#no shut

router(config-if)#
%LINK-5-CHANGED: Interface Serial3/0, changed state to up
router(config-if)#exit
router(config)#int fa0/0
router(config-if)#ip add 10.4.0.1 255.255.0.0
router(config-if)#no shut

router(config-if)#
%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)#exit
router#
%SYS-5-CONFIG_I: Configured from console by console
router#wr mem
Building configuration...
[OK]
router#

Gambar setelah semua Router dikonfigurasikan


  1. Konfigurasi RIP
  • Konfigurasi RIP pada Router0
router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#router rip
router(config-router)#version 2
router(config-router)#network 10.0.0.0
router(config-router)#exit
router(config)#exit
router#
%SYS-5-CONFIG_I: Configured from console by console
router#wr mem
Building configuration...
[OK]
router#
  • Konfigurasi RIP pada Router1
router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#router rip
router(config-router)#version 2
router(config-router)#network 10.0.0.0
router(config-router)#exit
router(config)#exit
router#
%SYS-5-CONFIG_I: Configured from console by console
router#wr mem
Building configuration...
[OK]
router#
  • Konfigurasi RIP pada Router2
router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#router rip
router(config-router)#version 2
router(config-router)#network 10.0.0.0
router(config-router)#exit
router(config)#exit
router#
%SYS-5-CONFIG_I: Configured from console by console
router#wr mem
Building configuration...
[OK]
router#
  1. Lihat Routing masing-masing Router
  • Router0
router#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 default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/16 is subnetted, 4 subnets
C 10.1.0.0 is directly connected, FastEthernet0/0
C 10.2.0.0 is directly connected, Serial2/0
R 10.3.0.0 [120/1] via 10.2.0.2, 00:00:11, Serial2/0
R 10.4.0.0 [120/2] via 10.2.0.2, 00:00:11, Serial2/0
router#
  • Router1
router#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 default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set
10.0.0.0/16 is subnetted, 4 subnets
R 10.1.0.0 is possibly down, routing via 10.2.0.1, Serial2/0
C 10.2.0.0 is directly connected, Serial2/0
C 10.3.0.0 is directly connected, Serial3/0
R 10.4.0.0 [120/1] via 10.3.0.2, 00:00:10, Serial3/0
router#

  • Router2
router#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 default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/16 is subnetted, 4 subnets
R 10.1.0.0 is possibly down, routing via 10.3.0.1, Serial3/0
R 10.2.0.0 is possibly down, routing via 10.3.0.1, Serial3/0
C 10.3.0.0 is directly connected, Serial3/0
C 10.4.0.0 is directly connected, FastEthernet0/0
router#
  1. Cek koneksi antar Router menggunakan “Add Simple PDU (P)”


Hasilnya “Successful”, berarti koneksi antar Router sudah terhubung
  1. Kemudian ditambahkan 2 buah PC (1 buah disambungkan dengan Switch0 dan 1 buah disambungkan dengan Switch1), untuk mengecek koneksi menggunakan perintah “ping”

  1. Setting IP pada masing-masing PC
  • Setting IP pada PC0
IP Address 10.1.0.2
Subnet Mask 255.255.0.0
Default Gateway 10.1.0.1


  • Setting IP pada PC1
IP Address 10.4.0.2
Subnet Mask 255.255.0.0
Default Gateway 10.4.0.1

  1. Cek koneksi antar PC menggunakan perintah “ping”
  • PC0 ke PC1

  • PC1 ke PC0


Dari hasil pengecekan koneksi tersebut, berarti semua konfigurasi telah berhasil.

Tidak ada komentar:

Posting Komentar