Praktik Routing dinamic menggunakan RIP

Topologi: 3 Router (R1, R2, R3), tiap router terhubung ke switch dan PC.
Tujuan: Memahami & mengimplementasikan routing dinamis dengan RIP v2 agar setiap subnet dapat saling menjangkau.

  1. Alat & Bahan

  • Cisco Packet Tracer / GNS3 / Router Cisco (3 unit) + Switch (3) + PC (3)
  • Kabel straight-through untuk koneksi switch–PC/switch–router (atau sesuai simulator)
  • Akses ke CLI router (console/terminal)
  1. Topologi & Alamat IP (sesuai gambar)

routing dinamic menggunakan rip

Gunakan alamat berikut:

        • Jaringan antar-router (R1—R2): 192.168.2.0/24
          • R1 (se2/0) = 192.168.2.1/24
          • R2 (se2/0) = 192.168.2.2/24
        • Jaringan antar-router (R2—R3): 192.168.4.0/24
          • R2 (se3/0) = 192.168.4.1/24
          • R3 (se2/0) = 192.168.4.2/24
        • LAN R1: 192.168.1.0/24
          • R1 Fa0/0 = 192.168.1.1/24
          • PC1 = 192.168.1.2 /24 (gateway 192.168.1.1)
        • LAN R2: 192.168.3.0/24
          • R2 Fa0/0 = 192.168.3.1/24
          • PC2 = 192.168.3.2 /24 (gateway 192.168.3.1)
        • LAN R3: 192.168.5.0/24
          • R3 Fa0/0 = 192.168.5.1/24
          • PC3 = 192.168.5.2 /24 (gateway 192.168.5.1)

Catatan: nama interface R1 se2/0 dll mengikuti gambar. Sesuaikan nama interface jika perangkat Anda berbeda (s/0 = serial; gunakan sub-interface atau loopback jika simulasi tidak punya serial).

  1. Landasan Teori Ringkas — RIP (Routing Information Protocol)

      • Tipe protokol: Distance-vector routing protocol.
      • Metode: Mengirimkan routing table ke tetangga setiap 30 detik.
      • Metric: Hop count (maks 15 hops; 16 = unreachable).
      • Versi: RIP v1 (classful), RIP v2 (classless, mendukung subnet mask & authentication).
      • Kapan digunakan: Jaringan kecil/menengah, sederhana — tidak cocok untuk skala besar.
      • Kelebihan: Mudah dikonfigurasi, otomatis.
      • Kekurangan: Konvergensi relatif lambat, skalabilitas terbatas, rentan terhadap routing loops (split horizon, hold-down, triggered updates membantu mitigasi).
  1. Langkah Praktikum (Langkah demi langkah)

A.Setup fisik/topologi

    1. Pasang 3 Router (R1,R2,R3), 3 Switch, 3 PC di simulator.
    2. Hubungkan:
      • R1 Fa0/0 ke Switch1; Switch1 ke PC1.
      • R2 Fa0/0 ke Switch2; Switch2 ke PC2.
      • R3 Fa0/0 ke Switch3; Switch3 ke PC3.
      • R1 se2/0 ke R2 se2/0.
      • R2 se3/0 ke R3 se2/0.

Jika Serial tidak tersedia di simulator, gunakan FastEthernet link dan konfigurasi IP sesuai subnet antar-router.

B.Konfigurasi Dasar Router (hostname, IP, no shutdown)

1) Router R1

Router>en

Router#conf t

Router(config)#hostname R1




R1(config)#int fa0/0

R1(config-if)#ip address 192.168.1.1 255.255.255.0

R1(config-if)#no shutdown

R1(config-if)#exit




R1(config)#int se2/0

R1(config-if)#ip address 192.168.2.1 255.255.255.0

R1(config-if)#no shutdown

R1(config-if)#exit




R1(config)#exit

R1#ip route 0.0.0.0 0.0.0.0 192.168.2.2   ! optional default route

2) Router R2

