Wide Area Network Routes and Cisco IOS CLI Resources: Packet Tracer Context:

Wide Area Network Routes and Cisco IOS CLI

Resources: Packet Tracer

Context: This Packet Tracer project starts with a new network and is not intended to build on your Packet Tracer network for the Capstone Projects. For this project, do not use your existing Packet Tracer network (most recently worked on in Module 8)—you’ll come back to that network file in this module’s Capstone Projects. In this project, start with a new Packet Tracer file to experiment with IOS command modes. You will not need to save this network for future projects or modules.

The command modes in Cisco’s IOS (Internetwork Operating System) provide structure to types of commands you can use as well as offering the opportunity to define hierarchical access to networking devices. For example, you might want to give a new technician the ability to see routes on a router but not to make configuration changes to the router. With command modes, you can configure different passwords at different levels to manage this access (which you’ll do in a later module). It can be confusing at first to remember which modes allow which commands. To explore commands available in various modes on Cisco switches and routers, complete the following steps:

Open Packet Tracer and add the following devices to your workspace, as shown in Figure 9-36:

Two PCs

Two PT-Switches

Two PT-Routers

Connect all the devices as shown in Figure 9-36.

Configure static IP addresses on the routers and PCs. Place each PC in its router’s LAN with the router’s interface as the default gateway.

Document your configurations in your workspace. When you’re finished, take a screenshot of your network with its IP addressing documentation; submit this visual with your answers to this project’s questions.

Confirm that each PC can ping its default gateway. If they can’t, troubleshoot and fix the problem. What corrections did you have to make?

Access Switch0’s CLI. What mode are you in when you first access the CLI? How do you know?

Enter? to see more information. What commands can you enter in this mode?

Enter enable. What does the prompt look like now? What mode is this?

View the running configuration. What command did you enter?

Notice the switch’s current hostname in the output. Change the hostname to a name of your choice. What commands did you enter? What does the prompt look like now?

What mode are you in now? How do you know?

Without changing modes, enter a command to list the switch’s physical and data link interface information. What command did you enter?

Scan through the command’s output. Which two interfaces are up?

Enter interface configuration mode for one of those interfaces. What command did you enter?

What does the prompt look like now? What mode are you in?

Currently, your PCs cannot ping each other because there are no routes configured on your routers. Complete the following steps:

Enter Router0’s CLI. Enter the command show ip route. What routes are currently configured on this router? Does this router know about the second LAN?

You can give each router a static route so it can find the other router’s LAN. What mode do you need to access to do this?

Enter enable and then enter configure terminal.

To add the static route, enter the command ip route destination address netmask next hop address. For example, if your second LAN’s network address is 192.168.10.0/24 and your Router0 is connected to Router1’s interface at 172.16.20.3/24 (as shown in Figure 9-37), you would enter the command ip route 192.168.10.0 255.255.255.0 172.16.20.3.

Figure

9-37.

Source: Cisco Systems, Inc.

Each static route will point one router to the other router’s LAN

Check your routing table again to ensure the new route was added. Take a screenshot of the output; submit this visual with your answers to this project’s questions.

You’ll also need a static route on Router1 to Switch0’s LAN. Repeat Steps 18 and 19 on Router1.

Ping from PC0 to PC1. Does it work? If not, troubleshoot the problem and fix it. What corrections did you have to make?

Save your Packet Tracer network for future reference if desired. Make some notes on your Wikidot website about your activities in this project.

Note to instructors: A Packet Tracer solution file is provided for each Packet Tracer project through the instructors’ site.