Lab 06 : Router Remote Access via Telnet

Objective

Learn how to access a router remotely by using Telnet.

Lab Topology

The topology diagram below represents the NetMap in the Simulator.

Task 1

  • Configure all three routers with the appropriate settings.

R1 router

R1#configure terminal
R1(config)#interface s1/0
R1(config-if)#ip add 10.10.10.1 255.255.255.252
R1(config-if)#no shut
R1(config-if)#clock rate 64000
R1(config-if)#exit
R1(config)#interface loopback 0
R1(config-if)#ip address 172.168.0.1 255.255.0.0
R1(config-if)#no shut
R1(config-if)#exit
R1(config)#ip route 0.0.0.0 0.0.0.0 10.10.10.2
R1(config)#

R2 router

R2#configure terminal
R2(config)#interface s1/0
R2(config-if)#ip address 10.10.10.2 255.255.255.252
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#interface loopback 0
R2(config-if)#ip address 192.168.0.1 255.255.255.0
R2(config-if)#exit
R2(config)#ip route 0.0.0.0 0.0.0.0 10.10.10.1
R2(config)#

Task 2

  • Configure remote access to R1 using its virtual terminal (vty) lines:

R1(config)#line vty 0 4
  • Issue the following commands to configure the router to require the use of a login password for remote access to R1:

R1(config-line)#login
% Login disabled on line 2, until 'password' is set
% Login disabled on line 3, until 'password' is set
% Login disabled on line 4, until 'password' is set
% Login disabled on line 5, until 'password' is set
% Login disabled on line 6, until 'password' is set
R1(config-line)#
  • Issue the following command to configure rahmati as the password that will be used to authenticate the Telnet session:

R1(config-line)#password rahmati
  • From R2, issue the following commands to Telnet to R1’s Serial 1/0 interface:

R2#telnet 10.10.10.1
Trying 10.10.10.1 ... Open


User Access Verification

Password:rahmati
R1>
  • From R2, issue the following commands to Telnet to R1’s Loopback0 interface:

R2#telnet 172.168.0.1
Trying 172.168.0.1 ...
% Destination unreachable; gateway or host down

R2#telnet 172.16.0.1
Trying 172.16.0.1 ... Open

User Access Verification

Password:rahmati
R1>

Last updated