Skip to document

Week11-Lab-build a network with switch and router with Packet Tracer

Tutorial answers
Course

Networking Fundamentals (41092)

238 Documents
Students shared 238 documents in this course
Academic year: 2021/2022
Uploaded by:
Anonymous Student
This document has been uploaded by a student, just like you, who decided to remain anonymous.
University of Technology Sydney

Comments

Please sign in or register to post comments.

Preview text

Lab – Configuring Basic Router Settings with IOS CLI

Topology

Addressing Table

Device Interface IP Address Subnet Mask Default Gateway

R1 Fa0/0 192.168.0 255.255.255 N/A

Fa0/1 192.168.1 255.255.255 N/A

PC-A NIC 192.168.1 255.255.255 192.168.

PC-B NIC 192.168.0 255.255.255 192.168.

Objectives

Part 1: Get familiar with Cisco Packet Tracer

Part 2: Set Up the Topology and Initialize Devices

 Add equipment according to the topology figure.

 Cable equipment to match the network topology.

 Initialize and restart the router and switch.

Part 3: Configure Devices and Verify Connectivity

 Assign static IPv4 information to the PC interfaces.

 Configure basic router settings.

 Verify network connectivity.

Part 4: Show router information

Background / Scenario

This is a comprehensive lab to review previously covered IOS router commands. In Parts 1 and 2, you will

add and cable the equipment and complete basic configurations and IPv4 interface settings on the router.

In Part 3, you will configure a single area OSPF on the router.

Required Resources

 Cisco netcad account

 Cisco Packet Tracer 7.

Fa0/

Fa0/

Part 1: Get familiar with Cisco Packet Tracer Step 1: Register CISCO account a. Go to netacad/ and create an account. b. Download CISCO Packet Tracer 7.3 fitting your system netacad/portal/resources/packet-tracer. c. Install the Packet Tracer, Open the Packet Tracer and Log in with your account. You will see the Cisco Packet Tracer as below. A tutorial of Packet Tracer can be found here static-pt-assets.s3.amazonaws/tutorials72.htm

c. Add a 1841 router and name the router “R1” Step 2: Cable the network as shown in the topology. Use the “Straight-Through” cable to connect the PC-A, FastEthernet0 and S1, FastEthernet0/

  • Use the “Straight-Through” cable to connect the S1, FastEthernet0/5 and R1, FastEthernet0/

The devices are then connected For different cables, you can read cables-solutions/difference-between-straight-through-and- crossover-cable Step 3: Initialize and reload the router and switch. Appendix A details the steps and commands to initialize and reload the devices. Click the icon of “S1” and type in commands in the “CLI” window.

Click the icon of “R1” and type in commands in the “CLI” window.

b. Configure the IP address, subnet mask, and default gateway settings on PC-B.

c. Ping PC-B from a command prompt window on PC-A.

R1(config)# line con 0 R1(config-line)# password ciscoconpass R1(config-line)# exec-timeout 5 0 R1(config-line)# login R1(config-line)# logging synchronous R1(config-line)# exit R1(config)# For the exec-timeout command, what do the 5 and 0 represent? Represents 5 mins and 0 seconds


g. Encrypt the clear text passwords. R1(config)# service password-encryption h. Create a banner that warns anyone accessing the device that unauthorized access is prohibited. R1(config)# banner motd #Unauthorized access prohibited!# i. Configure an IP address and interface description. Activate both interfaces on the router. R1(config)# int fa0/ R1(config-if)# description Connection to PC-B

R1(config-if)# ip address 192.168.0 255.255. R1(config-if)# no shutdown R1(config-if)# int fa0/ R1(config-if)# description Connection to S R1(config-if)# ip address 192.168.1 255.255. R1(config-if)# no shutdown R1(config-if)# exit R1(config)# exit R1# j. Set the clock on the router; for example: R1# clock set 17:00:00 18 Feb 2013 k. Save the running configuration to the startup configuration file. R1# copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] R1# What would be the result of reloading the router prior to completing the copy running-config startup- config command? The current running config will be erased and lost.



Step 3: Verify network connectivity. a. Ping PC-B from a command prompt on PC-A. Note: It may be necessary to disable the PCs firewall. Were the pings successful and why? Yes, they were, except when pinging 192.168.0, I had a 25% loss. They were successful because the router had established a successful connection. __________

Part 1: Show Router Information In Part 3, you will use show commands to retrieve information from the router. Step 1: Display the routing table on the router. Use the show ip route command on the router to answer the following questions. What do codes “C” mean? Connected___________ How many route entries are coded with a C code in the routing table? _ 2 ________ Step 2: Display interface information on the router. Use the show interface fa0/1 to answer the following questions.

Step 3: Display a summary list of the interfaces on the router and switch. There are several commands that can be used to verify an interface configuration. One of the most useful of these is the show ip interface brief command. The command output displays a summary list of the interfaces on the device and provides immediate feedback to the status of each interface. a. Enter the show ip interface brief command on the router. b. Enter the show ip interface brief command on the switch.

Reflection

  1. If the Fa0/1 interface showed administratively down, what interface configuration command would you use to turn the interface up? _no shut
    R1(config-if)# no shut
  2. What would happen if you had incorrectly configured interface Fa0/1 on the router with an IP address of 192.168.1? PC0 would not be able to ping PC1. This is because PC1 is on a different network than PC0 which requires the default gateway to route these packets. Since PC0 is configured to a different ip address for the gateway router this means the packets would never delieverd to the destination.

    PC-A would not be able to ping PC-B. This is because PC-B is on a different network than PC-A which requires the default-gateway router to route these packets. PC-A is configured to use the IP address of 192.168.1 for the default-gateway router, but this address is not assigned to any device on the LAN. Any packets that need to be sent to the default-gateway for routing will never reach their destination.
Was this document helpful?

Week11-Lab-build a network with switch and router with Packet Tracer

Course: Networking Fundamentals (41092)

238 Documents
Students shared 238 documents in this course
Was this document helpful?
Lab – Configuring Basic Router Settings with IOS CLI
Lab – Configuring Basic Router Settings with IOS CLI
Topology
Addressing Table
Device Interface IP Address Subnet Mask Default Gateway
R1 Fa0/0 192.168.0.1 255.255.255.0 N/A
Fa0/1 192.168.1.1 255.255.255.0 N/A
PC-A NIC 192.168.1.3 255.255.255.0 192.168.1.1
PC-B NIC 192.168.0.3 255.255.255.0 192.168.0.1
Objectives
Part 1: Get familiar with Cisco Packet Tracer
Part 2: Set Up the Topology and Initialize Devices
Add equipment according to the topology figure.
Cable equipment to match the network topology.
Initialize and restart the router and switch.
Part 3: Configure Devices and Verify Connectivity
Assign static IPv4 information to the PC interfaces.
Configure basic router settings.
Verify network connectivity.
Part 4: Show router information
Background / Scenario
This is a comprehensive lab to review previously covered IOS router commands. In Parts 1 and 2, you will
add and cable the equipment and complete basic configurations and IPv4 interface settings on the router.
In Part 3, you will configure a single area OSPF on the router.
Required Resources
Cisco netcad account
Cisco Packet Tracer 7.3.0
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Fa0/0
Fa0/1