how to configured two routers with serial port with command prompt 2026
how to configured two routers with serial port with command prompt 2026
How to Configure Two Routers with Serial Port (Step-by-Step Commands Guide 2026)
Website: https://sreekrishnatechbloganantapur2026.blogspot.com/
Email: pgollabala@gmail.com
Introduction
how to configured two routers with serial port with command prompt 2026Configuring two routers using a serial connection is a fundamental networking skill, especially for students, network engineers, and IT professionals preparing for certifications or real-world deployments. In this complete 2026 guide, you will learn how to connect and configure two routers using serial ports with step-by-step commands.
This tutorial is designed to help you understand WAN (Wide Area Network) communication using serial interfaces, which is commonly used in enterprise networks and lab simulations like Cisco Packet Tracer or GNS3.
What You Will Learn
Basics of serial communication between routers
Required devices and cables
Step-by-step router configuration
IP addressing and clock rate setup
Verification and troubleshooting
Requirements
Before starting, ensure you have the following:
2 Routers (Cisco or simulation software like Packet Tracer)
Serial DCE and DTE cable
Console cable for configuration
Basic knowledge of CLI (Command Line Interface)
Network Topology
Router1 (R1) ----------- Router2 (R2)
S0/0/0 S0/0/0
Step 1: Connect the Routers
Use a Serial DCE cable to connect Router1 and Router2.
Connect:
R1 Serial 0/0/0 → R2 Serial 0/0/0
One side will be DCE (clock provider) and the other DTE.
Step 2: Access Router CLI
Connect your PC to each router using a console cable and open CLI.
Type:
enable
configure terminal
Step 3: Configure Router1 (R1)
Set Hostname
hostname R1
Configure Serial Interface
interface serial 0/0/0
ip address 192.168.1.1 255.255.255.252
clock rate 64000
no shutdown
exit
Explanation:
ip address→ Assigns IP to interfaceclock rate→ Required only on DCE sideno shutdown→ Activates interface
Step 4: Configure Router2 (R2)
Set Hostname
hostname R2
Configure Serial Interface
interface serial 0/0/0
ip address 192.168.1.2 255.255.255.252
no shutdown
exit
Step 5: Verify DCE/DTE Side
On Router1 or Router2, type:
show controllers serial 0/0/0
If it shows DCE, configure clock rate there
If it shows DTE, no need to configure clock
Step 6: Save Configuration
On both routers:
end
write memory
OR
copy running-config startup-config
Step 7: Test Connectivity
From Router1:
ping 192.168.1.2
From Router2:
ping 192.168.1.1
If successful, you will see:
!!!!!
Step 8: Check Interface Status
show ip interface brief
Expected Output:
Serial interface should be up/up
Common Issues & Fixes
1. Interface Down
Use
no shutdown
2. No Clock Rate
Set clock rate on DCE side
3. Wrong IP Address
Ensure both routers are in same subnet
4. Cable Issue
Check serial cable connection
Advanced Configuration (Optional)
Enable Routing Protocol (RIP)
On both routers:
router rip
version 2
network 192.168.1.0
no auto-summary
exit
Security Best Practices
Set passwords for console and enable mode:
enable secret admin123
line console 0
password 1234
login
exit
Real-Time Use Cases
WAN connections between branches
ISP network simulations
CCNA/CCNP lab practice
Enterprise network design
Conclusion
Configuring two routers using serial ports is an essential skill for networking professionals. By following this step-by-step guide, you can easily set up communication between routers and understand WAN technologies deeply.
Practice regularly using Packet Tracer or real devices to gain hands-on experience. This knowledge will help you in certifications, job interviews, and real-world networking tasks.
About Us
Sree Krishna Tech Blog provides tutorials on:
Networking
Laptop/Desktop Repair
Software Installation
IT Support Services
Visit: https://sreekrishnatechbloganantapur2026.blogspot.com/
Contact: pgollabala@gmail.com
Final Tip
Consistency is key. Practice these commands daily, and you will become an expert in networking configuration.
Stay connected with Sree Krishna Tech Blog for more IT tutorials in 2026!
