how to configured two routers cisco 2620 with console cable with ip routing steps

 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)

Image

Image

Image

Image

Image

Image

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

DeviceInterfaceIP AddressSubnet Mask
Router1FastEthernet0/0192.168.1.1255.255.255.0
Router1Serial0/010.0.0.1255.255.255.252
Router2Serial0/010.0.0.2255.255.255.252
Router2FastEthernet0/0192.168.2.1255.255.255.0

Required Cables

Image

Image

Image

Image

Image

Image

  1. Console cable (rollover cable)

  2. Serial DCE/DTE cable

  3. Ethernet cable


Step 1: Connect Console Cable

  1. Connect console cable from PC to Router1 console port.

  2. 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 64000 only on the DCE serial side.

  • Use no shutdown to 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

ProblemSolution
Interface downUse no shutdown
Serial link downCheck DCE/DTE cable
Cannot pingVerify IP routes
Wrong gatewayCheck PC gateway settings
Configuration lostSave 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

Popup Iframe Example
Email This BlogThis! Share to X Share to Facebook Share to Pinterest

Post a Comment

Previous Post Next Post