how to configured two routers cisco 2620 with console cable with ip routing steps
Configure Two Cisco 2620 Routers with IP Routing (Step-by-Step)
This guide explains how to configure two Cisco 2620 Router routers using console access and enable IP routing between them.
Network Topology
Example setup:
PC1 ---- Router1 ===== Router2 ---- PC2
Fa0/0 Serial Fa0/0
IP Address Plan
| Device | Interface | IP Address | Subnet Mask |
|---|---|---|---|
| Router1 | FastEthernet0/0 | 192.168.1.1 | 255.255.255.0 |
| Router1 | Serial0/0 | 10.0.0.1 | 255.255.255.252 |
| Router2 | Serial0/0 | 10.0.0.2 | 255.255.255.252 |
| Router2 | FastEthernet0/0 | 192.168.2.1 | 255.255.255.0 |
Required Cables
Console cable (rollover cable)
Serial DCE/DTE cable
Ethernet cable
Step 1: Connect Console Cable
Connect console cable from PC to Router1 console port.
Open terminal software:
PuTTY
Tera Term
HyperTerminal
Terminal Settings
Speed (Baud Rate): 9600
Data bits: 8
Parity: None
Stop bits: 1
Flow control: None
Press Enter to access router CLI.
Step 2: Configure Router1
Enter these commands on Router1:
enable
configure terminal
hostname Router1
interface fastethernet0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
exit
interface serial0/0
ip address 10.0.0.1 255.255.255.252
clock rate 64000
no shutdown
exit
ip route 192.168.2.0 255.255.255.0 10.0.0.2
end
write memory
Step 3: Configure Router2
Enter these commands on Router2:
enable
configure terminal
hostname Router2
interface fastethernet0/0
ip address 192.168.2.1 255.255.255.0
no shutdown
exit
interface serial0/0
ip address 10.0.0.2 255.255.255.252
no shutdown
exit
ip route 192.168.1.0 255.255.255.0 10.0.0.1
end
write memory
Step 4: Configure PCs
PC1
IP Address: 192.168.1.10
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1
PC2
IP Address: 192.168.2.10
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.2.1
Step 5: Verify Connection
Check Interfaces
Use:
show ip interface brief
You should see:
Interface IP-Address Status
Fa0/0 192.168.1.1 up
Serial0/0 10.0.0.1 up
Step 6: Test Routing
From Router1:
ping 10.0.0.2
From PC1:
ping 192.168.2.10
If replies are received, routing is working.
Important Notes
Apply
clock rate 64000only on the DCE serial side.Use
no shutdownto activate interfaces.Save configuration using:
write memory
or
copy running-config startup-config
Useful Verification Commands
show running-config
show ip route
show controllers serial0/0
show interfaces
Simple Routing Formula
\text{Destination Network} \rightarrow \text{Next Hop Router}
Example:
192.168.2.0 → 10.0.0.2
Troubleshooting Tips
| Problem | Solution |
|---|---|
| Interface down | Use no shutdown |
| Serial link down | Check DCE/DTE cable |
| Cannot ping | Verify IP routes |
| Wrong gateway | Check PC gateway settings |
| Configuration lost | Save using write memory |
Final Result
After configuration:
Router1 and Router2 communicate through serial cable
PCs on different networks can ping each other
Static routing works successfully on Cisco 2620 routers