Routing Statik pada Multi Router Network dengan Cisco Packet Tracer

-
Tujuan
-
- Memahami konsep static routing dalam komunikasi antarjaringan.
- Mengkonfigurasi alamat IP pada router dan end device.
- Menghubungkan beberapa jaringan LAN dengan menggunakan static routing.
- Melakukan pengujian konektivitas antar jaringan menggunakan perintah ping.
-
Dasar Teori
3.1 Routing
Routing adalah proses pengiriman paket data dari suatu jaringan ke jaringan lain melalui perangkat router. Router menggunakan tabel routing untuk menentukan jalur terbaik dalam mengirimkan paket.
3.2 Static Routing
Static routing adalah metode routing di mana administrator jaringan secara manual menentukan jalur atau rute yang akan dilalui paket.
-
- Kelebihan:
- Sederhana untuk jaringan kecil
- Tidak membebani CPU router karena tidak ada perhitungan otomatis
- Jalur komunikasi lebih terkontrol
- Kekurangan:
- Tidak fleksibel untuk jaringan besar
- Perlu konfigurasi ulang jika ada perubahan topologi jaringan
- Rentan human error jika jumlah rute banyak
- Kelebihan:
3.3 IP Addressing
Dalam konfigurasi ini digunakan 4 LAN dengan subnet berbeda, serta 1 backbone:
-
-
- LAN1 : 192.168.1.0/24
- LAN2 : 192.168.2.0/24
- LAN3 : 192.168.3.0/24
- LAN4 : 192.168.4.0/24
- Backbone : 10.10.1.0/24
-
Router1:
-
eth0: DHCP (10.10.1.x)
-
eth1: 192.168.1.1/24
-
PC1: 192.168.1.2/24, gateway 192.168.1.1
-
-
Router2:
-
eth0: DHCP (10.10.1.x)
-
eth1: 192.168.2.1/24
-
PC2: 192.168.2.2/24, gateway 192.168.2.1
-
-
Router3:
-
eth0: DHCP (10.10.1.x)
-
eth1: 192.168.3.1/24
-
PC3: 192.168.3.2/24, gateway 192.168.3.1
-
-
Router4:
-
eth0: DHCP (10.10.1.x)
-
eth1: 192.168.4.1/24
-
PC4: 192.168.4.2/24, gateway 192.168.4.1
-
-
-
Alat dan Bahan
-
- Software Cisco Packet Tracer
- Router (Cisco 1841) : 4 buah
- Switch (Cisco 2960) : 1 buah
- PC : 4 buah
- Kabel UTP (straight) untuk koneksi PC–Router/Switch
- Kabel serial (DCE/DTE) bila diperlukan
-
Langkah Praktikum

