Lab 06 : Router Remote Access via Telnet
Last updated
Last updated
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#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)#R1(config)#line vty 0 4R1(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)#R1(config-line)#password rahmatiR2#telnet 10.10.10.1
Trying 10.10.10.1 ... Open
User Access Verification
Password:rahmati
R1>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>