how to configured two routers with serial port dynamic ip address with command prompt 2026
How to Configure Two Routers with Serial Port Using Dynamic IP Address (Command Prompt) – Complete Guide 2026
Website: https://sreekrishnatechbloganantapur2026.blogspot.com/
Email: pgollabala@gmail.com
Introduction
Configuring two routers using a serial port connection with dynamic IP addressing is an essential skill for networking students, IT support engineers, and DevOps professionals. In this guide, you will learn step-by-step configuration using command line (CLI), which is commonly used in real-world networking environments.
This tutorial is designed to help you:
Understand router-to-router communication
Configure serial interfaces
Enable dynamic IP addressing
Use routing protocols
Troubleshoot connectivity issues
What You Need Before Starting
Before configuration, ensure you have the following:
Two routers (Cisco or similar)
Serial DCE/DTE cable
Console cable
PC/Laptop with terminal software (Command Prompt / PuTTY)
Basic knowledge of networking
Network Topology
[Router1] -------- Serial Cable -------- [Router2]
Step 1: Connect Routers
Connect Router1 and Router2 using a serial cable
Identify:
One side will be DCE
Other side will be DTE
👉 The DCE side provides clock rate.
Step 2: Access Router CLI
Use Command Prompt or terminal software:
telnet 192.168.1.1
OR connect via console cable.
Step 3: Basic Configuration (Both Routers)
Enter Privileged Mode
enable
Enter Global Configuration Mode
configure terminal
Set Hostname
Router1:
hostname Router1
Router2:
hostname Router2
Step 4: Configure Serial Interface
On Router1 (DCE Side)
interface serial 0/0/0
ip address 10.0.0.1 255.255.255.252
clock rate 64000
no shutdown
On Router2 (DTE Side)
interface serial 0/0/0
ip address 10.0.0.2 255.255.255.252
no shutdown
Step 5: Configure Dynamic IP Address (DHCP)
Router1 as DHCP Server
ip dhcp pool NETWORK1
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 8.8.8.8
Configure Interface for LAN
interface gigabitEthernet 0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
Router2 as DHCP Client
interface gigabitEthernet 0/0
ip address dhcp
no shutdown
Step 6: Configure Routing (Dynamic Routing Protocol)
Use RIP (Routing Information Protocol) for dynamic routing.
On Router1
router rip
version 2
network 10.0.0.0
network 192.168.1.0
no auto-summary
On Router2
router rip
version 2
network 10.0.0.0
no auto-summary
Step 7: Verify Configuration
Check Interface Status
show ip interface brief
Check Routing Table
show ip route
Ping Test
From Router1:
ping 10.0.0.2
From Router2:
ping 10.0.0.1
Step 8: Troubleshooting Tips
If connection fails:
1. Check Interface Status
show interfaces serial 0/0/0
2. Ensure Interfaces are UP
no shutdown
3. Verify Clock Rate (DCE side only)
clock rate 64000
4. Check IP Addressing
show running-config
Common Mistakes to Avoid
Forgetting
no shutdownMissing clock rate on DCE side
Incorrect subnet mask
Wrong routing configuration
Not enabling routing protocol
Advantages of Dynamic IP Configuration
Automatic IP assignment
Reduced manual errors
Scalable network setup
Easy management
Real-World Use Cases
ISP connections
WAN networking
Enterprise branch connectivity
Network labs and simulations
Conclusion
Configuring two routers using a serial port with dynamic IP addressing is a fundamental networking skill. By following the above steps, you can successfully:
✔ Connect routers
✔ Assign IP addresses
✔ Configure DHCP
✔ Enable dynamic routing
✔ Test connectivity
This guide is perfect for students, job seekers, and IT professionals aiming to improve their networking skills in 2026.
About Us
Sree Krishna Tech Blog provides:
Laptop & Desktop Support
Networking Solutions
Software Installation
Remote IT Support
📧 Email: pgollabala@gmail.com
🌐 Website: https://sreekrishnatechbloganantapur2026.blogspot.com/
🔥 Start practicing today and become a networking expert in 2026!