🔹 Skenario 1 – Konfigurasi Static RoutingÂ
📌 Router 1 (LAN: 192.168.1.0/24)
Router>en Router#conf t Router(config)#hostname R1 ! Interface ke LAN R1(config)#int fa0/1 R1(config-if)#ip address 192.168.1.1 255.255.255.0 R1(config-if)#no shutdown ! Interface ke Backbone R1(config)#int fa0/0 R1(config-if)#ip address 10.10.1.10 255.255.255.0 R1(config-if)#no shutdown ! Default Route menuju Backbone R1(config)#ip route 0.0.0.0 0.0.0.0 10.10.1.1
📌 Router 2 (LAN: 192.168.2.0/24)
Router>en Router#conf t Router(config)#hostname R2 ! Interface ke LAN R2(config)#int fa0/1 R2(config-if)#ip address 192.168.2.1 255.255.255.0 R2(config-if)#no shutdown ! Interface ke Backbone R2(config)#int fa0/0 R2(config-if)#ip address 10.10.1.20 255.255.255.0 R2(config-if)#no shutdown ! Default Route R2(config)#ip route 0.0.0.0 0.0.0.0 10.10.1.1
📌 Router 3 (LAN: 192.168.3.0/24)
Router>en Router#conf t Router(config)#hostname R3 ! Interface ke LAN R3(config)#int fa0/1 R3(config-if)#ip address 192.168.3.1 255.255.255.0 R3(config-if)#no shutdown ! Interface ke Backbone R3(config)#int fa0/0 R3(config-if)#ip address 10.10.1.30 255.255.255.0 R3(config-if)#no shutdown ! Default Route R3(config)#ip route 0.0.0.0 0.0.0.0 10.10.1.1
📌 Router 4 (LAN: 192.168.4.0/24)
Router>en Router#conf t Router(config)#hostname R4 ! Interface ke LAN R4(config)#int fa0/1 R4(config-if)#ip address 192.168.4.1 255.255.255.0 R4(config-if)#no shutdown ! Interface ke Backbone R4(config)#int fa0/0 R4(config-if)#ip address 10.10.1.40 255.255.255.0 R4(config-if)#no shutdown ! Default Route R4(config)#ip route 0.0.0.0 0.0.0.0 10.10.1.1
📌 Router Pusat / Backbone (IP: 10.10.1.1)
Router ini jadi central router untuk menghubungkan semua LAN.
Router>en Router#conf t Router(config)#hostname Core ! Interface ke backbone Core(config)#int fa0/0 Core(config-if)#ip address 10.10.1.1 255.255.255.0 Core(config-if)#no shutdown ! Static route ke semua jaringan LAN Core(config)#ip route 192.168.1.0 255.255.255.0 10.10.1.10 Core(config)#ip route 192.168.2.0 255.255.255.0 10.10.1.20 Core(config)#ip route 192.168.3.0 255.255.255.0 10.10.1.30 Core(config)#ip route 192.168.4.0 255.255.255.0 10.10.1.40
🔹 Catatan Penting
- Gateway PC harus sesuai dengan router LAN masing-masing, misalnya:
- PC1 → gateway 192.168.1.1
- PC2 → gateway 192.168.2.1
- PC3 → gateway 192.168.3.1
- PC4 → gateway 192.168.4.1
- Cek konektivitas
- Dari PC1 ping ke PC2, PC3, PC4 → harus sukses.
- Gunakan tracert untuk melihat jalur routing.
- Static routing ini sudah benar untuk topologi hub-and-spoke dengan router pusat (Core).
🔹 Skenario 2 – DHCP Hanya untuk LAN
👉 Backbone (10.10.1.0/24) dikonfigurasi statik untuk setiap router.
👉 DHCP hanya digunakan di LAN supaya PC di subnet 192.168.x.0/24 dapat IP otomatis.
📌 konfigurasi Router R1 (LAN 192.168.1.0/24):
Router>en Router#conf t Router(config)#hostname R1 ! Interface ke Backbone (statik) R1(config)#int fa0/0 R1(config-if)#ip address 10.10.1.10 255.255.255.0 R1(config-if)#no shutdown ! Interface ke LAN R1(config)#int fa0/1 R1(config-if)#ip address 192.168.1.1 255.255.255.0 R1(config-if)#no shutdown ! DHCP Pool untuk LAN R1(config)#ip dhcp pool LAN1 R1(dhcp-config)#network 192.168.1.0 255.255.255.0 R1(dhcp-config)#default-router 192.168.1.1 R1(dhcp-config)#dns-server 8.8.8.8 R1(dhcp-config)#exit
! Kecualikan alamat gateway dari DHCP
R1(config)#ip dhcp excluded-address 192.168.1.1
📌 PC1 akan otomatis dapat IP dari router R1, misalnya 192.168.1.2/24 gateway 192.168.1.1.
📌 Contoh R2 (LAN 192.168.2.0/24)
Router>en Router#conf t Router(config)#hostname R2 ! Interface ke Backbone R2(config)#int fa0/0 R2(config-if)#ip address 10.10.1.20 255.255.255.0 R2(config-if)#no shutdown ! Interface ke LAN R2(config)#int fa0/1 R2(config-if)#ip address 192.168.2.1 255.255.255.0 R2(config-if)#no shutdown ! DHCP Pool untuk LAN2 R2(config)#ip dhcp pool LAN2 R2(dhcp-config)#network 192.168.2.0 255.255.255.0 R2(dhcp-config)#default-router 192.168.2.1 R2(dhcp-config)#dns-server 8.8.8.8 R2(dhcp-config)#exit ! Exclude alamat gateway R2(config)#ip dhcp excluded-address 192.168.2.1 ! Default Route R2(config)#ip route 0.0.0.0 0.0.0.0 10.10.1.1
📌 Contoh R3 (LAN 192.168.3.0/24)
Router>en Router#conf t Router(config)#hostname R3 ! Interface ke Backbone R3(config)#int fa0/0 R3(config-if)#ip address 10.10.1.30 255.255.255.0 R3(config-if)#no shutdown ! Interface ke LAN R3(config)#int fa0/1 R3(config-if)#ip address 192.168.3.1 255.255.255.0 R3(config-if)#no shutdown ! DHCP Pool untuk LAN3 R3(config)#ip dhcp pool LAN3 R3(dhcp-config)#network 192.168.3.0 255.255.255.0 R3(dhcp-config)#default-router 192.168.3.1 R3(dhcp-config)#dns-server 8.8.8.8 R3(dhcp-config)#exit ! Exclude alamat gateway R3(config)#ip dhcp excluded-address 192.168.3.1 ! Default Route R3(config)#ip route 0.0.0.0 0.0.0.0 10.10.1.1
📌 Contoh R4 (LAN 192.168.4.0/24)
Router>en Router#conf t Router(config)#hostname R4 ! Interface ke Backbone R4(config)#int fa0/0 R4(config-if)#ip address 10.10.1.40 255.255.255.0 R4(config-if)#no shutdown ! Interface ke LAN R4(config)#int fa0/1 R4(config-if)#ip address 192.168.4.1 255.255.255.0 R4(config-if)#no shutdown ! DHCP Pool untuk LAN4 R4(config)#ip dhcp pool LAN4 R4(dhcp-config)#network 192.168.4.0 255.255.255.0 R4(dhcp-config)#default-router 192.168.4.1 R4(dhcp-config)#dns-server 8.8.8.8 R4(dhcp-config)#exit ! Exclude alamat gateway R4(config)#ip dhcp excluded-address 192.168.4.1 ! Default Route R4(config)#ip route 0.0.0.0 0.0.0.0 10.10.1.1
🔹 Skenario 3 – DHCP di Backbone dan LAN
👉 Interface backbone (eth0) dapat IP otomatis dari DHCP.
👉 Router cabang juga menjadi DHCP server untuk PC di LAN.
📌 Core Router (Backbone)
Core>en Core#conf t Core(config)#hostname Core ! Interface ke backbone Core(config)#int fa0/0 Core(config-if)#ip address 10.10.1.1 255.255.255.0 Core(config-if)#no shutdown ! DHCP Pool untuk Backbone Core(config)#ip dhcp pool BACKBONE Core(dhcp-config)#network 10.10.1.0 255.255.255.0 Core(dhcp-config)#default-router 10.10.1.1 Core(dhcp-config)#dns-server 8.8.8.8 Core(dhcp-config)#exit ! Kecualikan IP Core sendiri Core(config)#ip dhcp excluded-address 10.10.1.1 ! Static route ke semua LAN (via backbone router yg dapat IP DHCP) ! (alamat next-hop akan otomatis dari lease DHCP, bisa diganti manual jika perlu)
📌 Router 1 (R1 – LAN 192.168.1.0/24)
R1>en R1#conf t R1(config)#hostname R1 ! Interface ke Backbone (IP otomatis via DHCP) R1(config)#int fa0/0 R1(config-if)#ip address dhcp R1(config-if)#no shutdown ! Interface ke LAN R1(config)#int fa0/1 R1(config-if)#ip address 192.168.1.1 255.255.255.0 R1(config-if)#no shutdown ! DHCP Pool untuk LAN1 R1(config)#ip dhcp pool LAN1 R1(dhcp-config)#network 192.168.1.0 255.255.255.0 R1(dhcp-config)#default-router 192.168.1.1 R1(dhcp-config)#dns-server 8.8.8.8 R1(dhcp-config)#exit R1(config)#ip dhcp excluded-address 192.168.1.1
📌 Router 2 (R2 – LAN 192.168.2.0/24)
R2>en R2#conf t R2(config)#hostname R2 ! Interface ke Backbone (IP otomatis via DHCP) R2(config)#int fa0/0 R2(config-if)#ip address dhcp R2(config-if)#no shutdown ! Interface ke LAN R2(config)#int fa0/1 R2(config-if)#ip address 192.168.2.1 255.255.255.0 R2(config-if)#no shutdown ! DHCP Pool untuk LAN2 R2(config)#ip dhcp pool LAN2 R2(dhcp-config)#network 192.168.2.0 255.255.255.0 R2(dhcp-config)#default-router 192.168.2.1 R2(dhcp-config)#dns-server 8.8.8.8 R2(dhcp-config)#exit R2(config)#ip dhcp excluded-address 192.168.2.1
📌 Router 3 (R3 – LAN 192.168.3.0/24)
R3>en R3#conf t R3(config)#hostname R3 ! Interface ke Backbone (IP otomatis via DHCP) R3(config)#int fa0/0 R3(config-if)#ip address dhcp R3(config-if)#no shutdown ! Interface ke LAN R3(config)#int fa0/1 R3(config-if)#ip address 192.168.3.1 255.255.255.0 R3(config-if)#no shutdown ! DHCP Pool untuk LAN3 R3(config)#ip dhcp pool LAN3 R3(dhcp-config)#network 192.168.3.0 255.255.255.0 R3(dhcp-config)#default-router 192.168.3.1 R3(dhcp-config)#dns-server 8.8.8.8 R3(dhcp-config)#exit R3(config)#ip dhcp excluded-address 192.168.3.1
📌 Router 4 (R4 – LAN 192.168.4.0/24)
R4>en R4#conf t R4(config)#hostname R4 ! Interface ke Backbone (IP otomatis via DHCP) R4(config)#int fa0/0 R4(config-if)#ip address dhcp R4(config-if)#no shutdown ! Interface ke LAN R4(config)#int fa0/1 R4(config-if)#ip address 192.168.4.1 255.255.255.0 R4(config-if)#no shutdown ! DHCP Pool untuk LAN4 R4(config)#ip dhcp pool LAN4 R4(dhcp-config)#network 192.168.4.0 255.255.255.0 R4(dhcp-config)#default-router 192.168.4.1 R4(dhcp-config)#dns-server 8.8.8.8 R4(dhcp-config)#exit R4(config)#ip dhcp excluded-address 192.168.4.1
🔹 Cara Kerja Skenario Ini
- Core Router memberi IP otomatis untuk semua router cabang di interface backbone (fa0/0). Misalnya:
- R1 dapat 10.10.1.10
- R2 dapat 10.10.1.20
- R3 dapat 10.10.1.30
- R4 dapat 10.10.1.40
- Router Cabang (R1–R4) tetap berfungsi sebagai DHCP server untuk PC di LAN masing-masing.
- Routing tetap harus dibuat statik/dinamis agar semua LAN saling terkoneksi.
- Kalau static routing, Core harus tahu semua subnet LAN.
- Kalau RIP/OSPF, router saling bertukar informasi routing otomatis.
✨ Perbandingan
- Skenario 1 (lebih sederhana): Backbone pakai IP statik, hanya LAN pakai DHCP.
- Skenario 2 (lebih kompleks): Backbone juga pakai DHCP dari router pusat, LAN tetap DHCP untuk PC.
-
Konfigurasi PC
-
- PC1 : 192.168.1.2 /24, Gateway 192.168.1.1
- PC2 : 192.168.2.2 /24, Gateway 192.168.2.1
- PC3 : 192.168.3.2 /24, Gateway 192.168.3.1
- PC4 : 192.168.4.2 /24, Gateway 192.168.4.1
-
Pengujian
-
- Ping dari PC1 ke PC2, PC3, dan PC4
- Ping dari PC4 ke PC1
- Uji konektivitas ke jaringan backbone (10.10.1.0/24)
-
Pertanyaan Diskusi
🧩 Skenario 1 – Routing Statis pada Multi-Router (Backbone dan LAN Statis)
💬 Pertanyaan Diskusi
- Mengapa penggunaan default route (0.0.0.0/0) pada router LAN diperlukan dalam skenario ini?
- Apa yang terjadi jika salah satu router cabang tidak memiliki rute statis ke jaringan pusat?
- Bandingkan antara static routing dan dynamic routing dalam hal fleksibilitas dan keamanan.
- Mengapa setiap interface pada router harus diaktifkan menggunakan perintah no shutdown?
- Apa akibatnya jika IP address yang digunakan pada salah satu interface backbone tumpang tindih dengan subnet lain?
🧠Tugas Pengayaan
- Buatlah topologi baru dengan tiga router dan dua switch tambahan yang tetap menggunakan routing statik penuh.
- Dokumentasikan seluruh tabel routing statik pada tiap router.
- Uji konektivitas antar-LAN menggunakan perintah ping dan tracert.
- Analisis dan tuliskan kelemahan utama konfigurasi ini ketika jumlah router bertambah.
- Buat diagram jaringan dalam format .pkt (Cisco Packet Tracer) dan laporan PDF berisi hasil konfigurasi serta tabel IP Address.
🧩 Skenario 2 – LAN Menggunakan DHCP, Backbone Statis
💬 Pertanyaan Diskusi
- Apa keuntungan utama menggunakan DHCP pada LAN dibanding konfigurasi statik untuk tiap host?
- Jika router LAN menjadi DHCP server, bagaimana memastikan gateway dan DNS tetap benar?
- Mengapa backbone sebaiknya tetap statis pada jaringan berskala besar?
- Apa risiko jika alamat IP dari gateway ikut diberikan dalam rentang DHCP pool?
- Bagaimana proses DHCP Discover dan DHCP Offer terjadi dalam jaringan ini?
🧠Tugas Pengayaan
- Tambahkan satu router cabang baru dengan LAN yang juga menggunakan DHCP.
- Uji apakah klien baru dapat berkomunikasi dengan jaringan pusat tanpa mengubah konfigurasi backbone.
- Modifikasi konfigurasi DHCP agar tiap LAN memiliki domain-name yang berbeda (misalnya lan1.local, lan2.local).
- Simulasikan kondisi di mana DHCP server down — bagaimana efeknya terhadap klien?
- Buat laporan hasil observasi dan tangkapan layar Packet Tracer Simulation Mode untuk proses DHCP handshake.
🧩 Skenario 3 – DHCP di Backbone dan LAN
💬 Pertanyaan Diskusi
- Apa tantangan utama jika backbone juga menggunakan DHCP selain LAN?
- Bagaimana router pusat mengenali alamat IP baru router cabang bila backbone bersifat dinamis?
- Apakah konsep static routing masih cocok digunakan pada jaringan ini?
- Solusi apa yang dapat diterapkan untuk mempertahankan konektivitas meski IP backbone berubah karena DHCP?
- Bagaimana peran default route dalam situasi di mana seluruh IP backbone bersifat dinamis?
🧠Tugas Pengayaan
- Implementasikan DHCP pada backbone menggunakan router pusat sebagai DHCP server utama.
- Pastikan semua router cabang menerima IP backbone secara otomatis.
- Buat analisis singkat mengenai konflik IP yang mungkin terjadi bila backbone menggunakan DHCP tanpa reservasi.
- Uji koneksi antar-LAN setelah backbone berubah IP — catat hasil ping sebelum dan sesudah perubahan.








