how to configured two routers cisco 1841 telnet configuration steps

 how to configured two routers  cisco 1841 telnet configuration steps 


Configure Two Cisco 1841 Integrated Services Router Routers for Telnet Access

This example shows how to connect two Cisco 1841 routers and enable Telnet remote access between them.


Network Topology

PC1 ----- Router1 ===== Router2 ----- PC2
             Serial Connection

Example IP Addressing:

DeviceInterfaceIP Address
Router1FastEthernet0/0192.168.1.1 /24
Router1Serial0/0/010.0.0.1 /30
Router2FastEthernet0/0192.168.2.1 /24
Router2Serial0/0/010.0.0.2 /30

Step 1: Connect the Routers

Use:

  • Console cable for initial configuration

  • Serial DCE/DTE cable between routers


Step 2: Configure Router1

Enter privileged mode:

enable
configure terminal

Configure hostname:

hostname Router1

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

Enable routing to Router2 network:

ip route 192.168.2.0 255.255.255.0 10.0.0.2

Step 3: Configure Telnet on Router1

Create username and password:

username admin password cisco123

Configure VTY lines:

line vty 0 4
login local
transport input telnet
password telnet123
exit

Set enable password:

enable secret class123

Save configuration:

copy running-config startup-config

Step 4: Configure Router2

enable
configure terminal
hostname Router2

Configure FastEthernet:

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

Add static route:

ip route 192.168.1.0 255.255.255.0 10.0.0.1

Step 5: Configure Telnet on Router2

username admin password cisco123

line vty 0 4
login local
transport input telnet
password telnet123
exit

enable secret class123

Save configuration:

copy running-config startup-config

Step 6: Verify Connectivity

From Router1:

ping 10.0.0.2

From Router2:

ping 10.0.0.1

If replies are successful, Telnet should work.


Step 7: Test Telnet

From Router1:

telnet 10.0.0.2

From Router2:

telnet 10.0.0.1

Enter:

  • Username: admin

  • Password: cisco123


Useful Verification Commands

Check interfaces:

show ip interface brief

Check routing table:

show ip route

Check active Telnet users:

show users

Important Notes

  • clock rate 64000 is required only on the DCE serial side.

  • Telnet sends passwords in plain text.

  • For secure remote access, use SSH instead of Telnet.


Example Successful Output

Router1# telnet 10.0.0.2

Trying 10.0.0.2 ... Open

User Access Verification

Username: admin
Password:

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

Post a Comment

Previous Post Next Post