12.5.4 Packet Tracer – Use Telnet and SSH Answers

12.5.4 Packet Tracer – Use Telnet and SSH Answers

Addressing Table

Device Interface IP Address Subnet Mask
HQ G0/0/1 64.100.1.1 255.255.255.0
PC0 NIC DHCP
PC1 NIC DHCP

Objectives

In this activity, you will establish a remote connection to a router using Telnet and SSH.

  • Verify connectivity
  • Access a remote device

Instructions

Part 1: Verify Connectivity

In this part, you will verify that the PC has IP addressing and can ping the remote router.

Step 1: Verify IP address on a PC.

1. From a PC, click Desktop. Click Command Prompt.

2. At the prompt, verify that the PC has an IP address from DHCP.

What command did you use to verify the IP address from DHCP?

ipconfig

Step 2: Verify connectivity to HQ.

Verify that you can ping the router HQ using the IP address listed in the Addressing Table.

Part 2: Access a Remote Device

In this part, you will attempt to establish a remote connection using Telnet and SSH.

Step 1: Telnet to HQ.

At the prompt, enter the command telnet 64.100.1.1.

Were you successful? What was the output?

No. C:\> telnet 64.100.1.1 Trying 64.100.1.1 …Open [Connection to 64.100.1.1 closed by foreign host]

Step 2: SSH to HQ.

The router is properly configured to not allow insecure Telnet access. You must use SSH. At the prompt, enter the command ssh -l admin 64.100.1.1. Enter the password class when prompted.

C:\> ssh -l admin 64.100.1.1

Password:

What is prompt after accessing the router successfully via SSH?

HQ#

Download Packet Tracer (.pka) file:

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x