Thursday, March 14, 2013

Setting Jaringan dengan Router RIP



     Siapa yg belajar CCNA 2 teman-teman?
Hayooo..pasti semua pada belajar routing and subnetting. Belajar setting banyak router, menggunakan packet tracert itu seru" menyenangkan tapi terkadang sebel jg' krna kebingungan. hahha
     
     Saya barusan belajar nih. Buat temen" yg ingin belajar jg saya share disini :D. Untuk pemula CCNA 2 kita mulai ya:
1. Mulai' dari menginstal packet tracert nya. Jika tidak ada bisa di download disini.
2. Buka packet tracertnya, kemudian masukkan perangkat" yg dibutuhkan. Ikuti gambar diatas. Atau jika blum jelas. bahan"nya antara lain, 
-router 3 buah, 
-switch 3 buah, 
-pc 4 buah,
-printer 1 buah. 
-sebelum dipasang kabel router router nya harus dipasang serial dulu. Klik routernya---> pada tab physical---> pilih WTC1T-----> klik tombol power di router-----> kemudian tarik gambar yg ada di WTC1T ke bagian router yg nampak kosong---> kemudian klik tombol power router untuk menghidupkan. Untuk Router 0 krna kita menyambungkannya ke 2 router lagi, jdi pasanglah 2 serial dengan mengikuti langkah diatas.

Untuk pengkabelan:
-dari pc, printer ke switch menggunakan kabel straight
-dari router ke switch atau switch ke router menggunakan kabel straight.
-dari router ke router kita hubungkan menggunakan serial DTE dan serial DCE. Maksudnya jika kita pasang serial DTE pada router 1 maka otomatis router0 akan menjadi kabel DCE.
3. Setelah selesai pemasangan perangkatnya. sekarang mulai setting jaringan. Setting jaringan yg harus teliti dibagian routernya karna klo' salah pasti gag bisa konek semuanya. 

- Setingan Router 0:
klik pada router 0---> tab CLI--> Setelah muncul "continue with configuration dialog?" ketik no. Kemudian, jika sudah muncull
Router>

maka tinggal masukkan settinggan. ikuti setingan dibawah:
Router>enable
Router#configure ter
Router#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname Router0
Router0(config)#interface fast
Router0(config)#interface fastEthernet 0/0
Router0(config-if)#ip addr
Router0(config-if)#ip address 10.10.10.1 255.255.255.0
Router0(config-if)#no sh
Router0(config-if)#no shutdown 

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router0(config-if)#interface serial 0/0/0
Router0(config-if)#ip add
Router0(config-if)#ip address 192.168.10.254 255.255.255.0
Router0(config-if)#no sh
Router0(config-if)#no shutdown 

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
Router0(config-if)#interface serial 0/1/0
Router0(config-if)#ip add
Router0(config-if)#ip address 172.16.10.254 255.255.255.0
Router0(config-if)#no sh
Router0(config-if)#no shutdown 

%LINK-5-CHANGED: Interface Serial0/1/0, changed state to down
Router0(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
Router0(config-if)#interface serial 0/0/0

Router0(config-if)#ip add
Router0(config-if)#ip address 192.168.10.254 255.255.255.0
Router0(config-if)#no sh
Router0(config-if)#no shutdown
Router0(config-if)#clock rate 500000

-klik CTRL+Z 
Router0#write memory

-kemudian pada pc0 isikan ip dengan klik pd pc-->pd tab  desktop---> ip configuration 
ip address :10.10.10.10
subnet      :255.255.255.0
gateway    :10.10.10.1


Setting Router 1:

Router>enable

Router#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interfa
Router(config)#interface fa
Router(config)#interface fastEthernet 0/0 
Router(config-if)#ip add
Router(config-if)#ip address 192.168.2.1 255.255.255.0
Router(config-if)#
Router(config-if)#no sh
Router(config-if)#no shutdown 

%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)#interface serial 0/1/0
Router(config-if)#ip add
Router(config-if)#ip address 192.168.10.2 255.255.255.0
Router(config-if)#no sh
Router(config-if)#no shutdown 

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

Router(config-if)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Router#ping 192.168.10.254

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.1, timeout is 2 seconds:
!!!!!

Router#write memory 
Building configuration...

-pada pc1 beri ip: 192.168.2.10 subnet:255.255.255.0 gateway:192.168.2.1

Router 2
Router>enable
Router#config
Router#configure ter
Router#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface fast
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip add
Router(config-if)#ip address 172.16.2.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#no shutdown 

%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)#interface serial 0/1/0
Router(config-if)#ip add
Router(config-if)#ip address 172.16.10.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#no shutdown 

%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up
Router(config-if)#interface serial 0/1/0
Router(config-if)#cloc
Router(config-if)#clock ra
Router(config-if)#clock rate 500000
Router(config-if)#n
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to upo^Z
%SYS-5-CONFIG_I: Configured from console by console
Router#write mem
Router#write memory 
Building configuration...
[OK]
Router#ping 172.168.10.254

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.168.10.254, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)

Router#ping 172.16.10.254

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.10.254, timeout is 2 seconds:
!!!!!


isikan ip pada pc2 : 172.16.2.10 subnet 255.255.255.0 gateway 172.16.2.1
isikan ip pada pc4 : 172.16.2.11 subnet 255.255.255.0 gateway 172.16.2.1
isikan ip pada printer : 172.16.2.12 subnet 255.255.255.0 gateway 172.16.2.1

Nah, setelah selesai untuk jaringannya, sekarang kita setting RIP nya.
Buka router 0 --> CLI--> 

Router0#configure terminal
Router0(config)#router rip

Router0(config-router)#network 10.10.10.0
Router0(config-router)#network 172.16.10.0
Router0(config-router)#network 192.168.10.0



Buka router 1 --> CLI-->
Router#configure terminal

Router(config)#router rip
Router(config-router)#network 192.168.2.0
Router(config-router)#network 192.168.10.0

Buka router 2 --> CLI-->
Router#configure terminal

Router(config)#router rip 
Router(config-router)#network 172.16.2.0
Router(config-router)#network 172.16.10.0

jika settingan sudah benar silahkan di di cek dengan mengetik show ip route:


Router#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

R    10.0.0.0/8 [120/1] via 172.16.10.254, 00:00:05, Serial0/1/0
     172.16.0.0/24 is subnetted, 2 subnets
C       172.16.2.0 is directly connected, FastEthernet0/0
C       172.16.10.0 is directly connected, Serial0/1/0
R    192.168.2.0/24 [120/2] via 172.16.10.254, 00:00:05, Serial0/1/0
R    192.168.10.0/24 [120/1] via 172.16.10.254, 00:00:05, Serial0/1/0



Selesai...............Selamat mencoba. Silahkan tinggalkan komentar jika ingin bertanya seputar jaringan yg saya buat ini :D









3 comments:

Siti Rukmana said...

asiknya belajar router....semoga bermanfaat :)

Unknown said...

funsgsi printernya buat apa?

printernya gak ada pengaturannya?

Siti Rukmana said...

printernya gag ada disetting mas, cukup di pasangkan saja sudah langsung bisa digunakan