1.5.1 Packet Tracer – Cabling a Network with Routers, Switches, and Hosts Answers

1.5.1 Packet Tracer – Cabling a Network with Routers, Switches, and Hosts Answers

Topology

1.5.1 Packet Tracer - Cabling a Network with Routers, Switches, and Hosts Answers 2

Device Interface IP Address Subnet Mask Default Gateway
R1 Fa0/0 192.168.1.1 255.255.255.0 N/A
S0/0/0 192.168.2.1 255.255.255.0
R2 Fa0/0 192.168.3.1 255.255.255.0 N/A
S0/0/0 192.168.2.2 255.255.255.0
PC1 N/A 192.168.1.10 255.255.255.0 192.168.1.1
PC2 N/A 192.168.3.10 255.255.255.0 192.168.3.1

Learning Objectives

  • Review of previously learned skills.
  • Basic IOS Command Line Interface operation.
  • Basic Router configuration.
  • Verification and testing of configurations.
  • Management of configuration files.

Scenario

In this lab activity, you will review previously learned skills, including basic IOS command line interface operation and configuration commands. You will also learn to save configuration files to a text file and to a TFTP server. The skills presented in this lab are essential to completing the rest of the labs in this course.

Cable the network devices using the appropriate cable types.

Step 1 Connect the R1 Router to the S1 Switch.

Use a straight through Ethernet cable to connect the FastEthernet 0/0 interface of the R1 router to the FastEthernet 0/1 interface on the R1 switch.

Step 2 Connect PC1 to the S1 Switch.

Use a straight through Ethernet cable to connect the network interface card (NIC) of PC1 to the FastEthernet 0/2 Interface of the S1 switch.

Step 3 Connect PC2 to the R2 Router.

Use a crossover Ethernet cable to connect the FastEthernet 0/0 interface of the R2 router to the NIC of PC2. Since there is no switch between PC2 and the R2 router a crossover cable is required for a direct link between the PC and the router.

Step 1 Connect the R1 Router to R2 Router.

Connect the DCE end of a serial cable to the Serial 0/0/0 interface of the R1 router, and the DTE end of the serial cable to the Serial 0/0/0 interface of the R2 router.

Task 3 Establish a Console connection to the R1 Router.

Step 1 Connect the console cable to the router and PC.

1. Connect the console cable to the router console port.

2. Connect the console cable to PC1.

Step 2 Create a terminal connection to the R1 router.

1. Use the following parameters when configuring the connection.

  • 9600 baud
  • 8 data bits
  • No parity
  • 1 stop bit
  • No flow control

2. When the Terminal session window comes up, press the Enter key.

Task 4: Erase and Reload the Routers.

Step 1 Using the HyperTerminal session established in the previous Task, enter privileged EXEC mode on R1.

Step 2 To clear the configuration, issue the erase startup-config command. Confirm the task when prompted, and answer ’no’ if asked to save changes.

Step 3 When the prompt returns, issue the reload command. Confirm the task when prompted. After the router finishes the boot process, choose not to use the Configuration Dialog facility.

Step 4 Establish a HyperTerminal Session to R2. Repeat steps 1 through 3 to remove any startup configuration file that may be present.

Task 5: Command Line Basics.

Step 1 Establish a HyperTerminal session to router R1.

Step 2 Enter privileged EXEC mode.

Step 3 Enter an incorrect command and observe the router response.

Step 4 Correct the previous command.

1. To correct an incorrectly entered command after the Enter key is pressed, use the Up Arrow key on the keyboard to recall the command. Then use the Right Arrow and Left Arrow keys to move the cursor to the location where the mistake was made and make the correction.

2. If something needs to be deleted, use the Backspace key.

Step 5 Return to Privileged EXEC mode.

Step 6 Examine the commands that are available for Privileged EXEC mode. A question mark, ?, can be entered at the prompt to display a list of available commands.

Step 7 View the rest of the command output by pressing the Spacebar. The remainder of the output will appear where the –More– prompt appeared previously.

Step 8 Exit from Privileged EXEC mode with the exit command.

Step 9 Press the Enter key to enter User EXEC mode. The Router> prompt should be visible.

Step 10 IOS commands can be abbreviated, as long as enough characters are typed for the IOS to recognize the unique command.

Step 11 Typing an abbreviated command, such as conf, followed by the Tab key completes a partial command name. Type the abbreviated command conf, press the Enter key, and observe the results.

Step 12 IOS commands must be entered in the correct mode. For example, configuration changes cannot be made while in privileged EXEC mode. Attempt to enter the command hostname R1 at the privileged EXEC prompt and observe the results.

Task 6: Basic Configuration of Router R1.

Step 1 Establish a Terminal session with the router R1.

Step 2 Enter privileged EXEC mode.

Step 3 Enter global configuration mode.

Step 4 Configure the router name as R1. Enter the command hostname R1 at the prompt.

Step 5 Disable DNS lookup with the no ip domain-lookup command.

Step 6 Configure an EXEC mode password using the enable password password command. Use student for the password.

Step 7 Configure an EXEC mode password using the enable secret password command. Use class for the password.

