how to configured two routers cisco 1841 leased line configuation with steps

 how to configured two routers cisco 1841 leased line configuation with steps 


Cisco 1841 Leased Line Configuration Between Two Routers

This example shows how to configure a leased line connection between two Cisco 1841 Integrated Services Router routers using a serial interface.


Network Diagram

PC1 ---- Router1 ===== Serial Leased Line ===== Router2 ---- PC2
        Fa0/0                                Fa0/0

Example IP Addressing

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

Required Devices

  • 2 Cisco 1841 Routers

  • Serial DCE/DTE Cable

  • Console Cable

  • 2 PCs

  • Packet Tracer or real routers


Step 1: Connect the Routers

Connections

DevicePortConnected To
Router1Serial0/0/0Router2 Serial0/0/0
PC1Fa0/0Router1 Fa0/0
PC2Fa0/0Router2 Fa0/0

Step 2: Configure Router1

Enter privileged mode:

enable
configure terminal

Configure FastEthernet Interface

interface fastethernet0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
exit

Configure Serial Interface

interface serial0/0/0
ip address 10.0.0.1 255.255.255.252
clock rate 64000
no shutdown
exit

Configure clock rate only on the DCE side.

Configure Static Route

ip route 192.168.2.0 255.255.255.0 10.0.0.2

Save Configuration

end
write memory

Step 3: Configure Router2

enable
configure terminal

Configure FastEthernet Interface

interface fastethernet0/0
ip address 192.168.2.1 255.255.255.0
no shutdown
exit

Configure Serial Interface

interface serial0/0/0
ip address 10.0.0.2 255.255.255.252
no shutdown
exit

Configure Static Route

ip route 192.168.1.0 255.255.255.0 10.0.0.1

Save Configuration

end
write memory

Step 4: Configure PCs

PC1

SettingValue
IP Address192.168.1.2
Subnet Mask255.255.255.0
Default Gateway192.168.1.1

PC2

SettingValue
IP Address192.168.2.2
Subnet Mask255.255.255.0
Default Gateway192.168.2.1

Step 5: Verify Connection

Check Interfaces

show ip interface brief

Interfaces should show:

up/up

Test Ping

From Router1:

ping 10.0.0.2

From PC1:

ping 192.168.2.2

Step 6: Verify Routing Table

show ip route

You should see static routes configured.


Important Commands

CommandPurpose
show controllers serial 0/0/0Check DCE/DTE side
show running-configView current configuration
show ip routeView routing table
show ip interface briefCheck interface status

Troubleshooting Tips

If Serial Interface is Down

Use:

no shutdown

If Encapsulation Mismatch Occurs

Configure both routers:

interface serial0/0/0
encapsulation ppp

Or use default HDLC on both sides.


If Ping Fails

Check:

  • IP addresses

  • Static routes

  • Serial cable connection

  • Interface status

  • Clock rate on DCE router


Example Complete Router1 Configuration

hostname Router1

interface fastethernet0/0
ip address 192.168.1.1 255.255.255.0
no shutdown

interface serial0/0/0
ip address 10.0.0.1 255.255.255.252
clock rate 64000
no shutdown

ip route 192.168.2.0 255.255.255.0 10.0.0.2

Example Complete Router2 Configuration

hostname Router2

interface fastethernet0/0
ip address 192.168.2.1 255.255.255.0
no shutdown

interface serial0/0/0
ip address 10.0.0.2 255.255.255.252
no shutdown

ip route 192.168.1.0 255.255.255.0 10.0.0.1

Post a Comment

Previous Post Next Post