In this packet tracer lab, we will set up a router for the telnet access. And then use the command prompt on the computer to test our telnet connection.
To telnet the router from our PC we will have to assign an IP address to our PC. After that, we will assign the IP address to the router interface which is connected with that PC.
To make the telnet work perfectly, our PC and router should be on the same network like they are directly connected.
After assigning the IP addresses to both our devices, we have to enable the router for a telnet connection by configuring the VTY lines.
Once we have configured both the devices properly, we can try pinging the router from our PC to check the connectivity. If the router is responding to the ping command we can then establish a telnet connection from our PC’s command prompt.
Once the telnet connection is initiated successfully, we will be prompted with the password to access the router via a telnet connection.
An important thing, we have to configure the privileged mode password. That’s because it is not possible to access the privileged mode through a telnet connection if the password for our privileged mode is not configured. If you try to view the same by accessing the router via a telnet connection, you will see an error message saying ‘no password set’ when entering into the privileged exec mode without configuring the password.
- Set pc0 IP address to 192.168.1.2/24
- Set interface fast Ethernet 0/0 IP address to 192.168.1.1/24
- Set privileged mode password to Cisco
- Enable telnet lines on router
- Test telnet connection via your PC