Tuesday, 25 February 2014

Accessing remote devices using telnet.

Telnet is a user command and an underlying TCP/IP protocol for accessing remote computers. Through Telnet, an administrator or another user can access someone else's computer remotely. On the Web, HTTP and FTP protocols allow you to request specific files from remote computers, but not to actually be logged on as a user of that computer. With Telnet, you log on as a regular user with whatever privileges you may have been granted to the specific application and data on that computer.

Description: Telnet is to gain access to a terminal/command prompt so a person can make changes to the system. While Windows, UNIX, and Linux, have GUI's available to change system setting, many (if not all) setting can still be modified through the command prompt. Some things can only be changed via command prompt. Telnet lets system administrators remotely access and work on a system. 

Solution: The given topology is:

    


Steps:


Following are the PC’s attached to switch0:

Configuring steps for PC0:

Ip address: 192.16.10.33

Subnet mask: 255.255.255.248

Default gateway: 192.16.10.34

Configuring steps for PC1:

Ip address: 192.16.10.38

Subnet mask: 255.255.255.248

Default gateway: 192.16.10.34

Configuring steps for PC2:

Ip address: 192.16.10.1

Subnet mask: 255.255.255.224

Default gateway: 192.16.10.2

Configuring steps for PC3:

Ip address: 192.16.10.30

Subnet mask: 255.255.255.248

Default gateway: 192.16.10.2

Configuring steps for router0 from PC0:

Router>enable

Router#config terminal

Router(config)#enable password abc

Router(config)# interface fa0/0

Router(config-if)# ip address 192.16.10.34 255.255.255.248

Router(config-if)# no shutdown

Router(config-if)# exit

Router(config)#interface se2/0

Router(config-if)#ip address 192.16.10.41 255.255.255.252

Router(config-if)#no shutdown

Router(config-if)#clock rate 64000

Router(config-if)#exit

Router(Config)#router rip

Router(config-router)#version 2

Router(config-router)#network 192.16.10.0

Router(config-router)#exit


Configuring steps for router1:

Router>enable

Router#config terminal

Router(config)# line vty 0 4

Router(config)#password cisco

Router(config)#login

Router(config)#exit

Router# configure terminal

Router(config)#enable password abc

Router(config)#line console 0

Router(config)#password line

Router(config)#login

Router(config)#exit

Router#configure terminal

Router(config)# interface fa0/0

Router(config-if)# ip address 192.16.10.2 255.255.255.227

Router(config-if)# no shutdown

Router(config-if)# exit

Router(config)#interface se2/0

Router(config-if)#ip address 192.16.10.42 255.255.255.252

Router(config-if)#no shutdown

Router(config-if)#exit

Router(Config)#router rip

Router(config-router)#version 2

Router(config-router)#network 192.16.10.32

Router(config-router)#exit

Router(config)#


Output:

Telnet command from PC1 to router1

     



0 comments:

Post a Comment