Pages

Subscribe:
  • Rasmus Lerdorf

    I really don't like programming. I built this tool to program less so that I could just reuse code.

    PHP is about as exciting as your toothbrush. You use it every day, it does the job, it is a simple tool, so what? Who would want to read about toothbrushes?

    There are people who actually like programming. I don't understand why they like programming.

  • Steve Jobs

    Computers themselves, and software yet to be developed, will revolutionize the way we learn.

    Design is a funny word. Some people think design means how it looks. But of course, if you dig deeper, it's really how it works.

    Design is not just what it looks like and feels like. Design is how it works.

  • Bill Gates

    Every day were saying, 'How can we keep this customer happy?' How can we get ahead in innovation by doing this, because if we don't, somebody else will..

    The success of my company is only two years away from failure.

    It's fine to celebrate success but it is more important to heed the lessons of failure.

Thursday, June 20, 2013

Basic RIP Configuration (Scenario A RIPv1 pada Classful Network)



1.  Tujuan Praktikum
1.    Mahasiswa dapat melakukan konfigurasi RIP.
2.    Mahasiswa dapat melakukan konfigurasi RIPv1 pada Classful Network.
3.    Mahasiswa dapat melakukan konfigurasi RIPv1 melalui Subnet dan diantara Classful Network.
4.    Mahasiswa dapat melakukan konfigurasi RIPv1 pada sebuah Stub Network.

2.   Pendahuluan
RIP ( Routing Information Protokol ) pertama kali dikembangkan oleh Xerox, termasuk protokol routing dinamis yang telah lama diimplementasikan secara luas.

RIP umumnya digunakan untuk mentransfer informasi routing di antara router-router yang berlokasi pada jaringan yang sama. Router-router meng-update tabel mereka dalam interval yang dapat diprogram, tipikalnya 30 detik. Untuk mengirim data, router-router menggunakan konsep distance-vector

Kelemahan RIP adalah ia hanya efektif mentransfer data sampai jumlah hop 15. Jika melebihi jumlah ini, transmisi berpeluang "unreachable".

Jika di sana terdapat multipath untuk menuju host tujuan, router dengan RIP-nya memilih path dengan jumlah terkecil meskipun belum tentu merupakan rute tercepat. Jadi, RIP tidak bekerja berdasarkan kecepatan, melainkan jumlah hop terkecil.

Terdapat dua versi RIP yaitu RIPv1 dan RIPv2. Versi default RIP adalah versi 1. Umumnya, kita mengatakan "RIP" untuk RIP versi 1. RIPv2 hanyalah sedikit di modifikasi dari RIPv1. RIPv2 merupakan protokol routing distance vector dengan timer-timer yang sama sebagaimana RIPv1. RIPv1 dan RIPv2 juga menggunakan metric dan hop-count yang sama. Akan tetapi, RIPv2 bersifat classless dan ia kapabel melakukan autentikasi. Update-update RIPv2 dikirim ke address multicast 22.0.0.9, yang hanya diproses oleh router-router lain yang menjalankan RIPv2. Dengan demikian, update-update RIPv2 tidak mengganggu prosesi host-host non-router.

3.  Langkah Praktikum

Pada praktik kali ini menggunakan aplikasi software Cisco Packet Tracer 5.3.3. Dalam scenario ini telah disediakan IP Addressing Table yang harus dikonfigurasikan untuk masing-masing device  yang digunakan :

Tabel 1. Addressing Table Scenario A


Langkah Pertama

Buatlah susunan jaringan seperti gambar dibawah ini :


Gambar 1. Susunan Rangkaian Jaringan Scenario A

Langkah Kedua

Pasangkan kartu wifi jaringan LAN tipe WIC-2T pada masing-masing Router. Klik icon router-> Physical -> WIC-2T.


Gambar 2. Kartu LAN WIFi R1



Gambar 3. Kartu LAN WIFi R2


Gambar 4. Kartu LAN WIFi R3

Langkah Ketiga



Lakukan pengkonfigurasian R1, R2, dan R3 dengan menggunakan Ip address yang telah disediakan. Klik icon router -> menu tab CLI

Konfigurasi R1 :
Router>en
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname R1
R1(config)#no ip domain-lookup
R1(config)#banner motd %
Enter TEXT message.  End with the character '%'.
"Welcome to the Configuration RIP Routers"
%
R1(config)#enable secret class
R1(config)#line console 0
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#line vty 0 4
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#exit

R1(config)#interface fa0/0
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#no shutdown

R1(config)#interface S0/0/0
R1(config-if)#ip address 192.168.2.1 255.255.255.0
R1(config-if)#no shutdown
Konfigurasi R2 :
Router>en
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname R2
R2(config)#no ip domain-lookup
R2(config)#banner motd %
Enter TEXT message.  End with the character '%'.
"Welcome to the Configuration RIP Routers"
%
R2(config)#enable secret class
R2(config)#line console 0
R2(config-line)#password cisco
R2(config-line)#login
R2(config-line)#line vty 0 4
R2(config-line)#password cisco
R2(config-line)#login
R2(config-line)#exit