Step 8 Remove the enable password. Since the enable secret is configured, the enable password is no longer necessary. IOS commands can be removed from the configuration using the no form of the command.

Step 9 Configure a message-of-the-day banner using the banner motd command.

Step 10 Configure the console password on the router. Use cisco as the password. When you are finished, exit from line configuration mode.

Step 11 Configure the password for the virtual terminal lines. Use cisco as the password. When you are finished, exit from line configuration mode.

Step 12 Configure the FastEthernet0/0 interface with the IP address 192.168.1.1/24. Activate the interface by using the no shutdown command.

Step 13 Use the description command to provide a description for this interface.

Step 14 Configure the Serial 0/0/0 interface.

1. Configure the Serial0/0/0 interface with the IP address 192.168.2.1/24.

2. Activate the interface by using the no shutdown command.

3. Set the clock rate to 64000.

Step 15 Use the description command to provide a description for this interface.

Step 16 Use the end command to return to privileged EXEC mode.

Step 17 Save the R1 configuration using the copy running-config startup-config command.

Task 7: Basic Configuration of Router R2.

Step 1 For R2, repeat Steps 1 through 11 from Task 3. (Use R2 for the hostname of this router.)

Step 2 Configure the Serial 0/0/0 interface with the IP address 192.168.2.2/24. Activate the interface by using the no shutdown command.

Step 3 Use the description command to provide a description for this interface.

Step 4 Configure the FastEthernet0/0 interface with the IP address 192.168.3.1/24. Activate the interface by using the no shutdown command.

Step 5 Use the description command to provide a description for this interface.

Step 6 Use the end command to return to privileged EXEC mode.

Step 7 Save the R2 configuration using the copy running-config startup-config command.

Task 8: Configure IP Addressing on the Host PCs.

Step 1 Configure the host PC1 that is attached to R1 with an IP address of 192.168.1.10/24 and a default gateway of 192.168.1.1.

Step 2 Configure the host PC2 that is attached to R2 with an IP address of 192.168.3.10/24 and a default gateway of 192.168.3.1.

Task 9: Router show Commands.

Step 1 Enter the show running-config command to display the contents of the currently running configuration file.

Step 2 Enter the show startup-config command to display the startup configuration.

Step 3 Enter the show interfaces command to display the statistics for all interfaces.

Step 4 Enter the show version command to display the information about the currently loaded software version along with hardware and device information.

Step 5 Enter the show ip interface brief command to display a summary of the usability status information for each interface.

Task 10: Using Ping.

Step 1 Use the ping command to test connectivity between the R1 router and PC1.

Step 2 Repeat the ping from R1 to PC1.

Step 3 Send an extended ping from R1 to PC1. To accomplish this, type ping at the privileged EXEC prompt and press Enter twice. Enter 192.168.1.10 as the target IP address. Accept the defaults by pressing the Enter key five times.

Step 4 Send a ping from PC1 to R1. From PC1 go to the Desktop tab > Command Prompt. This will open a Command Prompt window. Ping R1.

Step 5 Send an extended ping from PC1 to R1 using the command ping -n 10 192.168.1.1.

Task 11: Using Traceroute.

Step 1 Use the traceroute command at the R1 privileged EXEC prompt to discover the path that a packet will take from the R1 router to PC1.

Step 2 Use the tracert command at the Windows command prompt to discover the path that a packet will take from the R1 router to PC1.

Task 12: Create a start.txt File.

The router configurations can be saved to a text (.txt) file for later use. The configuration can be copied back to the router so that the commands do not have to be entered one at a time.

Step 1 View the running configuration of the router using the show running-config command.

Step 2 Select the command output, right-click your mouse over the highlighted text, and select copy to copy the text.

Step 3 Open Notepad. Notepad is typically found on the Start menu under Programs, Accessories. After Notepad opens, select Paste from the Notepad Edit menu.

Step 4 Some commands will have to be edited or added before the startup script can be applied to a router. Some of these changes are:

  • Adding a no shutdown command to FastEthernet and serial interfaces that are being used.
  • Replacing the encrypted text in the enable secret command with the appropriate password.
  • The mac-address command should be removed from the interfaces.
  • The ip classless command should be removed.
  • Unused interfaces can be removed.

Edit the text in the notepad file.

Step 5 Save the open file in Notepad to start.txt.

Task 13: Load the start.txt File onto the R1 Router.

Step 1 Erase the current startup configuration of R1. Confirm the objective when prompted, and answer ’no’ if asked to save changes.

Step 2 When the prompt returns, issue the reload command. Confirm the task when prompted.

After the router finishes the boot process, choose not to use the Configuration Dialog facility.

Step 3 Enter global configuration mode.

Step 4 Select all the lines in the start.txt file that was created in Notepad and choose Edit > Copy.

Step 5 From the Terminal window, right-click your mouse in the window and choose Paste.

Step 6 After all of the pasted commands have been applied, use the show running-config command to verify that the running configuration appears as expected.

Step 7 Save the running configuration to NVRAM using the copy running-config startup-config command.

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