Simulasi Routing Dinamis dengan Cisco Packet Tracer
Building a physical network lab with real routers and switches is expensive and time-consuming. Getting that same network to run perfectly in a virtual environment — with zero packet loss and full inter-subnet connectivity — is where the real networking begins.
Cisco Packet Tracer bridges this gap — it's a lightweight network simulator designed for students and network engineers. In the Dynamic & Static Routing project, we designed two real-world network scenarios (internet café and office network) on Cisco Packet Tracer and configured dynamic routing protocols for real-time packet forwarding between subnets.
This article covers the complete network simulation pipeline: from topology design and IP addressing to routing configuration and connectivity testing.
The Network Simulation Pipeline
┌──────────────┐ ┌──────────────┐ ┌──────────────┐
│ Topology │ │ Routing │ │ Testing │
│ Design │ │ Config │ │ │
│ │ │ │ │ │
│ IP Addressing│────▶│ RIP / OSPF / │────▶│ ping & │
│ Subnetting │ │ EIGRP │ │ tracert │
│ │ │ │ │ │
│ Topology │ │ Router & │ │ 0% Packet │
│ Design │ │ Switch Setup │ │ Loss │
└──────────────┘ └──────────────┘ └──────────────┘
Before any configuration, the first step is designing the network topology and IP addressing scheme for each scenario.
Scenario 1 — Office Network
The office network consists of three departments, each isolated in their own subnet and interconnected via routers:
Subnet HR : 192.168.1.0/24
Subnet IT : 192.168.2.0/24
Subnet Finance: 192.168.3.0/24
Router0 ──────── Switch0 ──────── PC-HR
│
Router1 ──────── Switch1 ──────── PC-IT
│
Router2 ──────── Switch2 ──────── PC-Finance
Scenario 2 — Internet Café Network
The internet café network connects multiple client PCs to a central router that acts as a gateway to the internet:
Subnet Client : 192.168.10.0/24
Gateway/ISP : 192.168.20.0/24
Router ──────── Switch ──────── PC-Client-1
├───── PC-Client-2
├───── PC-Client-3
└───── PC-Client-N
Step 2: Routing Protocol Configuration
RIP v2 (Routing Information Protocol)
RIP is the simplest dynamic routing protocol, suitable for small networks with a maximum of 15 hops:
OSPF (Open Shortest Path First)
OSPF uses the Dijkstra algorithm to find the shortest path, making it more efficient for larger networks:
EIGRP (Enhanced Interior Gateway Routing Protocol)
EIGRP is a Cisco proprietary protocol that offers the fastest convergence using the DUAL algorithm:
Routing Protocol Comparison
| Protocol | Algorithm | Max Hop | Convergence | Best For |
|----------|-----------|---------|-------------|----------|
| RIP v2 | Bellman-Ford | 15 | Slow | Small networks |
| OSPF | Dijkstra | Unlimited | Fast | Large networks |
| EIGRP | DUAL | Unlimited | Very fast | Cisco networks |
Step 3: Cable Type Selection
Choosing the correct cable type is critical for ensuring proper connectivity between devices.
Used for connecting different types of devices:
PC ──[Straight-Through]──▶ Switch
Switch ──[Straight-Through]──▶ Router
Used for connecting similar types of devices:
Router ──[Crossover]──▶ Router
PC ──[Crossover]──▶ PC
Switch ──[Crossover]──▶ Switch
| Cable Type | Used For | Example |
|------------|----------|---------|
| Straight-through | Different devices | PC ↔ Switch, Switch ↔ Router |
| Crossover | Same device type | Router ↔ Router, PC ↔ PC |
Step 4: Connectivity Testing
Tracert to Observe Routing Path
Optimization Tips for Network Simulation
1. Use OSPF for Scalable Networks
Unlike RIP, OSPF has no hop count limit and converges faster. For large office networks with multiple departments, OSPF with multiple areas is the recommended approach:
Instead of manually assigning IPs to every client PC, configure a DHCP server on the router to automate IP distribution:
3. Implement VLAN for Traffic Segmentation
Separate inter-department traffic in the office network using VLANs to improve security and reduce broadcast traffic:
The journey from a blank topology to a fully connected multi-subnet network requires careful planning at every stage. Cisco Packet Tracer's simulation environment makes it possible to practice enterprise-grade networking on any laptop without physical hardware.
The key lesson from this project: protocol selection is everything. A wrong routing protocol choice that works on a 3-router lab will completely break on a 30-router production network. RIP is a great starting point, but OSPF and EIGRP are what real networks run on.