R2(config)#interface fa0/0
R2(config-if)#ip address 192.168.3.1 255.255.255.0
R2(config-if)#no shutdown

R2(config)#interface S0/0/0
R2(config-if)#ip address 192.168.2.2 255.255.255.0
R2(config-if)#no shutdown

R2(config)#interface S0/0/1
R2(config-if)#ip address 192.168.4.2 255.255.255.0
R2(config-if)#no shutdown

Konfigurasi R3 :
Router>en
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname R3
R3(config)#no ip domain-lookup
R3(config)#banner motd %
Enter TEXT message.  End with the character '%'.
"Welcome to the Configuration RIP Routers"
%
R3(config)#enable secret class
R3(config)#line console 0
R3(config-line)#password cisco
R3(config-line)#login
R3(config-line)#line vty 0 4
R3(config-line)#password cisco
R3(config-line)#login
R3(config-line)#exit

R3(config)#interface fa0/0
R3(config-if)#ip address 192.168.5.1 255.255.255.0
R3(config-if)#no shutdown

R3(config)#interface S0/0/1
R3(config-if)#ip address 192.168.4.1 255.255.255.0
R3(config-if)#no shutdown

Langkah Keempat

Lakukan pengkonfigurasian RIP pada R1, R2, dan R3 dengan menggunakan network address yang diambil dari classful ip address yang digunakan pada masing-masing router. Klik icon router -> menu tab CLI


Konfigurasi RIP R1 :
R1(config)#router rip
R1(config-router)#

R1(config-router)#network 192.168.1.0
R1(config-router)#network 192.168.2.0
R1(config-router)#
R1(config-router)#end
%SYS-5-CONFIG_I: Configured from console by console
R1#copy run start

Konfigurasi RIP R2 :

R2(config)#router rip
R2(config-router)#network 192.168.2.0
R2(config-router)#network 192.168.3.0
R2(config-router)#network 192.168.4.0
R2(config-router)#end
%SYS-5-CONFIG_I: Configured from console by console
R2#copy run start
Konfigurasi RIP R3 :
R3(config)#router rip
R3(config-router)#network 192.168.4.0
R3(config-router)#network 192.168.5.0
R3(config-router)#end
%SYS-5-CONFIG_I: Configured from console by console
R3# copy run start

Langkah Kelima

Aktifkan semua status port yang digunakan untuk masing-masing Router dan Non-aktifkan status port yang tidak digunakan. Klik icon router -> menu tab Config -> Interface

Fa0/0 dan S/0/0/0 pada R1 :



Gambar 5. Pengaktifan Status Port R1 fa0/0



Gambar 6. Pengaktifan Status Port R1 s0/0/0

Fa0/0, S/0/0/0 dan S/0/0/1 pada R2


Gambar 7. Pengaktifan Status Port R2 fa0/0


Gambar 8. Pengaktifan Status Port R2 s0/0/0


Gambar 9. Pengaktifan Status Port R2 s/0/0/1

Fa0/0, S/0/0/1 pada R3


Gambar 10. Pengaktifan Status Port R3 fa0/0


Gambar 11. Pengaktifan Status Port R3 s/0/0/1


Langkah Keenam

Lakukan pengkonfigurasian ip address untuk masing-masing PC sesuai dengan ip address yang telah disediakan. Klik icon pc -> menu tab Desktop -> Ip Configuration.


Gambar 12. Konfigurasi PC1



Gambar 13. Konfigurasi PC2



Gambar 14. Konfigurasi PC3

4. Hasil Praktikum

Untuk mengetahui hasil praktikum, dapat dilakukan dengan menggunakan command "show ip route", "show ip protocols", "debug ip rip". 
 
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

C    192.168.1.0/24 is directly connected, FastEthernet0/0
C    192.168.2.0/24 is directly connected, Serial0/0/0
R    192.168.3.0/24 [120/1] via 192.168.2.2, 00:00:23, Serial0/0/0
R    192.168.4.0/24 [120/1] via 192.168.2.2, 00:00:23, Serial0/0/0
R    192.168.5.0/24 [120/2] via 192.168.2.2, 00:00:23, Serial0/0/0

R2#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    192.168.1.0/24 [120/1] via 192.168.2.1, 00:00:04, Serial0/0/0
C    192.168.2.0/24 is directly connected, Serial0/0/0
C    192.168.3.0/24 is directly connected, FastEthernet0/0
C    192.168.4.0/24 is directly connected, Serial0/0/1
R    192.168.5.0/24 [120/1] via 192.168.4.1, 00:00:23, Serial0/0/1