Router>en

Router#conf t

Router(config)#hostname R2




R2(config)#int fa0/0

R2(config-if)#ip address 192.168.3.1 255.255.255.0

R2(config-if)#no shutdown

R2(config-if)#exit




R2(config)#int se2/0

R2(config-if)#ip address 192.168.2.2 255.255.255.0

R2(config-if)#no shutdown

R2(config-if)#exit




R2(config)#int se3/0

R2(config-if)#ip address 192.168.4.1 255.255.255.0

R2(config-if)#no shutdown

R2(config-if)#exit

3) Router R3

Router>en

Router#conf t

Router(config)#hostname R3




R3(config)#int fa0/0

R3(config-if)#ip address 192.168.5.1 255.255.255.0

R3(config-if)#no shutdown

R3(config-if)#exit




R3(config)#int se2/0

R3(config-if)#ip address 192.168.4.2 255.255.255.0

R3(config-if)#no shutdown

R3(config-if)#exit

C.Konfigurasi Routing RIP v2

R1

R1>en

R1#conf t

R1(config)#router rip

R1(config-router)#version 2

R1(config-router)#no auto-summary

R1(config-router)#network 192.168.1.0

R1(config-router)#network 192.168.2.0

R1(config-router)#exit

R2

R2>en

R2#conf t

R2(config)#router rip

R2(config-router)#version 2

R2(config-router)#no auto-summary

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)#exit

R3

R3>en

R3#conf t

R3(config)#router rip

R3(config-router)#version 2

R3(config-router)#no auto-summary

R3(config-router)#network 192.168.4.0

R3(config-router)#network 192.168.5.0

R3(config-router)#exit

🔑 Catatan:

  • Perintah no auto-summary digunakan agar RIP v2 mendukung classless routing (CIDR), sehingga subnet mask tetap dikirim dalam update routing dan mencegah summarization otomatis.
  • Jika interface serial ada yang bertindak sebagai DCE, tambahkan clock rate 64000.

D.Konfigurasi PC (gateway & IP)

Pada PC1:

      • IP: 192.168.1.2
      • Mask: 255.255.255.0
      • Gateway: 192.168.1.1

PC2: 192.168.3.2 /24 gw 192.168.3.1
PC3: 192.168.5.2 /24 gw 192.168.5.1

E.Verifikasi & Pengujian

1) Cek Routing Table

Pada R1:

R1>en

R1#show ip route

Contoh output (ringkas):

192.168.0.0/24 is subnetted, 4 subnets

R     192.168.3.0 [120/1] via 192.168.2.2, 00:00:12, Serial2/0

R     192.168.5.0 [120/2] via 192.168.2.2, 00:00:12, Serial2/0

C     192.168.1.0 is directly connected, FastEthernet0/0

C     192.168.2.0 is directly connected, Serial2/0

Keterangan:

      • C = Connected (jaringan langsung terhubung)
      • R = RIP (jaringan yang dipelajari lewat protokol RIP)
      • [120/1] → 120 = administrative distance RIP, 1 = hop count
2) Cek Protokol Routing Aktif
R1#show ip protocols

Output (ringkas):

Routing Protocol is “rip”

  Sending updates every 30 seconds, next due in 16 seconds

  Outgoing update filter list for all interfaces is not set

  Incoming update filter list for all interfaces is not set

  Routing for Networks:

    192.168.1.0

    192.168.2.0

  Routing Information Sources:

    Gateway         Distance   Last Update

    192.168.2.2     120        00:00:14

  Default version control: send version 2, receive version 2

3) Cek Database RIP
R1#show ip rip database

Output:

RIP routing table entries for 192.168.3.0/24

    [1] via 192.168.2.2, 00:00:12, Serial2/0

RIP routing table entries for 192.168.5.0/24

    [2] via 192.168.2.2, 00:00:12, Serial2/0

4) Ping Antar PC (End-to-End)

Dari PC1 (192.168.1.2):

