how to configured three routers cisco 2620 dynamic ip address with ip routing steps as follows 2026
Configure Three Cisco 2620 Routers with Dynamic Routing (RIP)
This guide explains how to connect and configure three Cisco 2620 routers using dynamic IP routing with RIP version 2.
Network Topology
PC1 ---- Router1 ---- Router2 ---- Router3 ---- PC2
Example IP Addressing:
| 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 | Serial0/1 | 20.0.0.1 | 255.255.255.252 |
| Router3 | Serial0/0 | 20.0.0.2 | 255.255.255.252 |
| Router3 | FastEthernet0/0 | 192.168.2.1 | 255.255.255.0 |
Step 1: Connect Routers
Use:
Console cable for initial configuration
Serial DCE/DTE cables between routers
Ethernet cable to PCs/switches
Example:
Router1 S0/0 ↔ Router2 S0/0
Router2 S0/1 ↔ Router3 S0/0
Step 2: Access Router CLI
Connect console cable from PC to router.
Open:
PuTTY
Tera Term
HyperTerminal
Settings:
Speed: 9600
Data bits: 8
Parity: None
Stop bits: 1
Press Enter.
Step 3: Configure Router1
enable
configure terminal
hostname R1
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
Configure RIP Routing on Router1
router rip
version 2
network 192.168.1.0
network 10.0.0.0
no auto-summary
exit
Save configuration:
copy running-config startup-config
Step 4: Configure Router2
enable
configure terminal
hostname R2
interface serial0/0
ip address 10.0.0.2 255.255.255.252
no shutdown
exit
interface serial0/1
ip address 20.0.0.1 255.255.255.252
clock rate 64000
no shutdown
exit
Configure RIP Routing on Router2
router rip
version 2
network 10.0.0.0
network 20.0.0.0
no auto-summary
exit
Save configuration:
copy running-config startup-config
Step 5: Configure Router3
enable
configure terminal
hostname R3
interface fastethernet0/0
ip address 192.168.2.1 255.255.255.0
no shutdown
exit
interface serial0/0
ip address 20.0.0.2 255.255.255.252
no shutdown
exit
Configure RIP Routing on Router3
router rip
version 2
network 20.0.0.0
network 192.168.2.0
no auto-summary
exit
Save configuration:
copy running-config startup-config
Step 6: Configure PCs
PC1
IP Address: 192.168.1.2
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1
PC2
IP Address: 192.168.2.2
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.2.1
Step 7: Verify Routing
Check Interfaces
show ip interface brief
All interfaces should show:
up up
Check Routing Table
show ip route
You should see RIP routes marked with:
R
Step 8: Test Connectivity
From PC1:
ping 192.168.2.2
If configuration is correct, replies will succeed.
Useful Cisco Commands
| Command | Purpose |
|---|---|
show running-config | View current configuration |
show ip route | View routing table |
show ip protocols | View RIP information |
show controllers serial 0/0 | Check DCE/DTE cable |
copy running-config startup-config | Save configuration |
Important Notes
Configure
clock rate 64000only on the DCE side serial interface.Use
no shutdownon every interface.RIP supports small networks.
For better performance in large networks, use:
OSPF
EIGRP
Example RIP Dynamic Routing Formula
Dynamic routing automatically learns routes:
RIP\ Distance\ Metric = Hop\ Count
RIP selects the route with the lowest hop count.