R3#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    192.168.1.0/24 [120/2] via 192.168.4.2, 00:00:13, Serial0/0/1
R    192.168.2.0/24 [120/1] via 192.168.4.2, 00:00:13, Serial0/0/1
R    192.168.3.0/24 [120/1] via 192.168.4.2, 00:00:13, Serial0/0/1
C    192.168.4.0/24 is directly connected, Serial0/0/1
C    192.168.5.0/24 is directly connected, FastEthernet0/0

R1#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 15 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 1, receive any version
  Interface             Send  Recv  Triggered RIP  Key-chain
  FastEthernet0/0       1     2 1   
  Serial0/0/0                1     2 1  
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
            192.168.1.0
            192.168.2.0
Passive Interface(s):
Routing Information Sources:
            Gateway         Distance      Last Update
            192.168.2.2          120      00:00:07

R2#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 0 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 1, receive any version
  Interface             Send  Recv  Triggered RIP  Key-chain
  FastEthernet0/0       1     2 1  
  Serial0/0/1               1     2 1  
  Serial0/0/0               1     2 1  
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
            192.168.2.0
            192.168.3.0
            192.168.4.0
Passive Interface(s):
Routing Information Sources:
            Gateway         Distance      Last Update
            192.168.2.1          120      00:00:05
            192.168.4.1          120      00:00:11

R3#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 2 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 1, receive any version
  Interface             Send  Recv  Triggered RIP  Key-chain
  FastEthernet0/0       1     2 1  
  Serial0/0/1               1     2 1  
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
            192.168.4.0
            192.168.5.0
Passive Interface(s):
Routing Information Sources:
            Gateway         Distance      Last Update
            192.168.4.2          120      00:00:01

R1#debug ip rip
RIP protocol debugging is on
R1#RIP: sending  v1 update to 255.255.255.255 via FastEthernet0/0 (192.168.1.1)
RIP: build update entries
      network 192.168.2.0 metric 1
      network 192.168.3.0 metric 2
      network 192.168.4.0 metric 2
      network 192.168.5.0 metric 3
RIP: sending  v1 update to 255.255.255.255 via Serial0/0/0 (192.168.2.1)
RIP: build update entries
      network 192.168.1.0 metric 1
RIP: received v1 update from 192.168.2.2 on Serial0/0/0
      192.168.3.0 in 1 hops
      192.168.4.0 in 1 hops
      192.168.5.0 in 2 hops
R2#debug ip rip
RIP protocol debugging is on
R2#RIP: received v1 update from 192.168.2.1 on Serial0/0/0
      192.168.1.0 in 1 hops
RIP: sending  v1 update to 255.255.255.255 via FastEthernet0/0 (192.168.3.1)
RIP: build update entries
      network 192.168.1.0 metric 2
      network 192.168.2.0 metric 1
      network 192.168.4.0 metric 1
      network 192.168.5.0 metric 2
RIP: sending  v1 update to 255.255.255.255 via Serial0/0/1 (192.168.4.2)
RIP: build update entries
      network 192.168.1.0 metric 2
      network 192.168.2.0 metric 1
      network 192.168.3.0 metric 1
RIP: sending  v1 update to 255.255.255.255 via Serial0/0/0 (192.168.2.2)
RIP: build update entries
      network 192.168.3.0 metric 1
      network 192.168.4.0 metric 1
      network 192.168.5.0 metric 2
RIP: received v1 update from 192.168.4.1 on Serial0/0/1
      192.168.5.0 in 1 hops
RIP: received v1 update from 192.168.2.1 on Serial0/0/0
      192.168.1.0 in 1 hops

R3#debug ip rip
RIP protocol debugging is on
R3#RIP: received v1 update from 192.168.4.2 on Serial0/0/1
      192.168.1.0 in 2 hops
      192.168.2.0 in 1 hops
      192.168.3.0 in 1 hops
RIP: sending  v1 update to 255.255.255.255 via FastEthernet0/0 (192.168.5.1)
RIP: build update entries
      network 192.168.1.0 metric 3
      network 192.168.2.0 metric 2
      network 192.168.3.0 metric 2
      network 192.168.4.0 metric 1
RIP: sending  v1 update to 255.255.255.255 via Serial0/0/1 (192.168.4.1)
RIP: build update entries
      network 192.168.5.0 metric 1
 
atau dengan cara meng-klik tombol button Check Result pada PT Activity, maka akan didapat laporan hasil seperti berikut :
 
Gambar 15. Hasil Praktikum
 



 



1 comments:

  1. mbak boleh tanya, ini punya saya kok masih nggak bisa ya, untuk
    r1
    ports
    link to r1 lan
    connects to fastethernet 0 1

    gimana mbak?

    ReplyDelete