C:\> ping 192.168.3.2

Pinging 192.168.3.2 with 32 bytes of data:

Reply from 192.168.3.2: bytes=32 time<1ms TTL=126

C:\> ping 192.168.5.2

Pinging 192.168.5.2 with 32 bytes of data:

Reply from 192.168.5.2: bytes=32 time<1ms TTL=125

5) Traceroute (cek jalur routing)

Dari PC1 ke PC3 (192.168.5.2):

C:\> tracert 192.168.5.2

Tracing route to 192.168.5.2 over a maximum of 30 hops

1    <1 ms   <1 ms   <1 ms   192.168.1.1

2     1 ms    1 ms    1 ms   192.168.2.2

3     2 ms    2 ms    2 ms   192.168.4.2

4     3 ms    3 ms    3 ms   192.168.5.2

6) Debug RIP (opsional, hati-hati di lab nyata)
R1#debug ip rip

Contoh output:

RIP: sending v2 update to 224.0.0.9 via Serial2/0

subnet 192.168.1.0, metric 1

subnet 192.168.2.0, metric 1

RIP: received v2 update from 192.168.2.2 on Serial2/0

192.168.3.0/24 via 0.0.0.0 in 1 hops

192.168.4.0/24 via 0.0.0.0 in 1 hops

192.168.5.0/24 via 0.0.0.0 in 2 hops

 7) Tes convergensi / failover:

    • Matikan interface Serial R2-R3 (shutdown di interface R2 Serial3/0) lalu show ip route pada R1/R2; lihat perubahan rute. Aktifkan kembali dan cek rute kembali. Catat waktu konvergensi.
  1. Soal Diskusi & Tugas Praktikum
  1. Konfigurasi: Tunjukkan konfigurasi RIP di setiap router (copy running-config). Jelaskan fungsi tiap perintah router rip, version 2, no auto-summary, dan network.
  2. Analisis Routing Table: Jelaskan entri routing yang muncul di show ip route pada R1—apa arti kode R dan metric.
  3. Pengujian End-to-End: Lakukan ping dari PC1 ke PC3. Jika gagal, jelaskan langkah troubleshooting yang Anda lakukan dan hasilnya.
  4. Konvergensi: Matikan link R2–R3. Berapa lama sampai PC1 tidak bisa reach PC3? Berapa lama sampai rute pulih setelah link dikembalikan? Diskusikan faktor yang mempengaruhi waktu konvergensi RIP.
  5. Optimasi: Jika jaringan berkembang menjadi 20 subnet, jelaskan mengapa RIP mungkin bukan pilihan terbaik. Sebutkan dua protokol alternatif yang lebih sesuai dan alasan singkatnya.
  1. Laporan Praktikum (format minimal)
  • Judul & tujuan
  • Topologi & IP addressing (tabel)
  • Konfigurasi lengkap (per router)
  • Output verifikasi (show ip route, show ip protocols, hasil ping/traceroute) — screenshot/log
  • Pengamatan: waktu konvergensi, metric hop, dan permasalahan jika ada
  • Diskusi: analisis hasil & jawaban soal diskusi
  • Kesimpulan & saran
  1. Rubrik Penilaian (contoh)
  • Topologi & IP benar: 15%
  • Konfigurasi router (lengkap & benar): 30%
  • Verifikasi & bukti (show commands, ping): 25%
  • Analisis & diskusi (jawaban soal & troubleshooting): 20%
  • Penyajian laporan (rapi & lengkap): 10%
  1. Troubleshooting umum
  • Pastikan no shutdown pada semua interface.
  • Cek IP & subnet mask salah satu jaringan.
  • Cek kabel & jenis koneksi (Serial vs FastEthernet).
  • Jika menggunakan serial, cek clock rate pada DCE end (clock rate 64000).
  • Gunakan debug ip rip untuk melihat update RIP (hentikan setelah selesai).
  • Periksa show ip interface brief untuk status interface.

 

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Register Now
CLOSE