Logbook 2011 v 2

176
 1  Faculty of Science and Technology Computer Network Principles  Department: Computing and Technology Module Code: EJ230001S/EJ330004S Student Logbook Student ID: Academic Year: 2011/12

Transcript of Logbook 2011 v 2

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 1/176

 

Faculty of Science and Technology

Computer Network Principles

 Department: Computing and TechnologyModule Code: EJ230001S/EJ330004S

Student Logbook

Student ID:

Academic Year: 2011/12

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 2/176

 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 3/176

 

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 1 of 7

Lab 2.6.1: Topology Orientation and Building a Small Network

Topology Diagram

Peer to Peer Network 

Switched Network  

Learning Objectives

Upon completion of this lab, you will be able to:

• Correctly identify cables for use in the network.

• Physically cable a peer-to-peer and switched network.

• Verify basic connectivity on each network.

Background

Many network problems can be fixed at the Physical layer of a network. For this reason, it is important tohave a clear understanding of which cables to use for your network connections.

At the Physical layer (Layer 1) of the OSI model, end devices must be connected by media (cables). Thetype of media required depends on the type of device being connected. In the basic portion of this lab,straight–through or patch—cables will be used to connect workstations and switches.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 4/176

CCNA ExplorationNetwork Fundamentals:Communicating over the Network Lab 2.6.1: Topology Orientation and Building a Small Network

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 2 of 7

In addition, two or more devices communicate through an address. The Network layer (Layer 3) requiresa unique address (also know as a logical address or IP Addresses), which allows the data to reach theappropriate destination device.

Addressing for this lab will be applied to the workstations and will be used to enable communication

between the devices.

Scenario

This lab starts with the simplest form of networking (peer-to-peer) and ends with the lab connectingthrough a switch.

Task 1: Create a Peer-to-Peer Network.

Step 1: Select a lab partner.

Step 2: Obtain equipment and resources for the lab.

Equipment needed:

2 workstations

2 straight through (patch) cables

1 crossover cable

1 switch (or hub)

Task 2: Identify the Cables used in a Network.

Before the devices can be cabled, you will need to identify the types of media you will be using. Thecables used in this lab are crossover and straight-through.

Use a crossover cable to connect two workstations to each other through their NIC’s Ethernet port. This

is an Ethernet cable. When you look at the plug you will notice that the orange and green wires are inopposite positions on each end of the cable.

Use a straight-through cable to connect the router’s Ethernet port to a switch port or a workstation to aswitch port. This is also an Ethernet cable. When you look at the plug you will notice that both ends of thecable are exactly the same in each pin position.

Task 3: Cable the Peer-to-peer Network. 

Step 1: Connect two workstations.

Using the correct Ethernet cable, connect two workstations together. Connect one end of the cable to theNIC port on PC1 and the other end of the cable to PC2.

Which cable did you use? _______________________________ 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 5/176

CCNA ExplorationNetwork Fundamentals:Communicating over the Network Lab 2.6.1: Topology Orientation and Building a Small Network

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 7

Step 2: Apply a Layer 3 address to the workstations.

To complete this task, you will need to follow the step-by-step instructions below.

Note: These steps must be completed on each workstation. The instructions are for Windows XP—stepsmay differ slightly if you are using a different operating system.

1. On your computer, click Start, right-click My Network Places, and then click Properties. TheNetwork Connections window should appear, with icons showing the different networkconnections.

2. Right-click the Local Area Connection and click Properties.

3. Select the Internet Protocol (TCP/IP) item and then click the Properties button.

4. On the General tab of the Internet Protocol (TCP/IP) Properties window, select the Use thefollowing IP address option.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 6/176

CCNA ExplorationNetwork Fundamentals:Communicating over the Network Lab 2.6.1: Topology Orientation and Building a Small Network

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 4 of 7

5. In the IP address box, enter the IP address 192.168.1.2 for PC1. (Enter the IP address192.168.1.3 for PC2.)

6. Press the tab key and the Subnet mask is automatically entered. The subnet address should be255.255.255.0. If this address is not automatically entered, enter this address manually.

7. Click OK.

8. Close the Local Area Connection Properties window.

Step 3: Verify connectivity.

1. On your computer, click Start, and then click Run.

2. Type cmd in the Open box and then click OK.

The DOS command (cmd.exe) window will appear. You can enter DOS commands using thiswindow. For the purposes of this lab, basic network commands will be entered to allow you to testyou computer connections.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 7/176

CCNA ExplorationNetwork Fundamentals:Communicating over the Network Lab 2.6.1: Topology Orientation and Building a Small Network

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 5 of 7

The ping command is a computer network tool used to test whether a host (workstation, router,

server, etc.) is reachable across an IP network.

3. Use the ping command to verify that PC1 can reach PC2 and PC2 can reach PC1. From the

PC1 DOS command prompt, type ping 192.168.1.3. From the PC2 DOS command prompt,

type ping 192.168.1.2.

What is the output of the ping command?

 ______________________________________________________________ 

 ______________________________________________________________ 

 ______________________________________________________________ 

 ______________________________________________________________ 

If the ping command displays an error message or doesn’t receive a reply from the other

workstation, troubleshoot as necessary. Possible areas to troubleshoot include:

• Verifying the correct IP addresses on both workstations

• Ensuring that the correct type of cable is used between the workstations

What is the output of the ping command if you unplug the network cable and ping the other

workstation?

 ______________________________________________________________ 

 ______________________________________________________________ 

 ______________________________________________________________ 

 ______________________________________________________________ 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 8/176

CCNA ExplorationNetwork Fundamentals:Communicating over the Network Lab 2.6.1: Topology Orientation and Building a Small Network

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 6 of 7

Task 4: Connect Your Workstations to the Classroom Lab Switch. 

Step 1: Connect workstation to switch.

Using the correct cable, connect one end of the cable to the NIC port on the workstation and the otherend to a port on the switch.

Step 2: Repeat this process for each workstation on your network.

Which cable did you use? ______________________________ 

Step 3: Verify connectivity.

Verify network connectivity by using the  ping command to reach the other workstations attached to the

switch.

What is the output of the  ping command?

 ______________________________________________________________ 

 ______________________________________________________________ 

 ______________________________________________________________ 

 ______________________________________________________________ 

What is the output of the  ping command if you ping an address that is not connected to this network?

 ______________________________________________________________ 

 ______________________________________________________________ 

 ______________________________________________________________ 

 ______________________________________________________________ 

Step 4: Share a document between PCs.

1. On your desktop, create a new folder and name it test.

2. Right-click the folder and click File sharing. Note: A hand will be placed under the icon.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 9/176

CCNA ExplorationNetwork Fundamentals:Communicating over the Network Lab 2.6.1: Topology Orientation and Building a Small Network

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 7 of 7

3. Place a file in the folder.

4. On the desktop, double-click My Network Places and then Computers Near Me.

5. Double-click the workstation icon. The test folder should appear. You will be able to access thisfolder across the network. Once you are able to see it and work with the file, you have access

through all 7 layers of the OSI model.

Task 5: Reflection

What could prevent a ping from being sent between the workstations when they are directly connected?

 ___________________________________________________________________________________ 

 ___________________________________________________________________________________ 

 ___________________________________________________________________________________ 

 ___________________________________________________________________________________ 

What could prevent the ping from being sent to the workstations when they are connected through theswitch?

 ___________________________________________________________________________________ 

 ___________________________________________________________________________________ 

 ___________________________________________________________________________________ 

 ___________________________________________________________________________________ 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 10/176

 

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 1 of 11

Lab 2.6.2: Using Wireshark™ to View Protocol Data Units 

Learning Objectives 

• Be able to explain the purpose of a protocol analyzer (Wireshark).

• Be able to perform basic PDU capture using Wireshark.

• Be able to perform basic PDU analysis on straightforward network data traffic.

• Experiment with Wireshark features and options such as PDU capture and display filtering.

Background Wireshark is a software protocol analyzer, or "packet sniffer" application, used for networktroubleshooting, analysis, software and protocol development, and education. Before June 2006,Wireshark was known as Ethereal.

A packet sniffer (also known as a network analyzer or protocol analyzer) is computer software that canintercept and log data traffic passing over a data network. As data streams travel back and forth over thenetwork, the sniffer "captures" each protocol data unit (PDU) and can decode and analyze its contentaccording to the appropriate RFC or other specifications.

Wireshark is programmed to recognize the structure of different network protocols. This enables it todisplay the encapsulation and individual fields of a PDU and interpret their meaning.

It is a useful tool for anyone working with networks and can be used with most labs in the CCNA courses

for data analysis and troubleshooting.

For information and to download the program go to - http://www.Wireshark.org 

Scenario To capture PDUs the computer on which Wireshark is installed must have a working connection to thenetwork and Wireshark must be running before any data can be captured.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 11/176

CCNA ExplorationNetwork Fundamentals:Communicating over the Network Lab 2.6.2: Using Wireshark™ to View Protocol Data Units

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 2 of 11

When Wireshark is launched, the screen below is displayed.

To start data capture it is first necessary to go to the Capture menu and select the Options choice.The Options dialog provides a range of settings and filters which determines which and how much datatraffic is captured.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 12/176

CCNA ExplorationNetwork Fundamentals:Communicating over the Network Lab 2.6.2: Using Wireshark™ to View Protocol Data Units

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 11

First, it is necessary to ensure that Wireshark is set to monitor the correct interface. From the Interface drop down list, select the network adapter in use. Typically, for a computer this will be the connectedEthernet Adapter.

Then other Options can be set. Among those available in Capture Options, the two highlighted below

are worth examination.

Setting Wireshark to capture packets in promiscuous mode 

If this feature is NOT checked, only PDUs destined for this computer will be captured.If this feature is checked, all PDUs destined for this computer AND all those detected by the computerNIC on the same network segment (i.e., those that "pass by" the NIC but are not destined for thecomputer) are captured.Note: The capturing of these other PDUs depends on the intermediary device connecting the end devicecomputers on this network. As you use different intermediary devices (hubs, switches, routers) throughoutthese courses, you will experience the different Wireshark results.

Setting Wireshark for network name resolution 

This option allows you to control whether or not Wireshark translates network addresses found in PDUsinto names. Although this is a useful feature, the name resolution process may add extra PDUs to yourcaptured data perhaps distorting the analysis.

There are also a number of other capture filtering and process settings available.

Clicking on the Start button starts the data capture process and a message box displays the progress ofthis process.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 13/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 14/176

CCNA ExplorationNetwork Fundamentals:Communicating over the Network Lab 2.6.2: Using Wireshark™ to View Protocol Data Units

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 5 of 11

The PDU (or Packet) List Pane at the top of the diagram displays a summary of each packet captured. By

clicking on packets in this pane, you control what is displayed in the other two panes.

The PDU (or Packet) Details Pane in the middle of the diagram displays the packet selected in the PacketList Pane in more detail.

The PDU (or Packet) Bytes Pane at the bottom of the diagram displays the actual data (in hexadecimalform representing the actual binary) from the packet selected in the Packet List Pane, and highlights thefield selected in the Packet Details Pane.

Each line in the Packet List corresponds to one PDU or packet of the captured data. If you select a line inthis pane, more details will be displayed in the "Packet Details" and "Packet Bytes" panes. The exampleabove shows the PDUs captured when the ping utility was used and http://www.Wireshark.org wasaccessed. Packet number 1 is selected in this pane.

The Packet Details pane shows the current packet (selected in the "Packet List" pane) in a more detailedform. This pane shows the protocols and protocol fields of the selected packet. The protocols and fields ofthe packet are displayed using a tree, which can be expanded and collapsed.

The Packet Bytes pane shows the data of the current packet (selected in the "Packet List" pane) in whatis known as "hexdump" style. In this lab, this pane will not be examined in detail. However, when a morein-depth analysis is required this displayed information is useful for examining the binary values andcontent of PDUs.

Packet List Pane

Packet Details Pane

Packets Bytes Pane

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 15/176

CCNA ExplorationNetwork Fundamentals:Communicating over the Network Lab 2.6.2: Using Wireshark™ to View Protocol Data Units

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 6 of 11

The information captured for the data PDUs can be saved in a file. This file can then be opened inWireshark for analysis some time in the future without the need to re-capture the same data traffic again.The information displayed when a capture file is opened is the same as the original capture.

When closing a data capture screen or exiting Wireshark you are prompted to save the captured PDUs.

Clicking on Continue without Saving closes the file or exits Wireshark without saving the displayedcaptured data.

Task 1: Ping PDU Capture

Step 1: After ensuring that the standard lab topology and configuration is correct, launchWireshark on a computer in a lab pod.

Set the Capture Options as described above in the overview and start the capture process.

From the command line of the computer, ping the IP address of another network connected and poweredon end device on in the lab topology. In this case, ping the Eagle Server at using the command ping  192.168.254.254.

After receiving the successful replies to the ping in the command line window, stop the packet capture.

Step 2: Examine the Packet List pane.

The Packet List pane on Wireshark should now look something like this:

Look at the packets listed above; we are interested in packet numbers 6, 7, 8, 9, 11, 12, 14 and 15.

Locate the equivalent packets on the packet list on your computer.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 16/176

CCNA ExplorationNetwork Fundamentals:Communicating over the Network Lab 2.6.2: Using Wireshark™ to View Protocol Data Units

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 7 of 11

If you performed Step 1A above match the messages displayed in the command line window when theping was issued with the six packets captured by Wireshark.

From the Wireshark Packet List answer the following:

What protocol is used by ping? ______________________________ 

What is the full protocol name? ______________________________ 

What are the names of the two ping messages? ______________________________ 

 _____________________________________________________________________ 

Are the listed source and destination IP addresses what you expected? Yes / No

Why? ___________________________________  

Step 3: Select (highlight) the first echo request packet on the list with the mouse.

The Packet Detail pane will now display something similar to:

Click on each of the four "+" to expand the information.

The packet Detail Pane will now be similar to:

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 17/176

CCNA ExplorationNetwork Fundamentals:Communicating over the Network Lab 2.6.2: Using Wireshark™ to View Protocol Data Units

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 8 of 11

As you can see, the details for each section and protocol can be expanded further. Spend some timescrolling through this information. At this stage of the course, you may not fully understand theinformation displayed but make a note of the information you do recognize.

Locate the two different types of 'Source" and "Destination". Why are there two types?

 __________________________________________________________________ 

What protocols are in the Ethernet frame?

 ____________________________________________________________ 

As you select a line in the Packets Detail pane all or part of the information in the Packet Bytes pane alsobecomes highlighted.

For example, if the second line (+ Ethernet II) is highlighted in the Details pane the Bytes pane nowhighlights the corresponding values.

This shows the particular binary values that represent that information in the PDU. At this stage of thecourse, it is not necessary to understand this information in detail.

Step 4: Go to the File menu and select Close.

Click on Continue without Saving when this message box appears.

Task 2: FTP PDU Capture

Step 1: Start packet capture.

Assuming Wireshark is still running from the previous steps, start packet capture by clicking on the Start option on the Capture menu of Wireshark.

At the command line on your computer running Wireshark, enter ftp 192.168.254.254 

When the connection is established, enter anonymous as the user without a password.Userid: anonymous Password: <ENTER>You may alternatively use login with userid cisco and with password cisco.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 18/176

CCNA ExplorationNetwork Fundamentals:Communicating over the Network Lab 2.6.2: Using Wireshark™ to View Protocol Data Units

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 9 of 11

When successfully logged in enter get /pub/eagle_labs/eagle1/chapter1/gaim-1.5.0.exe  and press the enter key <ENTER>. This will start downloading the file from the ftp server. The output willlook similar to:

C:\Documents and Settings\ccna1>ftp eagle-server.example.comConnected to eagle-server.example.com.

220 Welcome to the eagle-server FTP service.

User (eagle-server.example.com:(none)): anonymous 

331 Please specify the password.

Password:<ENTER>

230 Login successful.

ftp> get /pub/eagle_labs/eagle1/chapter1/gaim-1.5.0.exe

200 PORT command successful. Consider using PASV.

150 Opening BINARY mode data connection for

pub/eagle_labs/eagle1/chapter1/gaim-1.5.0.exe (6967072 bytes).

226 File send OK.

ftp: 6967072 bytes received in 0.59Seconds 11729.08Kbytes/sec.

When the file download is complete enter quit 

ftp> quit

221 Goodbye.

C:\Documents and Settings\ccna1> When the file has successfully downloaded, stop the PDU capture in Wireshark.

Step 2: Increase the size of the Wireshark Packet List pane and scroll through the PDUs listed.

Locate and note those PDUs associated with the file download.These will be the PDUs from the Layer 4 protocol TCP and the Layer 7 protocol FTP.

Identify the three groups of PDUs associated with the file transfer.

If you performed the step above, match the packets with the messages and prompts in the FTP commandline window.

The first group is associated with the "connection" phase and logging into the server.List examples of messages exchanged in this phase.

 ___________________________________________________________________ Locate and list examples of messages exchanged in the second phase that is the actual downloadrequest and the data transfer.

 __________________________________________________________________ 

 ___________________________________________________________________ 

The third group of PDUs relate to logging out and "breaking the connection".List examples of messages exchanged during this process.

 __________________________________________________________________ 

 ___________________________________________________________________ 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 19/176

CCNA ExplorationNetwork Fundamentals:Communicating over the Network Lab 2.6.2: Using Wireshark™ to View Protocol Data Units

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 10 of 11

Locate recurring TCP exchanges throughout the FTP process. What feature of TCP does this indicate?

 ___________  ________________________________________________________ 

 ___________________________________________________________________ 

Step 3: Examine Packet Details.

Select (highlight) a packet on the list associated with the first phase of the FTP process.View the packet details in the Details pane.

What are the protocols encapsulated in the frame?

 ___________________________________________________________________ 

Highlight the packets containing the user name and password.Examine the highlighted portion in the Packet Byte pane.

What does this say about the security of this FTP login process?

 ___________________________________________________________________ 

Highlight a packet associated with the second phase.From any pane, locate the packet containing the file name.

The filename is: ______________________________ 

Highlight a packet containing the actual file content - note the plain text visible in the Byte pane.

Highlight and examine, in the Details and Byte panes, some packets exchanged in the third phase of the

file download.What features distinguish the content of these packets? ___________________________________________________________________ 

When finished, close the Wireshark file and continue without saving

Task 3: HTTP PDU Capture

Step 1: Start packet capture.

Assuming Wireshark is still running from the previous steps, start packet capture by clicking on the Start option on the Capture menu of Wireshark.

Note: Capture Options do not have to be set if continuing from previous steps of this lab.

Launch a web browser on the computer that is running Wireshark.Enter the URL of the Eagle Server of example.com or enter the IP address-192.168.254.254. When thewebpage has fully downloaded, stop the Wireshark packet capture.

Step 2: Increase the size of the Wireshark Packet List pane and scroll through the PDUs listed.

Locate and identify the TCP and HTTP packets associated with the webpage download.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 20/176

CCNA ExplorationNetwork Fundamentals:Communicating over the Network Lab 2.6.2: Using Wireshark™ to View Protocol Data Units

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 11 of 11

Note the similarity between this message exchange and the FTP exchange.

Step 3: In the Packet List pane, highlight an HTTP packet that has the notation "(text/html)" in theInfo column.

In the Packet Detail pane click on the "+" next to "Line-based text data: html"When this information expands what is displayed? ___________________________________________________________________ 

Examine the highlighted portion of the Byte Panel.This shows the HTML data carried by the packet.

When finished close the Wireshark file and continue without saving

Task 4: Reflection

Consider the encapsulation information pertaining to captured network data Wireshark can provide.Relate this to the OSI and TCP/IP layer models. It is important that you can recognize and link both the

protocols represented and the protocol layer and encapsulation types of the models with the informationprovided by Wireshark.

Task 5: Challenge

Discuss how you could use a protocol analyzer such as Wireshark to:

(1) Troubleshoot the failure of a webpage to download successfully to a browser on a computer.

and

(2) Identify data traffic on a network that is requested by users.

 _____________________________________________________________________________ 

 _____________________________________________________________________________ 

 _____________________________________________________________________________ 

 _____________________________________________________________________________ 

 _____________________________________________________________________________ 

 _____________________________________________________________________________ 

 _____________________________________________________________________________ 

Task 6: Cleanup Unless instructed otherwise by your instructor, exit Wireshark and properly shutdown the computer.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 21/176

 

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 1 of 5 

Lab 4.5.1: Observing TCP and UDP using Netstat

Topology Diagram

Addressing Table

Device Interface IP Address Subnet Mask Default Gateway

S0/0/0 10.10.10.6 255.255.255.252 N/AR1-ISP

Fa0/0 192.168.254.253 255.255.255.0 N/A

S0/0/0 10.10.10.5 255.255.255.252 10.10.10.6R2-Central

Fa0/0 172.16.255.254 255.255.0.0 N/AN/A  192.168.254.254 255.255.255.0 192.168.254.253

Eagle ServerN/A  172.31.24.254 255.255.255.0 N/A

hostPod# A N/A  172.16.Pod#.1 255.255.0.0 172.16.255.254

hostPod# B N/A  172.16.Pod#.2 255.255.0.0 172.16.255.254

S1-Central N/A  172.16.254.1 255.255.0.0 172.16.255.254

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 22/176

CCNA ExplorationNetwork Fundamentals: OSI Transport Layer Lab 4.5.1: Observing TCP and UDP using Netstat

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 2 of 5 

Learning Objectives 

• Explain common netstat command parameters and outputs.

• Use netstat to examine protocol information on a pod host computer.

Background 

netstat is an abbreviation for the network statistics utility, available on both Windows and Unix / Linux

computers. Passing optional parameters with the command will change output information. netstat 

displays incoming and outgoing network connections (TCP and UDP), host computer routing tableinformation, and interface statistics.

Scenario

In this lab the student will examine the netstat command on a pod host computer, and adjust netstat 

output options to analyze and understand TCP/IP Transport Layer protocol status.

Task 1: Explain common netstat command parameters and outputs.

Open a terminal window by clicking on Start | Run. Type cmd, and press OK.

To display help information about the netstat command, use the /? options, as shown:

C:\> netstat /? <ENTER> 

Use the output of the netstat /? command as reference to fill in the appropriate option that best

matches the description:

Option Description

Display all connections and listening ports.Display addresses and port numbers in numerical

form. Redisplay statistics every five seconds. Press

CTRL+C to stop redisplaying statistics.

Shows connections for the protocol specified by

proto; proto may be any of: TCP, UDP, TCPv6, or

UDPv6. If used with the –s option to display

per-protocol statistics, proto may be any of:

IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or

UDPv6.

Redisplay all connections and listening ports

every 30 seconds.

Display only open connections. This is a tricky

problem.

When netstat statistics are displayed for TCP connections, the TCP state is displayed. During the life of

a TCP connection, the connection passes through a series of states. The following table is a summary ofTCP states, compiled from RFC 793, Transmission Control Protocol, September, 1981, as reported bynetstat:

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 23/176

CCNA ExplorationNetwork Fundamentals: OSI Transport Layer Lab 4.5.1: Observing TCP and UDP using Netstat

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 5 

State Connection DescriptionLISTEN The local connection is waiting for a connection request from any remote

device.ESTABLISHED The connection is open, and data may be exchanged through the

connection. This is the normal state for the data transfer phase of theconnection.

TIME-WAIT The local connection is waiting a default period of time after sending aconnection termination request before closing the connection. This is anormal condition, and will normally last between 30 - 120 seconds.

CLOSE-WAIT The connection is closed, but is waiting for a termination request from thelocal user.

SYN-SENT The local connection is waiting for a response after sending a connectionrequest. The connection should transition quickly through this state.

SYN_RECEIVED The local connection is waiting for a confirming connection requestacknowledgment. The connection should transition quickly through thisstate. Multiple connections in SYN_RECEIVED state may indicate a TCPSYN attack.

IP addresses displayed by netstat fall into several categories:

IP Address Description127.0.0.1 This address refers to the local host, or this computer.0.0.0.0 A global address, meaning “ANY”.Remote

AddressThe address of the remote device that has a connection with this computer.

Task 2: Use netstat to Examine Protocol Information on a Pod Host Computer.

Step 1: Use netstat to view existing connections.

From the terminal window in Task 1, above, issue the command netstat –a:

C:\> netstat –a <ENTER> 

A table will be displayed that lists protocol (TCP and UDP), Local address, Foreign address, and Stateinformation. Addresses and protocols that can be translated into names are displayed.

The –n option forces netstat to display output in raw format. From the terminal window, issue the

command netstat –an:

C:\> netstat –an <ENTER> 

Use the window vertical scroll bar to go back and forth between the outputs of the two commands.Compare outputs, noting how well-known port numbers are changed to names.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 24/176

CCNA ExplorationNetwork Fundamentals: OSI Transport Layer Lab 4.5.1: Observing TCP and UDP using Netstat

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 4 of 5 

Write down three TCP and three UDP connections from the netstat –a output, and the corresponding

translated port numbers from the netstat –an output. If there are fewer than three connections that

translate, note that in your table.

Connection Proto Local Address Foreign Address State

Refer to the following netstat output. A new network engineer suspects that his host computer has

been compromised by an outside attack against ports 1070 and 1071. How would you respond?

C:\> netstat –n 

Active Connections

Proto Local Address Foreign Address State

TCP 127.0.0.1:1070 127.0.0.1:1071 ESTABLISHED

TCP 127.0.0.1:1071 127.0.0.1:1070 ESTABLISHED

C:\>

 _______________________________________________________________________________ 

 _______________________________________________________________________________ 

Step 2: Establish multiple concurrent TCP connections and record netstat output.

In this task, several simultaneous connections will be made with Eagle Server. The venerable telnet 

command will be used to access Eagle Server network services, thus providing several protocols toexamine with netstat.

Open an additional four terminal windows. Arrange the windows so that all are visible. The four terminalwindows that will be used for telnet connections to Eagle Server can be relatively small, approximately ½screen width by ¼ screen height. The terminal windows that will be used to collect connection informationshould be ½ screen width by full screen height.

Several network services on Eagle Server will respond to a telnet connection. We will use:

• DNS- domain name server, port 53

• FTP- FTP server, port 21

• SMTP- SMTP mail server, port 25

• TELNET- Telnet server, port 23

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 25/176

CCNA ExplorationNetwork Fundamentals: OSI Transport Layer Lab 4.5.1: Observing TCP and UDP using Netstat

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 5 of 5 

Why should telnet to UDP ports fail? _______________________________________________________________________________ 

 _______________________________________________________________________________ 

To close a telnet connection, press the <CTRL> ] keys together. That will bring up the telnet prompt,

Microsoft Telnet>. Type quit <ENTER> to close the session.

In the first telnet terminal window, telnet to Eagle Server on port 53. In the second terminal window, telneton port 21. In the third terminal window, telnet on port 25. In the fourth terminal window, telnet on port 23.The command for a telnet connection on port 21 is shown below:

C:\> telnet eagle-server.example.com 53

In the large terminal window, record established connections with Eagle Server. Output should looksimilar to the following. If typing is slow, a connection may close before all connections have been made.Eventually, connections should terminate from inactivity.

Proto Local Address Foreign Address State

TCP 192.168.254.1:1688 192.168.254.254:21 ESTABLISHEDTCP 192.168.254.1:1691 192.168.254.254:25 ESTABLISHED

TCP 192.168.254.1:1693 192.168.254.254:53 ESTABLISHED

TCP 192.168.254.1:1694 192.168.254.254:23 ESTABLISHED

Task 3: Reflection.

The netstat utility displays incoming and outgoing network connections (TCP and UDP), host

computer routing table information, and interface statistics.

Task 4: Challenge.

Close Established sessions abruptly (close the terminal window), and issue the netstat –an command.Try to view connections in stages different from ESTABLISHED.

Task 5: Cleanup. 

Unless directed otherwise by the instructor, turn off power to the host computers. Remove anything thatwas brought into the lab, and leave the room ready for the next class.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 26/176

 

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 1 of 10 

Lab 4.5.2: TCP/IP Transport Layer Protocols, TCP and UDP

Topology Diagram

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 27/176

CCNA ExplorationNetwork Fundamentals: OSI Transport Layer Lab 4.5.2: TCP/IP Transport Layer Protocols, TCP and UDP

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 2 of 10 

Addressing Table

Device Interface IP Address Subnet Mask Default Gateway

S0/0/0 10.10.10.6 255.255.255.252 N/AR1-ISP

Fa0/0 192.168.254.253 255.255.255.0 N/A

S0/0/0 10.10.10.5 255.255.255.252 10.10.10.6R2-Central

Fa0/0 172.16.255.254 255.255.0.0 N/A

N/A  192.168.254.254 255.255.255.0 192.168.254.253Eagle Server

N/A  172.31.24.254 255.255.255.0 N/A

hostPod# A N/A  172.16.Pod#.1 255.255.0.0 172.16.255.254

hostPod# B N/A  172.16.Pod#.2 255.255.0.0 172.16.255.254

S1-CentralN/A 

172.16.254.1 255.255.0.0 172.16.255.254

Learning Objectives 

• Identify TCP header fields and operation using a Wireshark FTP session capture.

• Identify UDP header fields and operation using a Wireshark TFTP session capture.

Background 

The two protocols in the TCP/IP Transport Layer are the transmission control protocol (TCP),defined in RFC 761, January, 1980, and user datagram protocol (UDP), defined in RFC 768,August, 1980. Both protocols support upper-layer protocol communication. For example, TCP is

used to provide Transport Layer support for the HTTP and FTP protocols, among others. UDPprovides Transport Layer support for domain name services (DNS) and trivial file transfer protocol(TFTP), among others.

The ability to understand the parts of the TCP and UDP headers and operation are a critical skillfor network engineers.

ScenarioUsing Wireshark capture, analyze TCP and UDP protocol header fields for file transfers betweenthe host computer and Eagle Server. If Wireshark has not been loaded on the host pod computer,it may be downloaded from URL ftp://eagle-

server.example.com/pub/eagle_labs/eagle1/chapter4/ , file wireshark-setup-

0.99.4.exe.

Windows command line utilities ftp and tftp will be used to connect to Eagle Server anddownload files.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 28/176

CCNA ExplorationNetwork Fundamentals: OSI Transport Layer Lab 4.5.2: TCP/IP Transport Layer Protocols, TCP and UDP

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 10 

Task 1: Identify TCP Header Fields and Operation using a Wireshark FTP SessionCapture.

Step 1: Capture a FTP session.

TCP sessions are well controlled and managed by information exchanged in the TCP header fields. Inthis task, a FTP session will be made to Eagle Server. When finished, the session capture will beanalyzed. Windows computers use the FTP client, ftp, to connect to the FTP server. A command line

window will start the FTP session, and the text configuration file for S1-central from Eagle Server will bedownloaded, /pub/eagle_labs/eagle1/chapter4/s1-central , to the host computer.

Open a command line window by clicking on Start | Run, type cmd, then press OK.

Figure 1. Command line window.

A window similar to Figure 1 should open.

Start a Wireshark capture on the interface that has IP address 172.16.Pod#.[1-2].

Start an FTP connection to Eagle Server. Type the command:

> ftp eagle-server.example.com 

When prompted for a user id, type anonymous. When prompted for a password, press <ENTER>.

Change the FTP directory to /pub/eagle_labs/eagle1/chapter4/ :ftp> cd /pub/eagle_labs/eagle1/chapter4/ 

Download the file s1-central:ftp> get s1-central 

When finished, terminate the FTP sessions in each command line window with the FTP quit command:ftp> quit 

Close the command line window with the command exit:> exit 

Stop the Wireshark capture.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 29/176

CCNA ExplorationNetwork Fundamentals: OSI Transport Layer Lab 4.5.2: TCP/IP Transport Layer Protocols, TCP and UDP

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 4 of 10 

Step 2: Analyze the TCP fields.

Figure 2. FTP capture.

Switch to the Wireshark capture windows. The top window contains summary information for eachcaptured record. Student capture should be similar to the capture shown in Figure 2. Before delving intoTCP packet details, an explanation of the summary information is needed. When the FTP client isconnected to the FTP server, the Transport Layer protocol TCP created a reliable session. TCP isroutinely used during a session to control datagram delivery, verify datagram arrival, and manage windowsize. For each exchange of data between the FTP client and FTP server, a new TCP session is started.At the conclusion of the data transfer, the TCP session is closed. Finally, when the FTP session isfinished TCP performs an orderly shutdown and termination.

Figure 3. Wireshark capture of a TCP datagram.

In Wireshark, detailed TCP information is available in the middle window. Highlight the first TCP datagramfrom the host computer, and move the mouse pointer to the middle window. It may be necessary to adjustthe middle window and expand the TCP record by clicking on the protocol expand box. The expandedTCP datagram should look similar to Figure 3.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 30/176

CCNA ExplorationNetwork Fundamentals: OSI Transport Layer Lab 4.5.2: TCP/IP Transport Layer Protocols, TCP and UDP

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 5 of 10 

How is the first datagram in a TCP session identified?

 __________________________________________________________________________ 

 __________________________________________________________________________ 

Figure 4. TCP packet fields.

Refer to Figure 4, a TCP datagram diagram. An explanation of each field is provided to refresh thestudent’s memory:

•  TCP Source port number belongs to the TCP session host that opened a connection. The valueis normally a random value above 1023.

•  Destination port number is used to identify the upper layer protocol or application on the remotesite. The values in the range 0–1023 represent the so called “well known ports” and areassociated with popular services and applications (as described in RFC 1700, such as telnet, FileTransfer Protocol (FTP), HyperText Transfer Protocol (HTTP), etc). The quadruple field

combination (Source IP Address, Source Port, Destination IP Address, Destination Port) uniquelyidentifies the session to both sender and receiver. 

•  Sequence number specifies the number of the last octet in a segment. •  Acknowledgment number specifies the next octet expected by the receiver.•  Code Bits have a special meaning in session management and in the treatment of segments.

Among interesting values are: • ACK (Acknowledgement of a segment receipt),• SYN (Synchronize, only set when a new TCP session is negotiated during the TCP three-

way handshake). • FIN (Finish, request to close the TCP session). 

•  Window size is the value of the sliding window - how many octets can be sent before waiting foran acknowledgement. 

•  Urgent pointer is only used with an URG (Urgent) flag - when the sender needs to send urgent

data to the receiver. •  Options: The only option currently defined is the maximum TCP segment size (optional value).

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 31/176

CCNA ExplorationNetwork Fundamentals: OSI Transport Layer Lab 4.5.2: TCP/IP Transport Layer Protocols, TCP and UDP

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 6 of 10 

Using the Wireshark capture of the first TCP session start-up (SYN bit set to 1), fill in information aboutthe TCP header:

From pod host computer to Eagle Server (only the SYN bit is set to 1):

Source IP Address: 172.16.___.___ 

Destination IP Address: _______________ Source port number: ______________ Destination port number: ______________ 

Sequence number: ______________ Acknowledgement number: ___________ 

Header length: ______________ Window size: _______________ 

From Eagle Server to pod host computer (only SYN and ACK bits are set to 1):

Source IP Address: ________________ Destination IP Address: 172.16.___.___ 

Source port number: ______________ Destination port number: ______________ 

Sequence number: ______________ Acknowledgement number: ___________ Header length: ______________ 

Window size: _______________ 

From pod host computer to Eagle Server (only ACK bit is set to 1):

Source IP Address: 172.16.___.___ 

Destination IP Address: _______________ Source port number: ______________ 

Destination port number: ______________ 

Sequence number: ______________ Acknowledgement number: ___________ Header length: ______________ Window size: _______________ 

Ignoring the TCP session started when a data transfer occurred, how many other TCP datagramscontained a SYN bit?

 __________________________________________________________________________ 

 __________________________________________________________________________ 

Attackers take advantage of the three-way handshake by initiating a “half-open” connection. In this

sequence, the opening TCP session sends a TCP datagram with the SYN bit set and the receiver sendsa related TCP datagram with the SYN ACK bits set. A final ACK bit is never sent to finish the TCPhandshake. Instead, a new TCP connection is started in half-open fashion. With sufficient TCP sessionsin the half-open state, the receiving computer may exhaust resources and crash. A crash could involve aloss of networking services, or corrupt the operating system. In either case the attacker has won,networking service has been stopped on the receiver. This is one example of a denial-of-service (DoS)attack.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 32/176

CCNA ExplorationNetwork Fundamentals: OSI Transport Layer Lab 4.5.2: TCP/IP Transport Layer Protocols, TCP and UDP

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 7 of 10 

Figure 5. TCP session management.

The FTP client and server communicate between each other, unaware and uncaring that TCP has controland management over the session. When the FTP server sends a Response: 220 to the FTP client, theTCP session on the FTP client sends an acknowledgment to the TCP session on Eagle Server. Thissequence is shown in Figure 5, and is visible in the Wireshark capture.

Figure 6. Orderly TCP session termination.

When the FTP session has finished, the FTP client sends a command to “quit”. The FTP server

acknowledges the FTP termination with a Response :221 Goodbye. At this time the FTP server TCPsession sends a TCP datagram to the FTP client, announcing the termination of the TCP session. TheFTP client TCP session acknowledges receipt of the termination datagram, then sends its own TCPsession termination. When the originator of the TCP termination, FTP server, receives a duplicatetermination, an ACK datagram is sent to acknowledge the termination and the TCP session is closed.This sequence is shown in Figure 6, and visible in the Wireshark capture.

Without an orderly termination, such as when the connection is broken, the TCP sessions will wait acertain period of time until closing. The default timeout value varies, but is normally 5 minutes.

Task 2: Identify UDP header fields and operation using a Wireshark TFTP session

capture.

Step 1: Capture a TFTP session.

Following the procedure in Task 1 above, open a command line window. The TFTP command has adifferent syntax than FTP. For example, there is no authentication. Also, there are only two commands,get, to retrieve a file, and put, to send a file.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 33/176

CCNA ExplorationNetwork Fundamentals: OSI Transport Layer Lab 4.5.2: TCP/IP Transport Layer Protocols, TCP and UDP

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 8 of 10 

>tftp –help

Transfers files to and from a remote computer running the TFTP service.

TFTP [-i] host [GET | PUT] source [destination] 

-i Specifies binary image transfer mode (also called

octet). In binary image mode the file is moved

literally, byte by byte. Use this mode when

transferring binary files.

host Specifies the local or remote host.

GET Transfers the file destination on the remote host to

the file source on the local host.

PUT Transfers the file source on the local host to

the file destination on the remote host.

source Specifies the file to transfer.

destination Specifies where to transfer the file. 

Table 1. TFTP syntax for a Windows TFTP client.

Table 1 contains Windows TFTP client syntax. The TFTP server has it’s own directory on Eagle Server,/tftpboot, which is different from the directory structure supported by the FTP server. Noauthentication is supported.

Start a Wireshark capture, then download the s1-central configuration file from Eagle Server with theWindows TFTP client. The command and syntax to perform this is shown below:

>tftp eagle-server.example.com get s1-central

Step 2: Analyze the UDP fields.

Figure 7. Summary capture of a UDP session.

Switch to the Wireshark capture windows. Student capture should be similar to the capture shownin Figure 7. A TFTP transfer will be used to analyze Transport Layer UDP operation.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 34/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 35/176

CCNA ExplorationNetwork Fundamentals: OSI Transport Layer Lab 4.5.2: TCP/IP Transport Layer Protocols, TCP and UDP

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 10 of 10 

Examine the first packet returned from Eagle Server. Fill in information about the UDP header:

Source IP Address:

Destination IP Address: 172.16.___.___ Source port number: ______________ 

Destination port number: ______________ UDP message length: _____________ UDP checksum: 0x _____________ 

Notice that the return UDP datagram has a different UDP source port, but this source port is usedfor the remainder of the TFTP transfer. Since there is no reliable connection, only the originalsource port used to begin the TFTP session is used to maintain the TFTP transfer.

Task 5: Reflection.

This lab provided students with the opportunity to analyze TCP and UDP protocol operations fromcaptured FTP and TFTP sessions. TCP manages communication much differently from UDP, butreliability and guaranteed delivery requires additional control over the communication channel.UDP has less overhead and control, and the upper-layer protocol must provide some type of

acknowledgement control. Both protocols, however, transport data between clients and serversusing Application Layer protocols and are appropriate for the upper-layer protocol each supports.

Task 6: Challenge.

Since neither FTP nor TFTP are secure protocols, all data transferred is sent in clear text. Thisincludes any user ids, passwords, or clear text file contents. Analyzing the upper-layer FTPsession will quickly identify the user id, password, and configuration file passwords. Upper-layerTFTP data examination is a bit more complicated, but the data field can be examined andconfiguration user id and password information extracted.

Task 7: Cleanup 

During this lab several files were transferred to the host computer, and should be removed.

Unless directed otherwise by the instructor, turn off power to the host computers. Removeanything that was brought into the lab, and leave the room ready for the next class.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 36/176

 

 All contents are Copyright © 1992 –2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 1 of 7 

Lab 5.5.2: Examining a Route

Topology Diagram

Addressing Table

Device Interface IP Address Subnet Mask Default Gateway

R1-ISPS0/0/0 10.10.10.6 255.255.255.252 N/A

Fa0/0 192.168.254.253 255.255.255.0 N/A

R2-CentralS0/0/0 10.10.10.5 255.255.255.252 N/A

Fa0/0 172.16.255.254 255.255.0.0 N/A

Eagle ServerN/A  192.168.254.254 255.255.255.0 192.168.254.253

N/A  172.31.24.254 255.255.255.0 N/A

hostPod# A N/A  172.16.Pod#.1 255.255.0.0 172.16.255.254

hostPod# B N/A  172.16.Pod#.2 255.255.0.0 172.16.255.254

S1-Central N/A  172.16.254.1 255.255.0.0 172.16.255.254

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 37/176

CCNA ExplorationNetwork Fundamentals: OSI Network Layer Lab 5.5.2: Examining a Route

 All contents are Copyright © 1992 –2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 2 of 7 

Learning Objectives Upon completion of this lab, you will be able to:

Use the route command to modify a Windows computer routing table.

Use a Windows Telnet client command telnet to connect to a Cisco router.

Examine router routes using basic Cisco IOS commands.

Background For packets to travel across a network, a device must know the route to the destination network. This labwill compare how routes are used in Windows computers and the Cisco router.

Some routes are added to routing tables automatically, based upon configuration information on thenetwork interface. The device considers a network directly connected when it has an IP address andnetwork mask configured, and the network route is automatically entered into the routing table. For networks that are not directly connected, a default gateway IP address is configured that will send trafficto a device that should know about the network.

Scenario

Using a pod host computer, examine the routing table with the route command and identify the different

routes and gateway IP address for the route. Delete the default gateway route, test the connection, andthen add the default gateway route back to the host table.

Use a pod host computer to telnet into R2-Central, and examine the routing table.

Task 1: Use the route Command to Modify a Windows Computer Routing Table.

C:\>netstat –r

Route Table=======================================================================

Interface List

0x1 ......................... MS TCP Loopback interface

0x20005 ...00 16 76 ac a7 6a Intel(R) 82562V 10/100 Network Connection

=======================================================================

=======================================================================

Active Routes:

Network Destination Netmask Gateway Interface Metric

0.0.0.0 0.0.0.0 172.16.255.254 172.16.1.2 1

127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1

172.16.0.0 255.255.0.0 172.16.1.2 172.16.1.2 20

172.16.1.2 255.255.255.255 127.0.0.1 127.0.0.1 20

172.16.255.255 255.255.255.255 172.16.1.2 172.16.1.2 20

255.255.255.255 255.255.255.255 172.16.1.2 172.16.1.2 1

Default Gateway: 172.16.255.254

=======================================================================

Persistent Routes:

None

C:\>

Figure 1. Output of the netstat Command

Shown in Figure 1, output from the netstat –r command is useful to determine route and gateway

information.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 38/176

CCNA ExplorationNetwork Fundamentals: OSI Network Layer Lab 5.5.2: Examining a Route

 All contents are Copyright © 1992 –2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 7 

Step 1: Examine the active routes on a Windows computer.

 A useful command to modify the routing table is the route command. Unlike the netstat –r 

command, the route command can be used to view, add, delete, or change routing table entries. To

view detailed information about the route command, use the option route /?.

 An abbreviated option list for the route command is shown below:route PRINT Prints active routes

route ADD Adds a route:

route ADD network MASK mask gateway  

route DELETE Deletes a route:

route DELETE network 

route CHANGE Modifies an existing route 

To view active routes, issue the command route PRINT:

C:\ >route PRINT

=======================================================================

Interface List

0x1 ........................... MS TCP Loopback interface

0x70003 ...00 16 76 ac a7 6a .Intel(R) 82562V 10/100 Network Connection

=======================================================================

=======================================================================

Active Routes:

Network Destination Netmask Gateway Interface Metric

0.0.0.0 0.0.0.0 172.16.255.254 172.16.1.2 1

127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1

172.16.0.0 255.255.0.0 172.16.1.2 172.16.1.2 20

172.16.1.2 255.255.255.255 127.0.0.1 127.0.0.1 20

172.16.255.255 255.255.255.255 172.16.1.2 172.16.1.2 20

255.255.255.255 255.255.255.255 172.16.1.2 172.16.1.2 1

Default Gateway: 172.16.255.254

=======================================================================Persistent Routes:

None

C:\>

Verify network connectivity to Eagle Server:

C:\> ping eagle-server.example.com 

Pinging eagle-server.example.com [192.168.254.254] with 32 bytes

of data:

Reply from 192.168.254.254: bytes=32 time<1ms TTL=63

Reply from 192.168.254.254: bytes=32 time<1ms TTL=63

Reply from 192.168.254.254: bytes=32 time<1ms TTL=63

Reply from 192.168.254.254: bytes=32 time<1ms TTL=63

Ping statistics for 192.168.254.254:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\>

What is the gateway address to eagle-server.example.com?

____________________________________________________________________________  

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 39/176

CCNA ExplorationNetwork Fundamentals: OSI Network Layer Lab 5.5.2: Examining a Route

 All contents are Copyright © 1992 –2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 4 of 7 

Step 2: Delete a route from the Windows computer routing table.

How important is the default gateway route? Delete the gateway route, and try to ping Eagle Server. Thesyntax to remove the default gateway route is:

route DELETE network 

C:/> route DELETE 0.0.0.0

Examine the active routing table and verify that the default gateway route has been removed:

What is the default gateway IP address?

____________________________________________________________________________  

Try to ping Eagle Server. What are the results?

____________________________________________________________________________  

If the default gateway IP address is removed, how can the DNS server be reached to resolve eagle-server.example.com?

Can other LAN devices be reached, such as 172.16.255.254?

____________________________________________________________________________  

Step 3: Insert a route into the Windows computer routing table.

In the following configuration, use the IP address assigned to your host pod interface. The syntax to add aroute to the Windows computer routing table is:

route ADD network  MASK  mask gateway-IP address 

C:/> route ADD 0.0.0.0 MASK 0.0.0.0 172.16.255.254 

Examine the active routing table, and verify that the default gateway route has been restored:

Has the default gateway route been restored? __________:

Try to ping Eagle Server. What are the results?

____________________________________________________________________________  

Task 2: Use a Windows Telnet Client Command telnet to Connect to a Cisco Router.

In this task, you will telnet into the R2-Central router and use common IOS commands to examine the

router routing table. Cisco devices have a Telnet server and, if properly configured, will permit remotelogins. Access to the router is restricted, however, and requires a username and password. The

password for all usernames is cisco. The username depends on the pod. Username ccna1 is for users

on pod 1 computer, ccna2 is for students on pod 2 computers, and so on.

Step 1: Using the Windows Telnet client, log in to a Cisco router.

Open a terminal window by clicking Start > Run. Type cmd, and click OK. A terminal window and prompt

should be available. The Telnet utility has several options and can be viewed with the telnet /? 

command. A username and password will be required to log in to the router. For all usernames, thecorresponding password is cisco.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 40/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 41/176

CCNA ExplorationNetwork Fundamentals: OSI Network Layer Lab 5.5.2: Examining a Route

 All contents are Copyright © 1992 –2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 6 of 7 

Step 1: Enter the command to display the router routing table.

The route information displayed is much more detailed than the route information on a host computer.This is to be expected, because the job of a router is to route traffic between networks. The information

required of this task, however, is not difficult to glean. Figure 2 shows the routing table for R2-Central.

Figure 2. Output of the Cisco IOS show ip route Command

The Codes section shown in Figure 3 provides an explanation for the symbols to the left of each route

entry.

Figure 3. Explanation of Codes

  C denotes directly connected networks and the interface that supports the connection.

  S denotes a static route, which is manually entered by the Cisco network engineer.

  Because the route is ”quad-zero,” it is a candidate defaultroute.

 If there is no other route in the routing table, use this gateway of last resortIP

address to forward packets.

How is IP mask information displayed in a router routing table?

____________________________________________________________________________  

____________________________________________________________________________  

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 42/176

CCNA ExplorationNetwork Fundamentals: OSI Network Layer Lab 5.5.2: Examining a Route

 All contents are Copyright © 1992 –2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 7 of 7 

What would the router do with packets destined to 192.168.254.254?

____________________________________________________________________________  

____________________________________________________________________________  

When finished examining the routing table, exit the router with the command exit <ENTER>. The

telnet client will also close the connection with the telnet escape sequence <CTRL> ] and quit. Close

the terminal window.

Task 4: Reflection

Two new Windows commands were used in this lab. The route command was used to view, delete, and

add route information on the pod host computer.

The Windows Telnet client, telnet, was used to connect to a lab router, R2-Central. This technique will

be used in other labs to connect to Cisco network devices.

The router routing table was examined with the Cisco IOS command show ip route. Routes for directly connected networks, statically assigned routes, and gateway of last resort information aredisplayed.

Task 5: Challenge

Other Cisco IOS commands can be used to view IP address information on a router. Similar to theWindows ipconfig command, the Cisco IOS command show ip interface brief will display IP

address assignments.

R2-Central#show ip interface brief

Interface IP-Address OK? Method Status Protocol

FastEthernet0/0 172.16.255.254 YES manual up up

FastEthernet0/1 unassigned YES unset administratively down downSerial0/2/0 10.10.10.5 YES manual up up

Serial0/2/1 unassigned YES unset administratively down down

R2-Central# 

Using Windows commands and the Cisco IOS commands in this lab, compare network informationoutput. What was missing? What critical network information was similar?

____________________________________________________________________________  

____________________________________________________________________________  

Task 6: Clean Up. Unless directed otherwise by the instructor, turn off power to the host computers. Remove anything thatwas brought into the lab, and leave the room ready for the next class.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 43/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 44/176

CCNA ExplorationNetwork Fundamentals: Addressing the Network - IPV4 Lab 6.7.1: Ping and Traceroute

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 2 of 8 

Learning Objectives Upon completion of this lab, you will be able to:

• Use the ping command to verify simple TCP/IP network connectivity.

• Use the tracert/traceroute command to verify TCP/IP connectivity.

Background

Two tools that are indispensable when testing TCP/IP network connectivity are ping and tracert. The

 ping utility is available on Windows, Linux, and Cisco IOS, and tests network connectivity. The tracert 

utility is available on Windows, and a similar utility, traceroute, is available on Linux and Cisco IOS. In

addition to testing for connectivity, tracert can be used to check for network latency.

For example, when a web browser fails to connect to a web server, the problem can be anywherebetween client and the server. A network engineer may use the ping command to test for local network

connectivity or connections where there are few devices. In a complex network, the tracert command

would be used. Where to begin connectivity tests has been the subject of much debate; it usuallydepends on the experience of the network engineer and familiarity with the network.

The Internet Control Message Protocol (ICMP) is used by both ping and tracert to send messagesbetween devices. ICMP is a TCP/IP Network layer protocol, first defined in RFC 792, September, 1981.ICMP message types were later expanded in RFC 1700.

Scenario

In this lab, the ping and tracert commands will be examined, and command options will be used to

modify the command behavior. To familiarize the students with the use of the commands, devices in theCisco lab will be tested.

Measured delay time will probably be less than those on a production network. This is because there islittle network traffic in the Eagle 1 lab.

Task 1: Use the ping Command to Verify Simple TCP/IP Network Connectivity.The ping command is used to verify TCP/IP Network layer connectivity on the local host computer or

another device in the network. The command can be used with a destination IP address or qualifiedname, such as eagle-server.example.com, to test domain name services (DNS) functionality. For this lab,only IP addresses will be used.

The ping operation is straightforward. The source computer sends an ICMP echo request to the

destination. The destination responds with an echo reply. If there is a break between the source anddestination, a router may respond with an ICMP message that the host is unknown or the destinationnetwork is unknown.

Step 1: Verify TCP/IP Network layer connectivity on the local host computer.

C:\> ipconfig

Windows IP Configuration

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :

IP Address. . . . . . . . . . . . : 172.16.1.2

Subnet Mask . . . . . . . . . . . : 255.255.0.0

Default Gateway . . . . . . . . . : 172.16.255.254

C:\>

Figure 1. Local TCP/IP Network Information

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 45/176

CCNA ExplorationNetwork Fundamentals: Addressing the Network - IPV4 Lab 6.7.1: Ping and Traceroute

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 8 

1. Open a Windows terminal and determine IP address of the pod host computer with theipconfig command, as shown in Figure 1.

The output should look the same except for the IP address. Each pod host computer should havethe same network mask and default gateway address; only the IP address may differ. If theinformation is missing or if the subnet mask and default gateway are different, reconfigure the

TCP/IP settings to match the settings for this pod host computer.

2. Record information about local TCP/IP network information:

TCP/IP Information Value

IP Address

Subnet MaskDefault Gateway

Figure 2. Output of the ping Command on the Local TCP/IP Stack

3. Use the ping command to verify TCP/IP Network layer connectivity on the local host computer.

By default, four ping requests are sent to the destination and reply information is received. Outputshould look similar to that shown in Figure 2.

 Destination address, set to the IP address for the local computer.

 Reply information:

bytes—size of the ICMP packet.

time—elapsed time between transmission and reply.

TTL—default TTL value of the DESTINATION device, minus the number of routers in thepath. The maximum TTL value is 255, and for newer Windows machines the defaultvalue is 128.

 Summary information about the replies:

 Packets Sent—number of packets transmitted. By default, four packets are sent.

 Packets Received—number of packets received.

 Packets Lost —difference between number of packets sent and received.

 Information about the delay in replies, measured in milliseconds. Lower round triptimes indicate faster links. A computer timer is set to 10 milliseconds. Values faster than10 milliseconds will display 0.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 46/176

CCNA ExplorationNetwork Fundamentals: Addressing the Network - IPV4 Lab 6.7.1: Ping and Traceroute

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 4 of 8 

4. Fill in the results of the ping command on your computer:

Field Value

Size of packet

Number of packets sentNumber of replies

Number of lost packetsMinimum delayMaximum delay

Average delay

Step 2: Verify TCP/IP Network layer connectivity on the LAN.

C:\> ping 172.16.255.254 

Pinging 172.16.255.254 with 32 bytes of data:

Reply from 172.16.255.254: bytes=32 time=1ms TTL=255

Reply from 172.16.255.254: bytes=32 time<1ms TTL=255

Reply from 172.16.255.254: bytes=32 time<1ms TTL=255

Reply from 172.16.255.254: bytes=32 time<1ms TTL=255

Ping statistics for 172.16.255.254:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 0ms, Maximum = 1ms, Average = 0ms

C:\>

Figure 3. Output of the ping Command to the Default Gateway

1. Use the ping command to verify TCP/IP Network layer connectivity to the default gateway.

Results should be similar to those shown in Figure 3.

Cisco IOS default TTL value is set to 255. Because the router was not crossed, the TTL value

returned is 255.2. Fill in the results of the ping command to the default Gateway:

Field Value

Size of packetNumber of packets sent

Number of repliesNumber of lost packets

Minimum delayMaximum delayAverage delay

What would be the result of a loss of connectivity to the default gateway?

 ___________________________________________________________________________________ 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 47/176

CCNA ExplorationNetwork Fundamentals: Addressing the Network - IPV4 Lab 6.7.1: Ping and Traceroute

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 5 of 8 

Step 3: Verify TCP/IP Network layer connectivity to a remote network.

C:\> ping 192.168.254.254 

Pinging 192.168.254.254 with 32 bytes of data:

Reply from 192.168.254.254: bytes=32 time<1ms TTL=62

Reply from 192.168.254.254: bytes=32 time<1ms TTL=62

Reply from 192.168.254.254: bytes=32 time<1ms TTL=62

Reply from 192.168.254.254: bytes=32 time<1ms TTL=62

Ping statistics for 192.168.254.254:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\>

Figure 4. Output of the ping Command to Eagle Server

1. Use the ping command to verify TCP/IP Network layer connectivity to a device on a remote

network. In this case, Eagle Server will be used. Results should be similar to those shown in

Figure 4.Linux default TTL value is set to 64. Two routers were crossed to reach Eagle Server, thereforethe returned TTL value is 62.

2. Fill in the results of the ping command on your computer:

Field Value

Size of packet

Number of packets sentNumber of replies

Number of lost packetsMinimum delay

Maximum delay

Average delay

C:\ > ping 192.168.254.254 

Pinging 192.168.254.254 with 32 bytes of data:

Request timed out.

Request timed out.

Request timed out.

Request timed out.

Ping statistics for 192.168.254.254:

Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

C:\> 

Figure 5. Output of a ping Command with Lost Packets

The ping command is extremely useful when troubleshooting network connectivity. However, there arelimitations. In Figure 5, the output shows that a user cannot reach Eagle Server. Is the problem withEagle Server or a device in the path? The tracert command, examined next, can display network

latency and path information.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 48/176

CCNA ExplorationNetwork Fundamentals: Addressing the Network - IPV4 Lab 6.7.1: Ping and Traceroute

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 6 of 8 

Task 2: Use the tracert Command to Verify TCP/IP Connectivity.

The tracert command is useful for learning about network latency and path information. Instead of

using the ping command to test connectivity of each device to the destination, one by one, the tracert 

command can be used.

On Linux and Cisco IOS devices, the equivalent command is traceroute.

Step 1: Verify TCP/IP Network layer connectivity with the tracert command.

1. Open a Windows terminal and issue the following command:

C:\> tracert 192.168.254.254 

C:\> tracert 192.168.254.254 

Tracing route to 192.168.254.254 over a maximum of 30 hops

1 <1 ms <1 ms <1 ms 172.16.255.254

2 <1 ms <1 ms <1 ms 10.10.10.6

3 <1 ms <1 ms <1 ms 192.168.254.254

Trace complete.C:\>

Figure 6. Output of the tracrt command to Eagle Server.

Output from the tracert command should be similar to that shown in Figure 6.

2. Record your result in the following table:

Field Value

Maximum number of hopsFirst router IP address

Second router IP addressDestination reached?

Step 2: Observe tracert output to a host that lost network connectivity.

If there is a loss of connectivity to an end device such as Eagle Server, the tracert command can give

valuable clues as to the source of the problem. The ping command would show the failure but not any

other kind of information about the devices in the path. Referring to the Eagle 1 lab Topology Diagram,both R2-Central and R1-ISP are used for connectivity between the pod host computers and Eagle Server.

C:\> tracert -w 5 -h 4 192.168.254.254 

Tracing route to 192.168.254.254 over a maximum of 4 hops

1 <1 ms <1 ms <1 ms 172.16.255.254

2 <1 ms <1 ms <1 ms 10.10.10.6

3 * * * Request timed out.

4 * * * Request timed out.

Trace complete.

C:\>

Figure 7. Output of the tracert Command

Refer to Figure 7. Options are used with the tracert command to reduce wait time (in milliseconds), -w

5, and maximum hop count, -h 4. If Eagle Server was disconnected from the network, the default

gateway would respond correctly, as well as R1-ISP. The problem must be on the 192.168.254.0/24 

network. In this example, Eagle Server has been turned off.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 49/176

CCNA ExplorationNetwork Fundamentals: Addressing the Network - IPV4 Lab 6.7.1: Ping and Traceroute

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 7 of 8 

What would the tracert output be if R1-ISP failed?

 ___________________________________________________________________________________ 

What would the tracert output be if R2-Central failed?

 ___________________________________________________________________________________ 

Task 3: Challenge

The default values for the ping command normally work for most troubleshooting scenarios. There are

times, however, when fine tuning ping options may be useful. Issuing the ping command without any

destination address will display the options shown in Figure 8:

C:\> ping

Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]

[-r count] [-s count] [[-j host-list] | [-k host-list]]

[-w timeout] target_name

Options:

-t Ping the specified host until stopped.

To see statistics and continue - type Control-

Break;

To stop - type Control-C.

-a Resolve addresses to hostnames.

-n count Number of echo requests to send.

-l size Send buffer size.

-f Set Don't Fragment flag in packet.

-i TTL Time To Live.

-v TOS Type Of Service.

-r count Record route for count hops.

-s count Timestamp for count hops.

-j host-list Loose source route along host-list.-k host-list Strict source route along host-list.

-w timeout Timeout in milliseconds to wait for each reply.

C:\> 

Figure 8. Output of a ping Command with no Destination Address

The most useful options are highlighted in yellow. Some options do not work together, such as the –t and

–n options. Other options can be used together. Experiment with the following options:

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 50/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 51/176

 

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 1 of 4

Activity 6.7.3: IPv4 Address Subnetting Part 1 

Learning Objectives 

Upon completion of this activity, you will be able to determine network information for a given IP addressand network mask.

Background

This activity is designed to teach how to compute network IP address information from a given IPaddress.

Scenario

When given an IP address and network mask, you will be able to determine other information about theIP address such as:

• Network address• Network broadcast address

• Total number of host bits

• Number of hosts

Task 1: For a given IP address, Determine Network Information. 

Given:

Host IP Address 172.25.114.250

Network Mask 255.255.0.0 (/16)

Find:

Network Address

Network Broadcast Address

Total Number of Host Bits

Number of Hosts

Step 1: Translate Host IP address and network mask into binary notation.

Convert the host IP address and network mask to binary:

172  25  114  250

IP Address 10101100  11001000 01110010 11111010

Network Mask 11111111 11111111 00000000 00000000

255  255  0  0

Step 2: Determine the network address.

1. Draw a line under the mask.

2. Perform a bit-wise AND operation on the IP address and the subnet mask.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 52/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 53/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 54/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 55/176

 

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 1 of 9

Lab 1.5.2: Basic Router Configuration

Topology Diagram

Addressing Table

Device Interface IP Address Subnet Mask Def. Gateway

Fa0/0 192.168.1.1 255.255.255.0 N/A

R1 S0/0/0 192.168.2.1 255.255.255.0 N/A

Fa0/0 192.168.3.1 255.255.255.0 N/AR2

S0/0/0 192.168.2.2 255.255.255.0 N/A

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

Upon completion of this lab, you will be able to:

• Cable a network according to the Topology Diagram.

• Erase the startup configuration and reload a router to the default state.

• Perform basic configuration tasks on a router.

• Configure and activate Ethernet interfaces.

• Test and verify configurations.

• Reflect upon and document the network implementation.

Scenario

In this lab activity, you will create a network that is similar to the one shown in the Topology Diagram.Begin by cabling the network as shown in the Topology Diagram. You will then perform the initial routerconfigurations required for connectivity. Use the IP addresses that are provided in the Topology Diagramto apply an addressing scheme to the network devices. When the network configuration is complete,examine the routing tables to verify that the network is operating properly. This lab is a shorter version ofLab 1.5.1: Cabling a Network and Basic Router Configuration and assumes you are proficient in basiccabling and configuration file management.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 56/176

CCNA ExplorationRouting Protocols and Concepts:Introduction to Routing and Packet Forwarding Lab 1.5.2: Basic Router Configuration

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 2 of 9

Task 1: Cable the Network.

Cable a network that is similar to the one in the Topology Diagram. The output used in this lab is from1841 routers. You can use any current router in your lab as long as it has the required interfaces as

shown in the topology. Be sure to use the appropriate type of Ethernet cable to connect from host toswitch, switch to router, and host to router. Refer to Lab 1.5.1: Cabling a Network and Basic RouterConfiguration if you have any trouble connecting the devices. Be sure to connect the serial DCE cable torouter R1 and the serial DTE cable to router R2.

Answer the following questions:

What type of cable is used to connect the Ethernet interface on a host PC to the Ethernet interface on aswitch? ________________________ 

What type of cable is used to connect the Ethernet interface on a switch to the Ethernet interface on arouter? __________________________ 

What type of cable is used to connect the Ethernet interface on a router to the Ethernet interface on ahost PC?  _________________________ 

Task 2: Erase and Reload the Routers.

Step 1: Establish a terminal session to router R1.

Refer to Lab 1.5.1, “Cabling a Network and Basic Router Configuration,” for review of terminal emulationand connecting to a router.

Step 2: Enter privileged EXEC mode.

Router>enable 

Router#

Step 3: Clear the configuration.

To clear the configuration, issue the erase startup-config command. Press Enter when prompted

to [confirm] that you really do want to erase the configuration currently stored in NVRAM.

Router#erase startup-config 

Erasing the nvram filesystem will remove all files! Continue? [confirm]

[OK]

Erase of nvram: complete

Router#

Step 4: Reload configuration.

When the prompt returns, issue the reload command. Answer no if asked to save changes.

What would happen if you answered yes to the question, “System configuration has beenmodified. Save?”

 _______________________________________________________________________________ 

 _______________________________________________________________________________ 

The result should look something like this:

Router#reload 

System configuration has been modified. Save? [yes/no]: noProceed with reload? [confirm]

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 57/176

CCNA ExplorationRouting Protocols and Concepts:Introduction to Routing and Packet Forwarding Lab 1.5.2: Basic Router Configuration

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 9

Press Enter when prompted to [confirm] that you really do want to reload the router. After the router

finishes the boot process, choose not to use the AutoInstall facility, as shown:

Would you like to enter the initial configuration dialog? [yes/no]: no Would you like to terminate autoinstall? [yes]: [Press Return] 

Press Enter to accept default.

Press RETURN to get started!

Step 5: Repeat Steps 1 through 4 on router R2 to remove any startup configuration file that maybe present.

Task 3: Perform Basic Configuration of Router R1.

Step 1: Establish a HyperTerminal session to router R1.

Step 2: Enter privileged EXEC mode.

Router>enable 

Router#

Step 3: Enter global configuration mode.

Router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#

Step 4: Configure the router name as R1.

Enter the command hostname R1 at the prompt.

Router(config)#hostname R1 

R1(config)#

Step 5: Disable DNS lookup.

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

R1(config)#no ip domain-lookup 

R1(config)#

Why would you want to disable DNS lookup in a lab environment?

 _______________________________________________________________________________ 

 _______________________________________________________________________________ 

What would happen if you disabled DNS lookup in a production environment?

 _______________________________________________________________________________ 

 _______________________________________________________________________________ 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 58/176

CCNA ExplorationRouting Protocols and Concepts:Introduction to Routing and Packet Forwarding Lab 1.5.2: Basic Router Configuration

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 4 of 9

Step 6: Configure the EXEC mode password.

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

the  password .

R1(config)#enable secret class 

R1(config)#

Why is it not necessary to use the enable password  password command?

 _______________________________________________________________________________ 

 _______________________________________________________________________________ 

Step 7: Configure a message-of-the-day banner.

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

R1(config)# banner motd &

Enter TEXT message. End with the character '&'.

********************************

!!!AUTHORIZED ACCESS ONLY!!!********************************

&

R1(config)#

When does this banner display?

 _______________________________________________________________________________ 

Why should every router have a message-of-the-day banner?

 _______________________________________________________________________________ 

Step 8: Configure the console password on the router.

Use cisco as the password. When you are finished, exit from line configuration mode.

R1(config)#line console 0 

R1(config-line)# password cisco R1(config-line)#login R1(config-line)#exit 

R1(config)#

Step 9: Configure the password for the virtual terminal lines.

Use cisco as the password. When you are finished, exit from line configuration mode.

R1(config)#line vty 0 4 

R1(config-line)# password cisco R1(config-line)#login 

R1(config-line)#exit 

R1(config)#

Step 10: Configure the FastEthernet0/0 interface.

Configure the FastEthernet0/0 interface with the IP address 192.168.1.1/24.

R1(config)#interface fastethernet 0/0 R1(config-if)#ip address 192.168.1.1 255.255.255.0 R1(config-if)#no shutdown 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 59/176

CCNA ExplorationRouting Protocols and Concepts:Introduction to Routing and Packet Forwarding Lab 1.5.2: Basic Router Configuration

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 5 of 9

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed

state to up

R1(config-if)#

Step 11: Configure the Serial0/0/0 interface.

Configure the Serial0/0/0 interface with the IP address 192.168.2.1/24. Set the clock rate to 64000.

Note: The purpose of the clock rate command is explained in Chapter 2: Static Routes.

R1(config-if)#interface serial 0/0/0 

R1(config-if)#ip address 192.168.2.1 255.255.255.0R1(config-if)#clock rate 64000R1(config-if)#no shutdown 

R1(config-if)#

Note: The interface will be activated until the serial interface on R2 is configured and activated

Step 12: Return to privileged EXEC mode.

Use the end command to return to privileged EXEC mode.

R1(config-if)#end 

R1#

Step 13: Save the R1 configuration.

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

R1#copy running-config startup-config 

Building configuration...

[OK]

R1#

What is a shorter version of this command? ________________________ 

Task 4: Perform Basic Configuration of Router R2.

Step 1: For R2, repeat Steps 1 through 9 from Task 3.

Step 2: Configure the Serial 0/0/0 interface.

Configure the Serial 0/0/0 interface with the IP address 192.168.2.2/24.

R2(config)#interface serial 0/0/0 

R2(config-if)#ip address 192.168.2.2 255.255.255.0 R2(config-if)#no shutdown 

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state

to up

R2(config-if)#

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 60/176

CCNA ExplorationRouting Protocols and Concepts:Introduction to Routing and Packet Forwarding Lab 1.5.2: Basic Router Configuration

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 6 of 9

Step 3: Configure the FastEthernet0/0 interface.

Configure the FastEthernet0/0 interface with the IP address 192.168.3.1/24.

R2(config-if)#interface fastethernet 0/0 

R2(config-if)#ip address 192.168.3.1 255.255.255.0R2(config-if)#no shutdown 

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed

state to up

R2(config-if)#

Step 4: Return to privileged EXEC mode.

Use the end command to return to privileged EXEC mode.

R2(config-if)#end 

R2#

Step 5: Save the R2 configuration.

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

R2#copy running-config startup-config 

Building configuration...

[OK]

R2#

Task 5: Configure IP Addressing on the Host PCs.

Step 1: Configure the host PC1.

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

Step 2: Configure the host PC2.

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

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 61/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 62/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 63/176

CCNA ExplorationRouting Protocols and Concepts:Introduction to Routing and Packet Forwarding Lab 1.5.2: Basic Router Configuration

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 9 of 9

If your answer to all three steps is yes, then you should be able to successfully ping from R2 to R1 andfrom R2 to R3.

Task 7: Reflection

Step 1: Attempt to ping from the host connected to R1 to the host connected to R2.

This ping should be unsuccessful.

Step 2: Attempt to ping from the host connected to R1 to router R2.

This ping should be unsuccessful.

Step 3: Attempt to ping from the host connected to R2 to router R1.

This ping should be unsuccessful.

What is missing from the network that is preventing communication between these devices?

 ________________________________________________________________________________ 

 ________________________________________________________________________________ 

Task 8: Documentation

On each router, capture the following command output to a text (.txt) file and save for future reference.

•  show running-config

•  show ip route

•  show ip interface brief

If you need to review the procedures for capturing command output, refer to Lab 1.5.1, “Cabling aNetwork and Basic Router Configuration.”

Task 9: Clean Up

Erase the configurations and reload the routers. Disconnect and store the cabling. For PC hosts that arenormally connected to other networks (such as the school LAN or to the Internet), reconnect theappropriate cabling and restore the TCP/IP settings.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 64/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 65/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 66/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 24

Note: If you use 1700, 2500, or 2600 routers, the router outputs and interface descriptions willappear different.

Step 2: Clear any existing configurations on the routers.

Task 2: Perform Basic Router Configurations.Perform basic configuration of the R1, R2, and R3 routers according to the following guidelines:

1. Configure the router hostname.

2. Disable DNS lookup.

3. Configure an EXEC mode password.

4. Configure a message-of-the-day banner.

5. Configure a password for console connections.

6. Configure a password for VTY connections.

Task 3: Configure and Activate Serial and Ethernet Addresses.

Step 1: Configure interfaces on R1, R2, and R3.

Configure the interfaces on the R1, R2, and R3 routers with the IP addresses from the tableunder the Topology Diagram.

Step 2: Verify IP addressing and interfaces.

Use the show ip interface brief command to verify that the IP addressing is correct and

that the interfaces are active.

When you have finished, be sure to save the running configuration to the NVRAM of the router.

Step 3: Configure Ethernet interfaces of PC1, PC2, and PC3.Configure the Ethernet interfaces of PC1, PC2, and PC3 with the IP addresses and defaultgateways from the table under the Topology Diagram.

Step 4: Test the PC configuration by pinging the default gateway from the PC.

Task 4: Configure OSPF on the R1 Router

Step 1: Use the router ospf command in global configuration mode to enable OSPF on the

R1 router. Enter a process ID of 1 for the  process-ID parameter.

R1(config)#router ospf 1 

R1(config-router)#

Step 2: Configure the network statement for the LAN network.

Once you are in the Router OSPF configuration sub-mode, configure the LAN network172.16.1.16/28 to be included in the OSPF updates that are sent out of R1.

The OSPF network command uses a combination of network-address and wildcard-mask 

similar to that which can be used by EIGRP. Unlike EIGRP, the wildcard mask in OSPF isrequired.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 67/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 4 of 24

Use an area ID of 0 for the OSPF area-id  parameter. 0 will be used for the OSPF area ID in allof the network statements in this topology.

R1(config-router)#network 172.16.1.16 0.0.0.15 area 0 

R1(config-router)#

Step 3: Configure the router to advertise the 192.168.10.0/30 network attached to theSerial0/0/0 interface.

R1(config-router)# network 192.168.10.0 0.0.0.3 area 0R1(config-router)#

Step 4: Configure the router to advertise the 192.168.10.4/30 network attached to theSerial0/0/1 interface.

R1(config-router)# network 192.168.10.4 0.0.0.3 area 0R1(config-router)#

Step 5: When you are finished with the OSPF configuration for R1, return to privileged

EXEC mode.

R1(config-router)#end

%SYS-5-CONFIG_I: Configured from console by console

R1#

Task 5: Configure OSPF on the R2 and R3 Routers

Step 1: Enable OSPF routing on the R2 router using the router ospf command.Use a process ID of 1.

R2(config)#router ospf 1 

R2(config-router)#

Step 2: Configure the router to advertise the LAN network 10.10.10.0/24 in the OSPFupdates.

R2(config-router)#network 10.10.10.0 0.0.0.255 area 0 

R2(config-router)#

Step 3: Configure the router to advertise the 192.168.10.0/30 network attached to theSerial0/0/0 interface.

R2(config-router)#network 192.168.10.0 0.0.0.3 area 0 

R2(config-router)#

00:07:27: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.10.5 on Serial0/0/0

from EXCHANGE to FULL, Exchange Done

Notice that when the network for the serial link from R1 to R2 is added to the OSPF configuration,the router sends a notification message to the console stating that a neighbor relationship withanother OSPF router has been established.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 68/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 5 of 24

Step 4: Configure the router to advertise the 192.168.10.8/30 network attached to theSerial0/0/1 interface. When you are finished, return to privileged EXEC mode.

R2(config-router)#network 192.168.10.8 0.0.0.3 area 0 

R2(config-router)#end 

%SYS-5-CONFIG_I: Configured from console by console

R2#

Step 5: Configure OSPF on the R3 router using the router ospf and network 

commands.Use a process ID of 1. Configure the router to advertise the three directly connected networks.When you are finished, return to privileged EXEC mode.

R3(config)#router ospf 1 

R3(config-router)#network 172.16.1.32 0.0.0.7 area 0

R3(config-router)#network 192.168.10.4 0.0.0.3 area 0

R3(config-router)#

00:17:46: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.10.5 on Serial0/0/0

from LOADING to FULL, Loading DoneR3(config-router)#network 192.168.10.8 0.0.0.3 area 0 

R3(config-router)#

00:18:01: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.10.9 on Serial0/0/1

from EXCHANGE to FULL, Exchange Done

R3(config-router)#end 

%SYS-5-CONFIG_I: Configured from console by console

R3#

Notice that when the networks for the serial links from R3 to R1 and R3 to R2 are added to theOSPF configuration, the router sends a notification message to the console stating that aneighbor relationship with another OSPF router has been established.

Task 6: Configure OSPF Router IDs

The OSPF router ID is used to uniquely identify the router in the OSPF routing domain. A routerID is an IP address. Cisco routers derive the Router ID in one of three ways and with the followingprecedence:

1. IP address configured with the OSPF router-id command.

2. Highest IP address of any of the router’s loopback addresses.3. Highest active IP address on any of the router’s physical interfaces.

Step 1: Examine the current router IDs in the topology.

Since no router IDs or loopback interfaces have been configured on the three routers, the router

ID for each router is determined by the highest IP address of any active interface.

What is the router ID for R1? ____________________ What is the router ID for R2? ____________________ What is the router ID for R3? ____________________ 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 69/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 70/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 71/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 72/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 9 of 24

R1#show ip protocols 

Routing Protocol is "ospf 1"

Outgoing update filter list for all interfaces is not set

Incoming update filter list for all interfaces is not set

Router ID 10.1.1.1Number of areas in this router is 1. 1 normal 0 stub 0 nssa

Maximum path: 4

Routing for Networks:

172.16.1.16 0.0.0.15 area 0

192.168.10.0 0.0.0.3 area 0

192.168.10.4 0.0.0.3 area 0

Routing Information Sources:

Gateway Distance Last Update

10.2.2.2 110 00:11:43

10.3.3.3 110 00:11:43

Distance: (default is 110)

R1#

Notice that the output specifies the process ID used by OSPF. Remember, the process ID mustbe the same on all routers for OSPF to establish neighbor adjacencies and share routinginformation.

Task8: Examine OSPF Routes in the Routing Tables

View the routing table on the R1 router. OSPF routes are denoted in the routing table with an “O”.

R1#show ip route 

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B -

BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS

inter area

* - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C 10.1.1.1/32 is directly connected, Loopback0

O 10.10.10.0/24 [110/65] via 192.168.10.2, 00:01:02, Serial0/0/0

172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks

C 172.16.1.16/28 is directly connected, FastEthernet0/0O 172.16.1.32/29 [110/65] via 192.168.10.6, 00:01:12, Serial0/0/1

192.168.10.0/30 is subnetted, 3 subnets

C 192.168.10.0 is directly connected, Serial0/0/0

C 192.168.10.4 is directly connected, Serial0/0/1

O 192.168.10.8 [110/128] via 192.168.10.6, 00:01:12, Serial0/0/1

[110/128] via 192.168.10.2, 00:01:02, Serial0/0/0

R1#

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 73/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 10 of 24

Notice that unlike RIPv2 and EIGRP, OSPF does not automatically summarize at major networkboundaries.

Task 9: Configure OSPF Cost

Step 1: Use the show ip route command on the R1 router to view the OSPF cost toreach the 10.10.10.0/24 network.

R1#show ip route 

<output omitted>

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C 10.1.1.1/32 is directly connected, Loopback0

O 10.10.10.0/24 [110/65] via 192.168.10.2, 00:16:56, Serial0/0/0

172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks

C 172.16.1.16/28 is directly connected, FastEthernet0/0

O 172.16.1.32/29 [110/65] via 192.168.10.6, 00:17:06, Serial0/0/1

192.168.10.0/30 is subnetted, 3 subnets

C 192.168.10.0 is directly connected, Serial0/0/0C 192.168.10.4 is directly connected, Serial0/0/1

O 192.168.10.8 [110/128] via 192.168.10.6, 00:17:06, Serial0/0/1

[110/128] via 192.168.10.2, 00:16:56, Serial0/0/0

R1#

Step 2: Use the show interfaces serial0/0/0 command on the R1 router to view the

bandwidth of the Serial 0/0/0 interface.

R1#show interfaces serial0/0/0 

Serial0/0/0 is up, line protocol is up (connected)

Hardware is HD64570

Internet address is 192.168.10.1/30MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load

1/255

Encapsulation HDLC, loopback not set, keepalive set (10 sec)

Last input never, output never, output hang never

Last clearing of "show interface" counters never

Input queue: 0/75/0 (size/max/drops); Total output drops: 0

<output omitted> 

On most serial links, the bandwidth metric will default to 1544 Kbits. If this is not the actualbandwidth of the serial link, the bandwidth will need to be changed so that the OSPF cost can becalculated correctly.

Step 3: Use the bandwidth command to change the bandwidth of the serial interfaces ofthe R1 and R2 routers to the actual bandwidth, 64 kbps.

R1 router:R1(config)#interface serial0/0/0 

R1(config-if)# bandwidth 64R1(config-if)#interface serial0/0/1 R1(config-if)# bandwidth 64 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 74/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 11 of 24

R2 router:R2(config)#interface serial0/0/0R2(config-if)# bandwidth 64R2(config)#interface serial0/0/1R2(config-if)# bandwidth 64 

Step 4: Use the show ip ospf interface command on the R1 router to verify the cost

of the serial links. 

The cost of each of the Serial links is now 1562, the result of the calculation: 10 8 /64,000 bps.

R1#show ip ospf interface 

<output omitted>

Serial0/0/0 is up, line protocol is up

Internet address is 192.168.10.1/30, Area 0

Process ID 1, Router ID 10.1.1.1, Network Type POINT-TO-POINT, Cost:

1562

Transmit Delay is 1 sec, State POINT-TO-POINT,Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

Hello due in 00:00:05

Index 2/2, flood queue length 0

Next 0x0(0)/0x0(0)

Last flood scan length is 1, maximum is 1

Last flood scan time is 0 msec, maximum is 0 msec

Neighbor Count is 1 , Adjacent neighbor count is 1

Adjacent with neighbor 10.2.2.2

Suppress hello for 0 neighbor(s)

Serial0/0/1 is up, line protocol is up

Internet address is 192.168.10.5/30, Area 0

Process ID 1, Router ID 10.1.1.1, Network Type POINT-TO-POINT, Cost:

1562Transmit Delay is 1 sec, State POINT-TO-POINT,

<output omitted>

Step 5: Use the ip ospf cost command to configure the OSPF cost on the R3 router.

An alternative method to using the bandwidth command is to use the ip ospf cost 

command, which allows you to directly configure the cost. Use the ip ospf cost command to

change the bandwidth of the serial interfaces of the R3 router to 1562.

R3(config)#interface serial0/0/0 R3(config-if)#ip ospf cost 1562R3(config-if)#interface serial0/0/1 

R3(config-if)#ip ospf cost 1562 

Step 6: Use the show ip ospf interface command on the R3 router to verify that the

cost of the link the cost of each of the Serial links is now 1562.

R3#show ip ospf interface 

<output omitted>

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 75/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 12 of 24

Serial0/0/1 is up, line protocol is up

Internet address is 192.168.10.10/30, Area 0

Process ID 1, Router ID 10.3.3.3, Network Type POINT-TO-POINT, Cost:

1562

Transmit Delay is 1 sec, State POINT-TO-POINT,

Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

Hello due in 00:00:06Index 2/2, flood queue length 0

Next 0x0(0)/0x0(0)

Last flood scan length is 1, maximum is 1

Last flood scan time is 0 msec, maximum is 0 msec

Neighbor Count is 1 , Adjacent neighbor count is 1

Adjacent with neighbor 10.2.2.2

Suppress hello for 0 neighbor(s)

Serial0/0/0 is up, line protocol is up

Internet address is 192.168.10.6/30, Area 0

Process ID 1, Router ID 10.3.3.3, Network Type POINT-TO-POINT, Cost:

1562

Transmit Delay is 1 sec, State POINT-TO-POINT,

<output omitted>

Task 10: Redistribute an OSPF Default Route

Step 1: Configure a loopback address on the R1 router to simulate a link to an ISP.  

R1(config)#interface loopback1 

%LINK-5-CHANGED: Interface Loopback1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed

state to up

R1(config-if)#ip address 172.30.1.1 255.255.255.252 

Step 2: Configure a static default route on the R1 router.  

Use the loopback address that ha been configured to simulate a link to an ISP as the exitinterface.

R1(config)#ip route 0.0.0.0 0.0.0.0 loopback1 

R1(config)#

Step 3: Use the default-information originate command to include the static route

in the OSPF updates that are sent from the R1 router.

R1(config)#router ospf 1 R1(config-router)#default-information originate 

R1(config-router)#

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 76/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 13 of 24

Step 4: View the routing table on the R2 router to verify that the static default route isbeing redistributed via OSPF.

R2#show ip route

<output omitted>

Gateway of last resort is 192.168.10.1 to network 0.0.0.0

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C 10.2.2.2/32 is directly connected, Loopback0

C 10.10.10.0/24 is directly connected, FastEthernet0/0

172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks

O 172.16.1.16/28 [110/1563] via 192.168.10.1, 00:29:28,

Serial0/0/0

O 172.16.1.32/29 [110/1563] via 192.168.10.10, 00:29:28,

Serial0/0/1

192.168.10.0/30 is subnetted, 3 subnets

C 192.168.10.0 is directly connected, Serial0/0/0

O 192.168.10.4 [110/3124] via 192.168.10.10, 00:25:56,Serial0/0/1

[110/3124] via 192.168.10.1, 00:25:56, Serial0/0/0

C 192.168.10.8 is directly connected, Serial0/0/1

O*E2 0.0.0.0/0 [110/1] via 192.168.10.1, 00:01:11, Serial0/0/0

R2#

Task 11: Configure Additional OSPF Features

Step 1: Use the auto-cost reference-bandwidth command to adjust the reference

bandwidth value. Increase the reference bandwidth to 10000 to simulate 10GigE speeds. Configure this commandon all routers in the OSPF routing domain.

R1(config-router)#auto-cost reference-bandwidth 10000 

% OSPF: Reference bandwidth is changed.

Please ensure reference bandwidth is consistent across all

routers.

R2(config-router)#auto-cost reference-bandwidth 10000 

% OSPF: Reference bandwidth is changed.

Please ensure reference bandwidth is consistent across all

routers.

R3(config-router)#auto-cost reference-bandwidth 10000 

% OSPF: Reference bandwidth is changed.

Please ensure reference bandwidth is consistent across allrouters.

Step 2: Examine the routing table on the R1 router to verify the change in the OSPF costmetric. Notice that the values are much larger cost values for OSPF routes.

R1#show ip route

<output omitted>

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 77/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 14 of 24

Gateway of last resort is 0.0.0.0 to network 0.0.0.0

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C 10.1.1.1/32 is directly connected, Loopback0

O 10.10.10.0/24 [110/65635] via 192.168.10.2, 00:01:01,

Serial0/0/0172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks

C 172.16.1.16/28 is directly connected, FastEthernet0/0

O 172.16.1.32/29 [110/65635] via 192.168.10.6, 00:00:51,

Serial0/0/1

172.30.0.0/30 is subnetted, 1 subnets

C 172.30.1.0 is directly connected, Loopback1

192.168.10.0/30 is subnetted, 3 subnets

C 192.168.10.0 is directly connected, Serial0/0/0

C 192.168.10.4 is directly connected, Serial0/0/1

O 192.168.10.8 [110/67097] via 192.168.10.2, 00:01:01,

Serial0/0/0

S* 0.0.0.0/0 is directly connected, Loopback1

R1#

Step 3: Use the show ip ospf neighbor command on R1 to view the Dead Time counter. 

The Dead Time counter is counting down from the default interval of 40 seconds.

R1#show ip ospf neighbor 

Neighbor ID Pri State Dead Time Address

Interface

10.2.2.2 0 FULL/- 00:00:34 192.168.10.2

Serial0/0/0

10.3.3.3 0 FULL/- 00:00:34 192.168.10.6

Serial0/0/1

Step 4: Configure the OSPF Hello and Dead intervals. The OSPF Hello and Dead intervals can be modified manually using the ip ospf hello-

interval and ip ospf dead-interval interface commands. Use these commands to

change the hello interval to 5 seconds and the dead interval to 20 seconds on the Serial 0/0/0interface of the R1 router.

R1(config)#interface serial0/0/0R1(config-if)#ip ospf hello-interval 5R1(config-if)#ip ospf dead-interval 20

R1(config-if)#

01:09:04: %OSPF-5-ADJCHG: Process 1, Nbr 10.2.2.2 on Serial0/0/0 from

FULL to DOWN, Neighbor Down: Dead timer expired

01:09:04: %OSPF-5-ADJCHG: Process 1, Nbr 10.2.2.2 on Serial0/0/0 from

FULL to Down: Interface down or detached

After 20 seconds the Dead Timer on R1 expires. R1 and R2 loose adjacency because the DeadTimer and Hello Timers must be configured identically on each side of the serial link between R1and R2.

Step 5: Modify the Dead Timer and Hello Timer intervals.Modify the Dead Timer and Hello Timer intervals on the Serial 0/0/0 interface in the R2 router tomatch the intervals configured on the Serial 0/0/0 interface of the R1 router.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 78/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 15 of 24

R2(config)#interface serial0/0/0R2(config-if)#ip ospf hello-interval 5R2(config-if)#ip ospf dead-interval 20

R2(config-if)#

01:12:10: %OSPF-5-ADJCHG: Process 1, Nbr 10.1.1.1 on Serial0/0/0 from

EXCHANGE to FULL, Exchange Done

Notice that the IOS displays a message when adjacency has been established with a state ofFull.

Step 5: Use the show ip ospf interface serial0/0/0 command to verify that the

Hello Timer and Dead Timer intervals have been modified.

R2#show ip ospf interface serial0/0/0Serial0/0/0 is up, line protocol is up

Internet address is 192.168.10.2/30, Area 0

Process ID 1, Router ID 10.2.2.2, Network Type POINT-TO-POINT, Cost:

1562

Transmit Delay is 1 sec, State POINT-TO-POINT,

Timer intervals configured, Hello 5, Dead 20, Wait 20, Retransmit 5Hello due in 00:00:00

Index 3/3, flood queue length 0

Next 0x0(0)/0x0(0)

Last flood scan length is 1, maximum is 1

Last flood scan time is 0 msec, maximum is 0 msec

Neighbor Count is 1 , Adjacent neighbor count is 1

Adjacent with neighbor 10.1.1.1

Suppress hello for 0 neighbor(s)

R2#

Step 6: Use the show ip ospf neighbor command on R1 to verify that the neighbor

adjacency with R2 has been restored. 

Notice that the Dead Time for Serial 0/0/0 is now much lower since it is counting down from 20seconds instead of the default 40 seconds. Serial 0/0/1 is still operating with default timers.

R1#show ip ospf neighbor 

Neighbor ID Pri State Dead Time Address

Interface

10.2.2.2 0 FULL/- 00:00:19 192.168.10.2

Serial0/0/0

10.3.3.3 0 FULL/- 00:00:34 192.168.10.6

Serial0/0/1

R1#

Task 12: Document the Router Configurations.

On each router, capture the following command output to a text file and save for future reference:

• Running configuration

• Routing table

• Interface summarization

• Output from show ip protocols 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 79/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 80/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 81/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 18 of 24

Task 2: Perform Basic Router Configurations.

Perform basic configuration of the R1, R2, and R3 routers according to the following guidelines:

1. Configure the router hostname.

2. Disable DNS lookup.

3. Configure an EXEC mode password.

4. Configure a message-of-the-day banner.

5. Configure a password for console connections.

6. Configure a password for VTY connections 

Task 3: Configure and Activate Ethernet and Loopback Addresses

Step 1: Configure interfaces on R1, R2, and R3.

Configure the Ethernet and Loopback interfaces on the R1, R2, and R3 routers with the IP

addresses from the table under the Topology Diagram. Use the show ip interface brief command to verify that the IP addressing is correct. When you have finished, be sure to save therunning configuration to the NVRAM of the router.

Step 2: Verify IP addressing and interfaces.

Use the show ip interface brief command to verify that the IP addressing is correct and that theinterfaces are active.

When you have finished, be sure to save the running configuration to the NVRAM of the router.

Task 4: Configure OSPF on the DR Router

The DR and BDR election process takes place as soon as the first router has its interface

enabled on the multiaccess network. This can happen as the routers are powered-on or when theOSPF network command for that interface is configured. If a new router enters the network after

the DR and BDR have already been elected, it will not become the DR or BDR even if it has ahigher OSPF interface priority or router ID than the current DR or BDR. Configure the OSPFprocess on the router with the highest router ID first to ensure that this router becomes the DR.

Step 1: Use the router ospf command in global configuration mode to enable OSPF on

the R3 router. 

Enter a process ID of 1 for the  process-ID parameter. Configure the router to advertise the

192.168.1.0/24 network. Use an area ID of 0 for the OSPF area-id parameter in the network 

statement.

R3(config)#router ospf 1 

R3(config-router)#network 192.168.1.0 0.0.0.255 area 0R3(config-router)#end 

R3#

Step 2: Use the show ip ospf interface command to verify that the OSPF has been

configured correctly and that R3 is the DR.

R3#show ip ospf interface 

FastEthernet0/0 is up, line protocol is up

Internet address is 192.168.1.3/24, Area 0

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 82/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 19 of 24

Process ID 1, Router ID 192.168.31.33, Network Type BROADCAST, Cost:

1

Transmit Delay is 1 sec, State DR, Priority 1

Designated Router (ID) 192.168.31.33, Interface address 192.168.1.3

No backup designated router on this network

Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

Hello due in 00:00:07Index 1/1, flood queue length 0

Next 0x0(0)/0x0(0)

Last flood scan length is 1, maximum is 1

Last flood scan time is 0 msec, maximum is 0 msec

Neighbor Count is 0, Adjacent neighbor count is 0

Suppress hello for 0 neighbor(s)

R3#

Task 5: Configure OSPF on the BDR Router

Configure the OSPF process on the router with the second highest router ID next to ensure thatthis router becomes the BDR.

Step 1: Use the router ospf command in global configuration mode to enable OSPF on

the R2 router. 

Enter a process ID of 1 for the  process-ID parameter. Configure the router to advertise the192.168.1.0/24 network. Use an area ID of 0 for the OSPF area-id parameter in the network 

statement.

R2(config)#router ospf 1 

R2(config-router)#network 192.168.1.0 0.0.0.255 area 0 

R2(config-router)#end 

%SYS-5-CONFIG_I: Configured from console by console

R2#

00:08:51: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.33 onFastEthernet0/0 from LOADING to FULL, Loading Done

Notice that an adjacency is formed with the R3 router. It may take up to 40 seconds for the R3router to send a hello packet. When this packet is received, the neighbor relationship is formed.

Step 2: Use the show ip ospf interface command to verify that the OSPF has been

configured correctly and that R2 is the BDR.

R2#show ip ospf interface 

FastEthernet0/0 is up, line protocol is up

Internet address is 192.168.1.2/24, Area 0

Process ID 1, Router ID 192.168.31.22, Network Type BROADCAST, Cost:

1

Transmit Delay is 1 sec, State BDR, Priority 1Designated Router (ID) 192.168.31.33, Interface address 192.168.1.3

Backup Designated Router (ID) 192.168.31.22, Interface address

192.168.1.2

Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

Hello due in 00:00:03

Index 1/1, flood queue length 0

Next 0x0(0)/0x0(0)

Last flood scan length is 1, maximum is 1

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 83/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 20 of 24

Last flood scan time is 0 msec, maximum is 0 msec

Neighbor Count is 1, Adjacent neighbor count is 1

Adjacent with neighbor 192.168.1.3 (Designated Router)

Suppress hello for 0 neighbor(s)

R2#

Step 3: Use the show ip ospf neighbors command in global configuration mode toview information about the other routers in the OSPF area. 

Notice that R3 is the DR.

R2#show ip ospf neighbor 

Neighbor ID Pri State Dead Time Address

Interface

192.168.31.33 1 FULL/DR 00:00:33 192.168.1.3

FastEthernet0/0

Task 6: Configure OSPF on the DRother RouterConfigure the OSPF process on the router with the lowest router ID last. This router will bedesignated as DRother instead of DR or BDR.

Step 1: Use the router ospf command in global configuration mode to enable OSPF on

the R1 router. 

Enter a process ID of 1 for the  process-ID parameter. Configure the router to advertise the192.168.1.0/24 network. Use an area ID of 0 for the OSPF area-id parameter in the network 

statement.

R1(config)#router ospf 1 

R1(config-router)#network 192.168.1.0 0.0.0.255 area 0 

R1(config-router)#end 

%SYS-5-CONFIG_I: Configured from console by consoleR1#

00:16:08: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.22 on

FastEthernet0/0 from LOADING to FULL, Loading Done

00:16:12: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.33 on

FastEthernet0/0 from EXCHANGE to FULL, Exchange Done

Notice that an adjacency is formed with the R2 and R3 routers. It may take up to 40 seconds forboth the R2 and R3 routers to each send a hello packet.

Step 2: Use the show ip ospf interface command to verify that the OSPF has been

configured correctly and that R1 is a DRother.

R1#show ip ospf interface 

FastEthernet0/0 is up, line protocol is upInternet address is 192.168.1.1/24, Area 0

Process ID 1, Router ID 192.168.31.11, Network Type BROADCAST, Cost:

1

Transmit Delay is 1 sec, State DROTHER, Priority 1

Designated Router (ID) 192.168.31.33, Interface address 192.168.1.3

Backup Designated Router (ID) 192.168.31.22, Interface address

192.168.1.2

Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 84/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 21 of 24

Hello due in 00:00:00

Index 1/1, flood queue length 0

Next 0x0(0)/0x0(0)

Last flood scan length is 1, maximum is 1

Last flood scan time is 0 msec, maximum is 0 msec

Neighbor Count is 2, Adjacent neighbor count is 2

Adjacent with neighbor 192.168.31.33 (Designated Router)Adjacent with neighbor 192.168.31.22 (Backup Designated Router)

Suppress hello for 0 neighbor(s)

R1#

Step 3: Use the show ip ospf neighbors command in global configuration mode to

view information about the other routers in the OSPF area. 

Notice that R3 is the DR and R2 is the BDR.

R1#show ip ospf neighbor 

Neighbor ID Pri State Dead Time Address

Interface

192.168.31.22 1 FULL/BDR 00:00:35 192.168.1.2FastEthernet0/0

192.168.31.33 1 FULL/DR 00:00:30 192.168.1.3

FastEthernet0/0

Task 7: Use the OSPF Priority to Determine the DR and BDR

Step 1: Use the ip ospf priority interface command to change the OSPF priority of

the R1 router to 255. 

This is the highest possible priority.

R1(config)#interface fastEthernet0/0 

R1(config-if)#ip ospf priority 255 R1(config-if)#end 

Step 2: Use the ip ospf priority interface command to change the OSPF priority of

the R3 router to 100.

R3(config)#interface fastEthernet0/0 

R3(config-if)#ip ospf priority 100 R3(config-if)#end 

Step 3: Use the ip ospf priority interface command to change the OSPF priority of

the R2 router to 0. A priority of 0 causes the router to be ineligible to participate in an OSPFelection and become a DR or BDR.

R2(config)#interface fastEthernet0/0 R2(config-if)#ip ospf priority 0 R2(config-if)#end 

Step 4: Shut down and re-enable the FastEthernet0/0 interfaces to force an OSPF election.The FastEthernet0/0 interfaces of each of the routers can be shut down and re-enabled to forcean OSPF election. Shut down the FastEthernet0/0 interface on each of the three routers. Noticethat as the interfaces are shut down the OSPF adjacencies are lost.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 85/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 22 of 24

R1:R1(config)#interface fastethernet0/0 

R1(config-if)#shutdown

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to

administratively down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0,changed state to down

02:17:22: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.22 on

FastEthernet0/0 from FULL to Down: Interface down or detached

02:17:22: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.33 on

FastEthernet0/0 from FULL to Down: Interface down or detached

R2:R2(config)#interface fastethernet0/0

R2(config-if)#shutdown

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to

administratively down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0,changed state to down

02:17:06: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.33 on

FastEthernet0/0 from FULL to Down: Interface down or detached

02:17:06: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.11 on

FastEthernet0/0 from FULL to Down: Interface down or detached

R3:R3(config)#interface fastethernet0/0 

R3(config-if)#shutdown 

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to

administratively down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0,

changed state to down

02:17:22: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.22 on

FastEthernet0/0 from FULL to Down: Interface down or detached

02:17:22: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.11 on

FastEthernet0/0 from FULL to Down: Interface down or detached

Step 5: Re-enable the FastEthernet0/0 interface on the R2 router.

R2(config-if)#no shut 

R2(config-if)#end 

%SYS-5-CONFIG_I: Configured from console by console

R2#

Step 6: Re-enable the FastEthernet0/0 interface on the R1 router. 

Notice that an adjacency is formed with the R2 router. It may take up to 40 seconds for the R2router to send a hello packet.

R1(config-if)#no shutdown 

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0,

changed state to up

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 86/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 23 of 24

R1(config-if)#end

%SYS-5-CONFIG_I: Configured from console by console

R1#

02:31:43: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.22 on

FastEthernet0/0 from EXCHANGE to FULL, Exchange Done

Step 7: Use the show ip ospf neighbor command on the R1 router to view the OSPFneighbor information for that router. 

Notice that even though the R2 router has a higher router ID than R1, the R2 router has been setto a state of DRother because the OSPF priority has been set to 0.

R1#show ip ospf neighbor 

Neighbor ID Pri State Dead Time Address

Interface

192.168.31.22 0 FULL/DROTHER 00:00:33 192.168.1.2

FastEthernet0/0

R1#

Step 8: Re-enable the FastEthernet0/0 interface on the R3 router. 

Notice that an adjacency is formed with the R1 and R2 routers. It may take up to 40 seconds forboth the R1 and R2 routers to each send a hello packet.

R3(config-if)#no shutdown 

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0,

changed state to up

R3(config-if)#end

%SYS-5-CONFIG_I: Configured from console by console

02:37:32: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.11 on

FastEthernet0/0 from LOADING to FULL, Loading Done

02:37:36: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.22 on

FastEthernet0/0 from EXCHANGE to FULL, Exchange Done

Step 9: Use the show ip ospf interface command on the R3 router to verify that R3

has become the BDR.

R3#show ip ospf interface 

FastEthernet0/0 is up, line protocol is up

Internet address is 192.168.1.3/24, Area 0

Process ID 1, Router ID 192.168.31.33, Network Type BROADCAST, Cost:

1

Transmit Delay is 1 sec, State BDR, Priority 100Designated Router (ID) 192.168.31.11, Interface address 192.168.1.1

<output omitted>

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 87/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 24 of 24

Task 8: Document the Router Configurations.

On each router, capture the following command output to a text file and save for future reference:

• Running configuration

• Routing table

• Interface summarization

• Output from show ip protocols 

Task 9: Clean Up.

Erase the configurations and reload the routers. Disconnect and store the cabling. For PC hoststhat are normally connected to other networks (such as the school LAN or to the Internet),reconnect the appropriate cabling and restore the TCP/IP settings.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 88/176

 

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 1 of 20

Lab 2.8.1: Basic Static Route Configuration

Topology Diagram

Addressing Table

Device Interface IP Address Subnet Mask Default Gateway

Fa0/0 172.16.3.1  255.255.255.0  N/AR1S0/0/0 172.16.2.1  255.255.255.0  N/A

Fa0/0 172.16.1.1  255.255.255.0  N/A

S0/0/0 172.16.2.2  255.255.255.0  N/AR2

S0/0/1 192.168.1.2 255.255.255.0  N/A

FA0/0 192.168.2.1 255.255.255.0  N/AR3

S0/0/1 192.168.1.1 255.255.255.0  N/A

PC1 NIC 172.16.3.10  255.255.255.0  172.16.3.1

PC2 NIC 172.16.1.10  255.255.255.0  172.16.1.1

PC3 NIC 192.168.2.10  255.255.255.0  192.168.2.1

Learning Objectives

Upon completion of this lab, you will be able to:

• Cable a network according to the Topology Diagram.

• Erase the startup configuration and reload a router to the default state.

• Perform basic configuration tasks on a router.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 89/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 90/176

CCNA ExplorationRouting Protocols and Concepts: Static Routing Lab 2.8.1: Basic Static Route Configuration

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 20

Step 3: Add the logging synchronous command to the console and virtual terminal lines.

This command is very helpful in both lab and production environments and uses the following syntax:

Router(config-line)#logging synchronous

To synchronize unsolicited messages and debug output with solicited Cisco IOS software output andprompts for a specific console port line, auxiliary port line, or virtual terminal line, we can use thelogging synchronous line configuration command. In other words, the logging synchronous 

command prevents IOS messages delivered to the console or Telnet lines from interrupting yourkeyboard input.

For example, you may have already experienced something similar to the following example:

Note: Do not configure R1 interfaces yet.

R1(config)#interface fastethernet 0/0 R1(config-if)#ip address 172.16.3.1 255.255.255.0 

R1(config-if)#no shutdown R1(config-if)#descri

*Mar 1 01:16:08.212: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed

state to up

*Mar 1 01:16:09.214: %LINEPROTO-5-UPDOWN: Line protocol on Interface

FastEthernet0/0, changed state to up ption 

R1(config-if)#

The IOS sends unsolicited messages to the console when you activate an interface with the no

shutdown command. However, the next command you enter (in this case, description) is interrupted

by these messages. The logging synchronous command solves this problem by copying the

command entered up to that point down to the next router prompt.

R1(config)#interface fastethernet 0/0 R1(config-if)#ip address 172.16.3.1 255.255.255.0 

R1(config-if)#no shutdown R1(config-if)#description 

*Mar 1 01:28:04.242: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed

state to up

*Mar 1 01:28:05.243: %LINEPROTO-5-UPDOWN: Line protocol on Interface

FastEthernet0/0, changed state to up

R1(config-if)#description <-- Keyboard input copied after message

R1 is shown here as an example. Add logging synchronous to the console and virtual terminal lines

on all routers.

R1(config)#line console 0R1(config-line)#logging synchronous R1(config-line)#line vty 0 4 R1(config-line)#logging synchronous 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 91/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 92/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 93/176

CCNA ExplorationRouting Protocols and Concepts: Static Routing Lab 2.8.1: Basic Static Route Configuration

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 6 of 20

Step 4: Enter the command to verify that the new route is now in the routing table.

Your output should look similar to the following output. There should now be one route in the table for R1.What command did you use?

R1#______________________________________

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

* - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route

Gateway of last resort is not set

172.16.0.0/24 is subnetted, 1 subnets

C 172.16.3.0 is directly connected, FastEthernet0/0

Step 5: Enter interface configuration mode for R1’s WAN interface connected to R2.

R1#configure terminal 

Enter configuration commands, one per line. End with CNTL/Z.

R1(config)#interface Serial 0/0/0

Configure the IP address as specified in the Topology Diagram.

R1(config-if)#ip address 172.16.2.1 255.255.255.0 

is_up: 0 state: 0 sub state: 1 line: 0 has_route: False

As soon as you press the Enter key, Cisco IOS debug output informs you that there is now a route, but itsstate is False. Because R1 is the DCE side of our lab environment, we must specify how fast the bits will

be clocked between R1 and R2.

Step 6: Enter the clock rate command on R1.

You can specify any valid clocking speed. Use the ? to find the valid rates. Here, we used 64000 bps.

R1(config-if)#clock rate 64000 

is_up: 0 state: 0 sub state: 1 line: 0 has_route: False

Some IOS versions display the output shown above every 30 seconds. Why is the state of the route stillFalse? What step must you now take to make sure that the interface is fully configured?

 _______________________________________________________________________ 

Step 7: Enter the command necessary to ensure that the interface is fully configured.

If you are not sure what the correct command is, review the discussion in “Examining Router Interfaces,”which is discussed in Section 2.2, “Router Configuration Review.”

R1(config-if)#_____________________________

After you enter the correct command, you should see debug output similar to the following example:

is_up: 0 state: 0 sub state: 1 line: 0 has_route: False

%LINK-3-UPDOWN: Interface Serial0/0/0, changed state to down

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 94/176

CCNA ExplorationRouting Protocols and Concepts: Static Routing Lab 2.8.1: Basic Static Route Configuration

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 7 of 20

Unlike configuring the LAN interface, fully configuring the WAN interface does not always guarantee thatthe route will be entered in the routing table, even if your cable connections are correct. The other side ofthe WAN link must also be configured.

Step 8: If possible, establish a separate terminal session by consoling into R2 from another workstation.Doing this allows you to observe the debug output on R1 when you make changes on R2. You can also

turn on debug ip routing on R2.R2#debug ip routing 

IP routing debugging is on

Enter interface configuration mode for R2’s WAN interface connected to R1.

R2#configure terminal 

Enter configuration commands, one per line. End with CNTL/Z.

R2(config)#interface serial 0/0/0

Configure the IP address as specified in the Topology Diagram.

R2(config-if)#ip address 172.16.2.2 255.255.255.0 

is_up: 0 state: 6 sub state: 1 line: 0

Step 9: Enter the command necessary to ensure that the interface is fully configured.

If you are not sure what the correct command is, review the discussion in “Examining Router Interfaces,”which is discussed in Section 2.2, “Router Configuration Review.”

R2(config-if)#_____________________________

After you enter the correct command, you should see debug output similar to the following example:

is_up: 0 state: 4 sub state: 1 line: 0

%LINK-3-UPDOWN: Interface Serial0/0/0, changed state to up

is_up: 1 state: 4 sub state: 1 line: 0

RT: add 172.16.2.0/24 via 0.0.0.0, connected metric [0/0]

RT: interface Serial0/0/0 added to routing table

is_up: 1 state: 4 sub state: 1 line: 0

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to

up

is_up: 1 state: 4 sub state: 1 line: 0

The new network that you configured on the LAN interface is now added to the routing table, as shown inthe highlighted output.

If you do not see the route added to the routing table, the interface did not come up. Use the followingsystematic process to troubleshoot your connection:

1. Check your physical connections between the two WAN interfaces for R1 and R2.Is the correct interface attached? ________ Your router has more than one WAN interface. Did you connect the correct WAN interface?

 ________ An interface will not come up unless it detects a link beat at the Physical layer from anotherdevice. Is the interface connected to the other router’s interface? ________ 

2. Check link lights. Are all link lights blinking? ________ 

3. Check the cabling. R1 must have the DCE side of the cable attached and R2 must have the DTEside of the cable attached. Are the correct cables connected to the routers? ________ 

4. Has the interface been activated or enabled? ________ 

If you can answer yes to all the proceeding questions, the interface should come up.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 95/176

CCNA ExplorationRouting Protocols and Concepts: Static Routing Lab 2.8.1: Basic Static Route Configuration

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 8 of 20

Step 10: Enter the command to verify that the new route is now in the routing table for R1 and R2.

Your output should look similar to the following output. There should now be two routes in the routingtable for R1 and one route in the table for R2. What command did you use?

R1#_________________________________

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2

i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

ia - IS-IS inter area, * - candidate default, U - per-user static route

o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

172.16.0.0/24 is subnetted, 2 subnets

C 172.16.2.0 is directly connected, Serial0/0/0

C 172.16.3.0 is directly connected, FastEthernet0/0

R2#_________________________________Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

* - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route

Gateway of last resort is not set

172.16.0.0/24 is subnetted, 1 subnets

C 172.16.2.0 is directly connected, Serial0/0/0

Step 11: Turn off debugging on both routers using either no debug ip routing or simply,

undebug all.

R1(config-if)#end 

R1#no debug ip routing 

IP routing debugging is off

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 96/176

CCNA ExplorationRouting Protocols and Concepts: Static Routing Lab 2.8.1: Basic Static Route Configuration

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 9 of 20

Task 4: Finish Configuring Router Interfaces

Step 1: Configure Remaining R2 Interfaces

Finish configuring the remaining interfaces on R2 according to the Topology Diagram and Addressing

Table.

Step 2: Configure R3 Interfaces

Console into R3 and configure the necessary interfaces according to the Topology Diagram andAddressing Table.

Task 5: Configure IP Addressing on the Host PCs.

Step 1: Configure the host PC2.

Configure the host PC1 with an IP address of 172.16.3.10/24 and a default gateway of 172.16.3.1.

Step 2: Configure the host PC2.Configure the host PC2 with an IP address of 172.16.1.10/24 and a default gateway of 172.16.1.1.

Step 3: Configure the host PC3.

Configure the host PC3 with an IP address of 192.168.2.10/24 and a default gateway of 192.168.2.1.

Task 6: Test and Verify the Configurations.

Step 1: Test connectivity.

Test connectivity by pinging from each host to the default gateway that has been configured for that host.

From the host PC1, is it possible to ping the default gateway? ________ 

From the host PC2, is it possible to ping the default gateway? ________ 

From the host PC3, is it possible to ping the default gateway? ________ 

If the answer is no for any of these questions, troubleshoot the configurations to find the error using thefollowing systematic process:

1. Check the cabling.Are the PCs physically connected to the correct router? ________ (Connection could be through a switch or directly)Are link lights blinking on all relevant ports? ________ 

2. Check the PC configurations. Do they match the Topology Diagram? ________ 

3. Check the router interfaces using the show ip interface brief command.

Are all relevant interfaces up and up? ________ 

If your answer to all three steps is yes, you should be able to successfully ping the default gateway.

Step 2: Use the ping command to test connectivity between directly connected routers.

From the router R2, is it possible to ping R1 at 172.16.2.1? ________ 

From the router R2, is it possible to ping R3 at 192.168.1.1? ________ 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 97/176

CCNA ExplorationRouting Protocols and Concepts: Static Routing Lab 2.8.1: Basic Static Route Configuration

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 10 of 20

If the answer is no for any of these questions, troubleshoot the configurations to find the error using thefollowing systematic process:

1. Check the cabling.Are the routers physically connected? ________ Are link lights blinking on all relevant ports? ________ 

2. Check the router configurations.Do they match the Topology Diagram? ________ Did you configure the clock rate command on the DCE side of the link? ________ 

3. Has the interface been activated or enabled? ________ 

4. Check the router interfaces using the show ip interface brief command.

Are the interfaces up and up? ________ 

If your answer to all three steps is yes, you should be able to successfully ping from R2 to R1 and fromR2 to R3.

Step 3: Use ping to check connectivity between devices that are not directly connected.

From the host PC3, is it possible to ping the host PC1? ________ 

From the host PC3, is it possible to ping the host PC2? ________ 

From the host PC2, is it possible to ping the host PC1? ________ 

From the router R1, is it possible to ping router R3? ________ 

These pings should all fail. Why?

 ____________________________________________________________________________ 

 ____________________________________________________________________________ 

 ____________________________________________________________________________ 

Task 7: Gather Information.

Step 1: Check status of interfaces.

Check the status of the interfaces on each router with the command show ip interface brief. The

following output is for R2.

R2#show ip interface brief 

Interface IP-Address OK? Method Status Protocol

FastEthernet0/0 172.16.1.1 YES manual up up

FastEthernet0/1 unassigned YES unset administratively down down

Serial0/0/0 172.16.2.2 YES manual up up

Serial0/0/1 192.168.1.2 YES manual up upVlan1 unassigned YES manual administratively down down

Are all of the relevant interfaces on each router activated (that is, in the up and up state)? ________ 

How many interfaces are activated on R1 and R3? _______ 

Why are there three activated interfaces on R2? __________________________________________ 

 _________________________________________________________________________________ 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 98/176

CCNA ExplorationRouting Protocols and Concepts: Static Routing Lab 2.8.1: Basic Static Route Configuration

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 11 of 20

Step 2: View the routing table information for all three routers.

R1#________________________________

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

* - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route

Gateway of last resort is not set

172.16.0.0/24 is subnetted, 2 subnets

C 172.16.2.0 is directly connected, Serial0/0/0

C 172.16.3.0 is directly connected, FastEthernet0/0

What networks are present in the Topology Diagram but not in the routing table for R1?

 ____________________________________________________________________ 

R2#_________________________________

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default

U - per-user static route, o - ODR

Gateway of last resort is not set

172.16.0.0/24 is subnetted, 2 subnets

C 172.16.1.0 is directly connected, FastEthernet0/0

C 172.16.2.0 is directly connected, Serial0/0/0

C 192.168.1.0/24 is directly connected, Serial0/0/1 

What networks are present in the Topology Diagram but not in the routing table for R2?

 ____________________________________________________________________ 

R3#_________________________________

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default

U - per-user static route, o - ODR

Gateway of last resort is not set

C 192.168.1.0/24 is directly connected, Serial0/0/1

C 192.168.2.0/24 is directly connected, FastEthernet0/0

What networks are present in the Topology Diagram but not in the routing table for R3?

 ____________________________________________________________________ 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 99/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 100/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 101/176

CCNA ExplorationRouting Protocols and Concepts: Static Routing Lab 2.8.1: Basic Static Route Configuration

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 14 of 20

Task 9: Configure a Static Route Using an Exit Interface.

To configure static routes with an exit interface specified, use the following syntax:

Router(config)# ip route network-address subnet-mask exit-interface

•  network-address —Destination network address of the remote network to be added to therouting table.

•  subnet-mask —Subnet mask of the remote network to be added to the routing table. The subnet

mask can be modified to summarize a group of networks.

•  exit-interface —Outgoing interface that would be used in forwarding packets to thedestination network.

Step 1: On the R3 router, configure a static route.

On the R3 router, configure a static route to the 172.16.2.0 network using the Serial 0/0/0 interface of theR3 router as the exit interface.

R3(config)# ip route 172.16.2.0 255.255.255.0 Serial0/0/1R3(config)#

Step 2: View the routing table to verify the new static route entry.

R3#________________________________ Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default

U - per-user static route, o - ODR

Gateway of last resort is not set

172.16.0.0/24 is subnetted, 2 subnets

S 172.16.1.0 [1/0] via 192.168.1.2

S 172.16.2.0 is directly connected, Serial0/0/1

C 192.168.1.0/24 is directly connected, Serial0/0/1

C 192.168.2.0/24 is directly connected, FastEthernet0/0

R3#

Use the show running-config command to verify the static routes that are currently configured on

R3.

R3#show running-config 

Building configuration...

<output omitted>

!

hostname R3

!

interface FastEthernet0/0

ip address 192.168.2.1 255.255.255.0

!

interface Serial0/0/0

no ip address

shutdown

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 102/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 103/176

CCNA ExplorationRouting Protocols and Concepts: Static Routing Lab 2.8.1: Basic Static Route Configuration

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 16 of 20

Task 10: Configure a Default Static Route.

In the previous steps, you configured the router for specific destination routes. But could you do this forevery route on the Internet? No. The router and you would be overwhelmed. To minimize the size of therouting tables, add a default static route. A router uses the default static route when there is not a better,more specific route to a destination.

Instead of filling the routing table of R1 with static routes, we could assume that R1 is a stub router . Thismeans that R2 is the default gateway for R1. If R1 has packets to route that do not belong to any of R1directly connected networks, R1 should send the packet to R2. However, we must explicitly configure R1with a default route before it will send packets with unknown destinations to R2. Otherwise, R1 discardspackets with unknown destinations.

To configure a default static route, use the following syntax:

Router(config)#ip route 0.0.0.0 0.0.0.0 { ip-address | interface }

Step 1: Configure the R1 router with a default route.

Configure the R1 router with a default route using the Serial 0/0/0 interface of R1 as the next-hop

interface.R1(config)#ip route 0.0.0.0 0.0.0.0 172.16.2.2

R1(config)#

Step 2: View the routing table to verify the new static route entry.

R1#________________________________

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default

U - per-user static route, o - ODR

Gateway of last resort is 172.16.2.2 to network 0.0.0.0

172.16.0.0/24 is subnetted, 2 subnets

C 172.16.2.0 is directly connected, Serial0/0/0

C 172.16.3.0 is directly connected, FastEthernet0/0

S* 0.0.0.0/0 [1/0] via 172.16.2.2

R1#

Note that the R1 router now has a default route, the gateway of last resort , and will send all unknowntraffic out Serial 0/0/0, which is connected to R2.

Step 3: Use ping to check connectivity between the host PC2 and PC1.

From the host PC2, is it possible to ping PC1? ________ 

This ping should be successful this time because the R1 router can return the packet using the defaultroute.

From the host PC3, is it possible to ping the host PC1? ________ 

Is there a route to the 172.16.3.0 network in the routing table on the R3 router? ________ 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 104/176

CCNA ExplorationRouting Protocols and Concepts: Static Routing Lab 2.8.1: Basic Static Route Configuration

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 17 of 20

Task 11: Configure a Summary Static Route.

We could configure another static route on R3 for the 172.16.3.0 network. However, we already have twostatic routes to 172.16.2.0/24 and 172.16.1.0/24. Because these networks are so close together, we cansummarize them into one route. Again, doing this helps reduce the size of routing tables, which makesthe route lookup process more efficient.

Looking at the three networks at the binary level, we can a common boundary at the 22 nd bit from the left.

172.16.1.0 10101100.00010000.00000001.00000000

172.16.2.0 10101100.00010000.00000010.00000000

172.16.3.0 10101100.00010000.00000011.00000000

The prefix portion will include 172.16.0.0, because this would be the prefix if we turned off all the bits tothe right of the 22

ndbit.

Prefix 172.16.0.0

To mask the first 22 left-most bits, we use a mask with 22 bits turned on from left to right:

Bit Mask 11111111.11111111.11111100.00000000

This mask, in dotted-decimal format, is...

Mask 255.255.252.0

Step 1: Configure the summary static route on the R3 router.

The network to be used in the summary route is 172.16.0.0/22.

R3(config)#ip route 172.16.0.0 255.255.252.0 192.168.1.2 

Step 2: Verify that the summary route is installed in the routing table.

R3#________________________________

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

* - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route

Gateway of last resort is not set

172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks

S 172.16.0.0/22 [1/0] via 192.168.1.2

S 172.16.1.0/24 [1/0] via 192.168.1.2

S 172.16.2.0/24 is directly connected, Serial0/0/1

C 192.168.1.0/24 is directly connected, Serial0/0/1

C 192.168.2.0/24 is directly connected, FastEthernet0/0

Configuring a summary route on R3 did not remove the static routes configured earlier because theseroutes are more specific routes. They both use /24 mask, whereas the new summary will be using a /22 mask. To reduce the size of the routing table, we can now remove the more specific /24 routes.

Step 3: Remove static routes on R3.

Remove the two static routes that are currently configured on R3 by using the no form of the command.

R3(config)#no ip route 172.16.1.0 255.255.255.0 192.168.1.2 

R3(config)#no ip route 172.16.2.0 255.255.255.0 Serial0/0/0 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 105/176

CCNA ExplorationRouting Protocols and Concepts: Static Routing Lab 2.8.1: Basic Static Route Configuration

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 18 of 20

Step 4: Verify that the routes are no longer in the routing table.

R3#_________________________________

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

* - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route

Gateway of last resort is not set

172.16.0.0/22 is subnetted, 1 subnets

S 172.16.0.0 [1/0] via 192.168.1.2

C 192.168.1.0/24 is directly connected, Serial0/0/1

C 192.168.2.0/24 is directly connected, FastEthernet0/0

R3 now only has one route to any host belonging to networks 172.16.0.0/24, 172.16.1.0/24,172.16.2.0/24, and 172.16.3.0/24. Traffic destined for these networks will be sent to R2 at 192.168.1.2.

Step 5: Use  ping to check connectivity between the host PC3 and PC1.

From the host PC3, is it possible to ping the host PC1? ________ 

This ping should be successful this time because there is a route to the 172.16.3.0 network on the R3router, and the R1 router can return the packet using the default route.

Task 12: Summary, Reflection, and Documentation

With the completion of this lab, you have:

• Configured your first network with a combination of static and default routing to provide fullconnectivity to all networks

• Observed how a route is installed in the routing table when you correctly configure and activateand interface

• Learned how to statically configure routes to destinations that are not directly connected

• Learned how to configure a default route that is used to forward packets to unknown destinations

• Learned how to summarize a group of networks into one static route to reduce the size of arouting table

Along the way, you have also probably encountered some problems either in your physical lab setup or inyour configurations. Hopefully, you have learned to systematically troubleshoot such problems. At thispoint, record any comments or notes that may help you in future labs.

 _____________________________________________________________________________ 

 _____________________________________________________________________________ 

 _____________________________________________________________________________ 

 _____________________________________________________________________________ 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 106/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 107/176

CCNA ExplorationRouting Protocols and Concepts: Static Routing Lab 2.8.1: Basic Static Route Configuration

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 20 of 20

15. PC2 then frames the packet with the source MAC address of (indicate device name) ________ and the destination MAC address of (indicate device name) _________.

16. PC2 then sends the frame out on the media as an encoded bit stream.

17. R2 receives the bit stream on its _____________ interface. Because the destination MACaddress matches the receiving interface’s MAC address, R2 strips off the Ethernet header.

18. R2 looks up the destination network address _______________ in its routing table. Thisdestination has a next-hop IP address of _____________. The next-hop IP address is reachableout interface ____________.

19. R2 encapsulates the packet in an HDLC frame and forwards the frame out the correct interface.(Because this is a point-to-point link, no address is needed. However, the address field in theHDLC packet contains the value 0x8F.)

20. R3 receives the frame on the ___________ interface. Because the frame is HDLC, R3 strips offthe header and looks up the destination network address ____________ in its routing table. Thisdestination address is directly connected to the ______________ interface.

21. R3 encapsulates the ping request in a frame with the source MAC address of (indicated devicename) ________ and the destination MAC address of (indicate device name) ________.

22. R3 then sends the frame out on the media as an encoded bit stream.

23. PC3 receives the bit stream on its ______________ interface. Because the destination MACaddress matches the MAC address of PC3, PC3 strips off the Ethernet header.

24. The IP process on PC3 examines the _______ IP address to make sure that it matches its ownIP address. Then PC3 passes the data to the ICMP process.

25. ICMP sends a “success” message to the requesting application.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 108/176

 

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 1 of 5

Activity 6.4.1: Basic VLSM Calculation and Addressing Design

Topology Diagram

Addressing Table 

Device Interface IP Address Subnet Mask Default Gateway

Fa0/0 N/A

Fa0/1 N/AS0/0/0 N/A

HQ

S0/0/1 N/A

Fa0/0 N/A

Fa0/1 N/A

S0/0/0 N/ABranch1

S0/0/1 N/A

Fa0/0 N/A

Fa0/1 N/A

S0/0/0 N/ABranch2

S0/0/1 N/A

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 109/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 110/176

CCNA ExplorationRouting Protocols and Concepts:VLSM and CIDR Activity 6.4.1: Basic VLSM Calculation and Addressing Design

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 5

1. How many IP addresses are needed for each LAN? ____ ___ 

2. What is the smallest size subnet that can be used to meet this requirement? _______ 

3. What is the maximum number of IP addresses that can be assigned in this size subnet? _______ 

Step 2: Assign subnets to HQ LANs.

Start at the beginning of the 192.168.1.0/24 network.

1. Assign the first available subnet to HQ LAN1.

2. Fill in the chart below with the appropriate information.

HQ LAN1 Subnet

NetworkAddress

DecimalSubnet Mask

CIDR SubnetMask

First Usable IPAddress

Last Usable IPAddress

BroadcastAddress

3. Assign the next available subnet to HQ LAN2.

4. Fill in the chart below with the appropriate information.

HQ LAN2 Subnet

NetworkAddress

DecimalSubnet Mask

CIDR SubnetMask

First Usable IPAddress

Last Usable IPAddress

BroadcastAddress

Step 3: Determine the subnet information for the next largest network segment or segments.

In this case, the two Branch1 LANs are the next largest subnets . 

1. How many IP addresses are needed for each LAN?____

 ___ 2. What is the smallest size subnet that can be used to meet this requirement?  _______ 

3. What is the maximum number of IP addresses that can be assigned in this size subnet? _______ 30

Step 4: Assign subnet to BRANCH1 LANs.

Start with the IP address following the HQ LAN subnets.

1. Assign the next subnet to Branch1 LAN1.

2. Fill in the chart below with the appropriate information.

Branch1 LAN1 Subnet

NetworkAddress

DecimalSubnet Mask

CIDR SubnetMask

First Usable IPAddress

Last Usable IPAddress

BroadcastAddress

3. Assign the next available subnet to Branch1 LAN2.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 111/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 112/176

CCNA ExplorationRouting Protocols and Concepts:VLSM and CIDR Activity 6.4.1: Basic VLSM Calculation and Addressing Design

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 5 of 5

3. Assign the next available subnet to the link between the HQ and Branch2 routers.

4. Fill in the chart below with the appropriate information.

Link between HQ and Branch2 Subnet

NetworkAddress

DecimalSubnet Mask

CIDR SubnetMask

First Usable IPAddress

Last Usable IPAddress

BroadcastAddress

5. Assign the next available subnet to the link between the Branch1 and Branch2 routers.

6. Fill in the chart below with the appropriate information.

Link between Branch1 and Branch2 Subnet

NetworkAddress

DecimalSubnet Mask

CIDR SubnetMask

First Usable IPAddress

Last Usable IPAddress

BroadcastAddress

Task 3: Assign IP Addresses to the Network Devices

Assign the appropriate addresses to the device interfaces. Document the addresses to be used in theAddressing Table provided under the Topology Diagram.

Step 1: Assign addresses to the HQ router.

1. Assign the first valid host address in the HQ LAN 1 subnet to the Fa0/0 LAN interface.

2. Assign the first valid host address in the HQ LAN 2 subnet to the Fao/1 LAN interface.

3. Assign the first valid host address in the link between HQ and Branch1 subnet to the S0/0/0

interface.4. Assign the first valid host address in the link between HQ and Branch2 subnet to the S0/0/1

interface.

Step 2: Assign addresses to the Branch1 router.

1. Assign the first valid host address in the Branch1 LAN1 subnet to the Fa0/0 LAN interface.

2. Assign the first valid host address in the Branch1 LAN2 subnet to the Fa0/1 LAN interface.

3. Assign the last valid host address on the link between Branch1 and HQ subnet to the S0/0/0interface

4. Assign the first valid host address on the link between Branch1 and Branch2 subnet to the S0/0/1interface.

Step 3: Assign addresses to the Branch2 router.

1. Assign the first valid host address in the Branch2 LAN1 subnet to the Fa0/0 LAN interface.

2. Assign the first valid host address in the Branch 2 LAN 2 subnet to the Fa0/1 LAN interface.3. Assign the last valid host address on the link between HQ and Branch2 subnet to the S0/0/1interface

4. Assign the last valid host address on the link between Branch1 and Branch2 subnet to the S0/0/0interface.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 113/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 114/176

CCNA ExplorationRouting Protocols and Concepts:VLSM and CIDR Activity 6.4.4: Basic Route Summarization

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 2 of 3

Learning Objectives

Upon completion of this activity, you will be able to:

• Determine summarized routes that can be used to reduce the size of routing tables.

Scenario

In this activity, you have been given the network shown in the Topology Diagram. The subnetting andaddress assignments have already been completed for the network segments. Determine summarizedroutes that can be used to reduce the number of entries in routing tables.

Task 1: Determine the Summary Route for the HQ LANs.

Step 1: List the HQ LAN1 and LAN2 in binary format.

LAN1______________________________________________ 

LAN2______________________________________________ 

Step 2: Count the number of left-most matching bits to determine the mask for the summary route.

1. How many left-most matching bits are present in the two networks?_______ 

2. What is the subnet mask for the summary route in decimalformat?______________________________________________ 

Step 3: Copy the matching bits and then add all zeros to determine the summarized network address.

1. What are the matching bits for the two networks? ______________________________________________ 

2. Add zeroes to make up the remainder of the network address in binary form. ______________________________________________ 

3. What is the network address for the summary route in decimalformat?______________________________________________ 

Task 2: Determine the Summary Route for the EAST LANs.

Step 1: List the EAST LAN1 and LAN2 in binary format.

LAN1______________________________________________ LAN2______________________________________________ 

Step 2: Count the number of left-most matching bits to determine the mask for the summary route.

1. How many left-most matching bits are present in the two networks?_______ 

2. What is the subnet mask for the summary route in decimalformat?______________________________________________ 

Step 3: Copy the matching bits and then add all zeros to determine the summarized network address.

1. What are the matching bits for the two networks? ______________________________________________ 

2. Add zeroes to make up the remainder of the network address in binary form. ______________________________________________ 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 115/176

CCNA ExplorationRouting Protocols and Concepts:VLSM and CIDR Activity 6.4.4: Basic Route Summarization

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 3

3. What is the network address for the summary route in decimalformat?______________________________________________ 

Task 3: Determine the Summary Route for the WEST LANs.

Step 1: List the WEST LAN1 and LAN2 in binary format.

LAN1______________________________________________ 

LAN2______________________________________________ 

Step 2: Count the number of left-most matching bits to determine the mask for the summary route.

1. How many left-most matching bits are present in the two networks?_______ 

2. What is the subnet mask for the summary route in decimalformat?______________________________________________ 

Step 3: Copy the matching bits and then add all zeros to determine the summarized network address.

1. What are the matching bits for the two networks? ______________________________________________ 

2. Add zeroes to make up the remainder of the network address in binary form. ______________________________________________ 

3. What is the network address for the summary route in decimalformat?______________________________________________ 

Task 4: Determine the Summary Route for the HQ, EAST, and WEST LANs.

Step 1: List summary networks for the HQ, EAST, and WEST LANs in binary format.

HQ Summary Route______________________________________________ 

EAST Summary Route______________________________________________ 

WEST Summary Route______________________________________________ 

Step 2: Count the number of left-most matching bits to determine the mask for the summary route.

1. How many left-most matching bits are present in the two networks?_______ 

2. What is the subnet mask for the summary route in decimalformat?______________________________________________ 

Step 3: Copy the matching bits and then add all zeros to determine the summarized networkaddress.

1. What are the matching bits for the two networks? ______________________________________________ 

2. Add zeroes to make up the remainder of the network address in binary form. ______________________________________________ 

3. What is the network address for the summary route in decimalformat?______________________________________________ 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 116/176

 

Lab 7.5.1: RIPv2 Basic Configuration Lab

Topology Diagram

Addressing Table

Device Interface IP Address Subnet Mask Default Gateway

Fa0/0 172.30.1.1 255.255.255.0 N/A

Fa0/1 172.30.2.1 255.255.255.0 N/AR1

S0/0/0 209.165.200.230 255.255.255.252 N/A

Fa0/0 10.1.0.1 255.255.0.0 N/A

S0/0/0 209.165.200.229 255.255.255.252 N/AR2

S0/0/1 209.165.200.233 255.255.255.252 N/A

Fa0/0 172.30.100.1 255.255.255.0 N/A

S0/0/1 209.165.200.234 255.255.255.252 N/A

Lo0 172.30.110.1 255.255.255.0 N/A

Lo1 172.30.200.17 255.255.255.240 N/A

R3

Lo2 172.30.200.33 255.255.255.240 N/A

PC1 NIC 172.30.1.10 255.255.255.0 172.30.2.1

PC2 NIC 172.30.2.10 255.255.255.0 172.30.1.1

PC3 NIC 10.1.0.10 255.255.0.0 10.1.0.1

PC4 NIC 172.30.100.10 255.255.255.0 172.30.100.1

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 1 of 12

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 117/176

CCNA ExplorationRouting Protocols and Concepts: RIPv2 Lab 7.5.1: RIPv2 Basic Configuration Lab

Learning Objectives

Upon completion of this lab, you will be able to:

• Cable a network according to the Topology Diagram.

• Load provided scripts onto the routers.

• Examine the current status of the network.

• Configure RIPv2 on all routers.

• Examine the automatic summarization of routes.

• Examine routing updates with debug ip rip.

• Disable automatic summarization.

• Examine the routing tables.

• Verify network connectivity.

• Document the RIPv2 configuration.

Scenario

The network shown in the Topology Diagram contains a discontiguous network, 172.30.0.0. This networkhas been subnetted using VLSM. The 172.30.0.0 subnets are physically and logically divided by at leastone other classful or major network, in this case the two serial networks 209.165.200.228/30 and209.165.200.232/30. This can be an issue when the routing protocol used does not include enoughinformation to distinguish the individual subnets. RIPv2 is a classless routing protocol that can be used toprovide subnet mask information in the routing updates. This will allow VLSM subnet information to bepropagated throughout the network.

Task 1: Cable, Erase, and Reload the Routers.

Step 1: Cable a network.

Cable a network that is similar to the one in the Topology Diagram.

Step 2: Clear the configuration on each router.

Clear the configuration on each of routers using the erase startup-config command and then

reload the routers. Answer no if asked to save changes.

Task 2: Load Routers with the Supplied Scripts.

Step 1: Load the following script onto R1.

!

hostname R1

!

!!

interface FastEthernet0/0

ip address 172.30.1.1 255.255.255.0

duplex auto

speed auto

no shutdown

!

interface FastEthernet0/1

ip address 172.30.2.1 255.255.255.0

duplex auto

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 2 of 12

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 118/176

CCNA ExplorationRouting Protocols and Concepts: RIPv2 Lab 7.5.1: RIPv2 Basic Configuration Lab

speed auto

no shutdown

!

interface Serial0/0/0

ip address 209.165.200.230 255.255.255.252

clock rate 64000

no shutdown!

router rip

passive-interface FastEthernet0/0

passive-interface FastEthernet0/1

network 172.30.0.0

network 209.165.200.0

!

line con 0

line vty 0 4

login

!

end

Step 2: Load the following script onto R2.

hostname R2

!

!

!

interface FastEthernet0/0

ip address 10.1.0.1 255.255.0.0

duplex auto

speed auto

no shutdown

!interface Serial0/0/0

ip address 209.165.200.229 255.255.255.252

no shutdown

!

interface Serial0/0/1

ip address 209.165.200.233 255.255.255.252

clock rate 64000

no shutdown

!

router rip

passive-interface FastEthernet0/0

network 10.0.0.0

network 209.165.200.0

!

line con 0

line vty 0 4

login

!

end

Step 3: Load the following script onto R3.

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 12

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 119/176

CCNA ExplorationRouting Protocols and Concepts: RIPv2 Lab 7.5.1: RIPv2 Basic Configuration Lab

hostname R3

!

!

!

interface FastEthernet0/0

ip address 172.30.100.1 255.255.255.0

duplex autospeed auto

no shutdown

!

interface Serial0/0/1

ip address 209.165.200.234 255.255.255.252

no shutdown

!

interface Loopback0

ip address 172.30.110.1 255.255.255.0

!

interface Loopback1

ip address 172.30.200.17 255.255.255.240

!interface Loopback2

ip address 172.30.200.33 255.255.255.240

!

router rip

passive-interface FastEthernet0/0

network 172.30.0.0

network 209.165.200.0

!

line con 0

line vty 0 4

login

!

end

Task 3: Examine the Current Status of the Network.

Step 1: Verify that both serial links are up.

The two serial links can quickly be verified using the show ip interface brief command on R2.

R2#show ip interface brief 

Interface IP-Address OK? Method Status Protocol

FastEthernet0/0 10.1.0.1 YES manual up up

FastEthernet0/1 unassigned YES manual administratively down down

Serial0/0/0 209.165.200.229 YES manual up upSerial0/0/1 209.165.200.233 YES manual up up

Vlan1 unassigned YES manual administratively down down

Step 2: Check the connectivity from R2 to the hosts on the R1 and R3 LANs.

From the R2 router, how many ICMP messages are successful when pinging PC1?

 _______________________________________________________________________ 

From the R2 router, how many ICMP messages are successful when pinging PC4?

 ______________________________________________________________________ 

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 4 of 12

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 120/176

CCNA ExplorationRouting Protocols and Concepts: RIPv2 Lab 7.5.1: RIPv2 Basic Configuration Lab

Step 3: Check the connectivity between the PCs.

From the PC1, is it possible to ping PC2? __________ 

What is the success rate? __________ 

From the PC1, is it possible to ping PC3? __________ 

What is the success rate? __________ 

From the PC1, is it possible to ping PC4? __________ 

What is the success rate? __________ 

From the PC4, is it possible to ping PC2? __________ 

What is the success rate? __________ 

From the PC4, is it possible to ping PC3? __________ 

What is the success rate? __________ 

Step 4: View the routing table on R2.

Both the R1 and R3 are advertising routes to the 172.30.0.0/16 network; therefore, there are two entriesfor this network in the R2 routing table. The R2 routing table only shows the major classful networkaddress of 172.30.0.0—it does not show any of the subnets for this network that are used on the LANsattached to R1 and R3. Because the routing metric is the same for both entries, the router alternates theroutes that are used when forwarding packets that are destined for the 172.30.0.0/16 network.

R2#show ip route 

Output omitted 

10.0.0.0/16 is subnetted, 1 subnetsC 10.1.0.0 is directly connected, FastEthernet0/0

R 172.30.0.0/16 [120/1] via 209.165.200.230, 00:00:24, Serial0/0/0

[120/1] via 209.165.200.234, 00:00:15, Serial0/0/1

209.165.200.0/30 is subnetted, 2 subnets

C 209.165.200.228 is directly connected, Serial0/0/0

C 209.165.200.232 is directly connected, Serial0/0/1

Step 5: Examine the routing table on the R1 router.

Both R1 and R3 are configured with interfaces on a discontiguous network, 172.30.0.0. The 172.30.0.0subnets are physically and logically divided by at least one other classful or major network—in this case,the two serial networks 209.165.200.228/30 and 209.165.200.232/30. Classful routing protocols likeRIPv1 summarize networks at major network boundaries. Both R1 and R3 will be summarizing

172.30.0.0/24 subnets to 172.30.0.0/16. Because the route to 172.30.0.0/16 is directly connected, andbecause R1 does not have any specific routes for the 172.30.0.0 subnets on R3, packets destined for theR3 LANs will not be forwarded properly.

R1#show ip route 

Output omitted 

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 5 of 12

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 121/176

CCNA ExplorationRouting Protocols and Concepts: RIPv2 Lab 7.5.1: RIPv2 Basic Configuration Lab

R 10.0.0.0/8 [120/1] via 209.165.200.229, 00:00:02, Serial0/0/0

172.30.0.0/24 is subnetted, 2 subnets

C 172.30.1.0 is directly connected, FastEthernet0/0

C 172.30.2.0 is directly connected, FastEthernet0/1

209.165.200.0/30 is subnetted, 2 subnets

C 209.165.200.228 is directly connected, Serial0/0/0

R 209.165.200.232 [120/1] via 209.165.200.229, 00:00:02, Serial0/0/0

Step 6: Examine the routing table on the R3 router.

R3 only shows its own subnets for 172.30.0.0 network: 172.30.100/24, 172.30.110/24, 172.30.200.16/28,and 172.30.200.32/28. R3 does not have any routes for the 172.30.0.0 subnets on R1.

R3#show ip route 

Output omitted 

R 10.0.0.0/8 [120/1] via 209.165.200.233, 00:00:19, Serial0/0/1

172.30.0.0/16 is variably subnetted, 4 subnets, 2 masks

C 172.30.100.0/24 is directly connected, FastEthernet0/0C 172.30.110.0/24 is directly connected, Loopback0

C 172.30.200.16/28 is directly connected, Loopback1

C 172.30.200.32/28 is directly connected, Loopback2

209.165.200.0/30 is subnetted, 2 subnets

R 209.165.200.228 [120/1] via 209.165.200.233, 00:00:19, Serial0/0/1

C 209.165.200.232 is directly connected, Serial0/0/1

Step 7: Examine the RIPv1 packets that are being received by R2.

Use the debug ip rip command to display RIP routing updates.

R2 is receiving the route 172.30.0.0, with 1 hop, from both R1 and R3. Because these are equal costmetrics, both routes are added to the R2 routing table. Because RIPv1 is a classful routing protocol, no

subnet mask information is sent in the update.

R2#debug ip rip

RIP protocol debugging is on

RIP: received v1 update from 209.165.200.234 on Serial0/0/1

172.30.0.0 in 1 hops

RIP: received v1 update from 209.165.200.230 on Serial0/0/0

172.30.0.0 in 1 hops

R2 is sending only the routes for the 10.0.0.0 LAN and the two serial connections to R1 and R3. R1and R3 are not receiving any information about the 172.30.0.0 subnet routes.

RIP: sending v1 update to 255.255.255.255 via Serial0/0/1

(209.165.200.233)

RIP: build update entries

network 10.0.0.0 metric 1

network 209.165.200.228 metric 1

RIP: sending v1 update to 255.255.255.255 via Serial0/0/0

(209.165.200.229)

RIP: build update entries

network 10.0.0.0 metric 1

network 209.165.200.232 metric 1

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 6 of 12

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 122/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 123/176

CCNA ExplorationRouting Protocols and Concepts: RIPv2 Lab 7.5.1: RIPv2 Basic Configuration Lab

Task 5: Examine the Automatic Summarization of Routes.

The LANs connected to R1 and R3 are still composed of discontiguous networks. R2 still shows twoequal cost paths to the 172.30.0.0/16 network in the routing table. R2 still shows only the major classfulnetwork address of 172.30.0.0 and does not show any of the subnets for this network.

R2#show ip route 

Output omitted 

10.0.0.0/16 is subnetted, 1 subnets

C 10.1.0.0 is directly connected, FastEthernet0/0

R 172.30.0.0/16 [120/1] via 209.165.200.230, 00:00:07, Serial0/0/0

[120/1] via 209.165.200.234, 00:00:08, Serial0/0/1

209.165.200.0/30 is subnetted, 2 subnets

C 209.165.200.228 is directly connected, Serial0/0/0

C 209.165.200.232 is directly connected, Serial0/0/1

R1 still shows only its own subnets for the 172.30.0.0 network. R1 still does not have any routes for the

172.30.0.0 subnets on R3.

R1#show ip route 

Output omitted 

R 10.0.0.0/8 [120/1] via 209.165.200.229, 00:00:09, Serial0/0/0

172.30.0.0/24 is subnetted, 2 subnets

C 172.30.1.0 is directly connected, FastEthernet0/0

C 172.30.2.0 is directly connected, FastEthernet0/1

209.165.200.0/30 is subnetted, 2 subnets

C 209.165.200.228 is directly connected, Serial0/0/0

R 209.165.200.232 [120/1] via 209.165.200.229, 00:00:09, Serial0/0/0

R3 still only shows its own subnets for the 172.30.0.0 network. R3 still does not have any routes for the172.30.0.0 subnets on R1.

R3#show ip route 

Output omitted 

R 10.0.0.0/8 [120/1] via 209.165.200.233, 00:00:16, Serial0/0/1

172.30.0.0/16 is variably subnetted, 4 subnets, 2 masks

C 172.30.100.0/24 is directly connected, FastEthernet0/0

C 172.30.110.0/24 is directly connected, Loopback0

C 172.30.200.16/28 is directly connected, Loopback1

C 172.30.200.32/28 is directly connected, Loopback2

209.165.200.0/30 is subnetted, 2 subnetsR 209.165.200.228 [120/1] via 209.165.200.233, 00:00:16, Serial0/0/1

C 209.165.200.232 is directly connected, Serial0/0/1

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 8 of 12

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 124/176

CCNA ExplorationRouting Protocols and Concepts: RIPv2 Lab 7.5.1: RIPv2 Basic Configuration Lab

Use the output of the debug ip rip command to answer the following questions:

What entries are included in the RIP updates sent out from R3?

 ___________________________________ 

 ______________________________ 

 ______________________________ 

 ______________________________ 

 ______________________________ 

On R2, what routes are in the RIP updates that are received from R3?

 __________________________________ 

 _____________________________________________ 

 _____________________________________________ 

R3 is not sending any of the 172.30.0.0 subnets—only the summarized route of 172.30.0.0/16, includingthe subnet mask. This is why R2 and R1 are not seeing the 172.30.0.0 subnets on R3.

Task 6: Disable Automatic Summarization.

The no auto-summary command is used to turn off automatic summarization in RIPv2. Disable auto

summarization on all routers. The routers will no longer summarize routes at major network boundaries.

R2(config)#router rip 

R2(config-router)#no auto-summary 

R1(config)#router rip 

R1(config-router)#no auto-summary 

R3(config)#router rip 

R3(config-router)#no auto-summary

The show ip route and ping commands can be used to verify that automatic summarization is off.

Task 7: Examine the Routing Tables.

The LANs connected to R1 and R3 should now be included in all three routing tables.

R2#show ip route 

Output omitted 

10.0.0.0/16 is subnetted, 1 subnets

C 10.1.0.0 is directly connected, FastEthernet0/0

172.30.0.0/16 is variably subnetted, 7 subnets, 3 masks

R 172.30.0.0/16 [120/1] via 209.165.200.230, 00:01:28, Serial0/0/0

[120/1] via 209.165.200.234, 00:01:56, Serial0/0/1

R 172.30.1.0/24 [120/1] via 209.165.200.230, 00:00:08, Serial0/0/0

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 9 of 12

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 125/176

CCNA ExplorationRouting Protocols and Concepts: RIPv2 Lab 7.5.1: RIPv2 Basic Configuration Lab

R 172.30.2.0/24 [120/1] via 209.165.200.230, 00:00:08, Serial0/0/0

R 172.30.100.0/24 [120/1] via 209.165.200.234, 00:00:08, Serial0/0/1

R 172.30.110.0/24 [120/1] via 209.165.200.234, 00:00:08, Serial0/0/1

R 172.30.200.16/28 [120/1] via 209.165.200.234, 00:00:08, Serial0/0/1

R 172.30.200.32/28 [120/1] via 209.165.200.234, 00:00:08, Serial0/0/1

209.165.200.0/30 is subnetted, 2 subnets

C 209.165.200.228 is directly connected, Serial0/0/0C 209.165.200.232 is directly connected, Serial0/0/1R2#

R1#show ip route 

Output omitted 

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

R 10.0.0.0/8 [120/1] via 209.165.200.229, 00:02:13, Serial0/0/0

R 10.1.0.0/16 [120/1] via 209.165.200.229, 00:00:21, Serial0/0/0

172.30.0.0/16 is variably subnetted, 6 subnets, 2 masks

C 172.30.1.0/24 is directly connected, FastEthernet0/0

C 172.30.2.0/24 is directly connected, FastEthernet0/1

R 172.30.100.0/24 [120/2] via 209.165.200.229, 00:00:21, Serial0/0/0R 172.30.110.0/24 [120/2] via 209.165.200.229, 00:00:21, Serial0/0/0

R 172.30.200.16/28 [120/2] via 209.165.200.229, 00:00:21, Serial0/0/0

R 172.30.200.32/28 [120/2] via 209.165.200.229, 00:00:21, Serial0/0/0

209.165.200.0/30 is subnetted, 2 subnets

C 209.165.200.228 is directly connected, Serial0/0/0

R 209.165.200.232 [120/1] via 209.165.200.229, 00:00:21, Serial0/0/0

R3#show ip route

Output omitted 

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

R 10.0.0.0/8 [120/1] via 209.165.200.233, 00:02:28, Serial0/0/1

R 10.1.0.0/16 [120/1] via 209.165.200.233, 00:00:08, Serial0/0/1172.30.0.0/16 is variably subnetted, 6 subnets, 2 masks

R 172.30.1.0/24 [120/2] via 209.165.200.233, 00:00:08, Serial0/0/1

R 172.30.2.0/24 [120/2] via 209.165.200.233, 00:00:08, Serial0/0/1

C 172.30.100.0/24 is directly connected, FastEthernet0/0

C 172.30.110.0/24 is directly connected, Loopback0

C 172.30.200.16/28 is directly connected, Loopback1

C 172.30.200.32/28 is directly connected, Loopback2

209.165.200.0/30 is subnetted, 2 subnets

R 209.165.200.228 [120/1] via 209.165.200.233, 00:00:08, Serial0/0/1

C 209.165.200.232 is directly connected, Serial0/0/1

Use the output of the debug ip rip command to answer the following questions:

What entries are included in the RIP updates sent out from R1?

 __________________________________ 

 __________________________________ 

 _____________________________________________ 

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 10 of 12

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 126/176

CCNA ExplorationRouting Protocols and Concepts: RIPv2 Lab 7.5.1: RIPv2 Basic Configuration Lab

On R2, what routes are in the RIP updates that are received from R1?

 __________________________________ 

 __________________________________ 

 _____________________________________________ 

Are the subnet masks now included in the routing updates? __________ 

Task 8: Verify Network Connectivity.

Step 1: Check connectivity between R2 router and PCs.

From R2, how many ICMP messages are successful when pinging PC1?

 _____________________________________________________ 

From R2, how many ICMP messages are successful when pinging PC4?

 ______________________________________________________ 

Step 2: Check the connectivity between the PCs.

From PC1, is it possible to ping PC2? __________ 

What is the success rate? __________ 

From PC1, is it possible to ping PC3? __________ 

What is the success rate? __________ 

From PC1, is it possible to ping PC4? __________ 

What is the success rate? __________ 

From PC4, is it possible to ping PC2? __________ 

What is the success rate? __________ 

From PC4, is it possible to ping PC3? __________ 

What is the success rate? __________ 

Task 9: Documentation

On each router, capture the following command output to a text (.txt) file and save for future reference.•  show running-config

•  show ip route

•  show ip interface brief

•  show ip protocols

If you need to review the procedures for capturing command output, refer to Lab 1.5.1.

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 11 of 12

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 127/176

CCNA ExplorationRouting Protocols and Concepts: RIPv2 Lab 7.5.1: RIPv2 Basic Configuration Lab

Task 10: Clean Up

Erase the configurations and reload the routers. Disconnect and store the cabling. For PC hosts that arenormally connected to other networks (such as the school LAN or to the Internet), reconnect theappropriate cabling and restore the TCP/IP settings.

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 12 of 12

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 128/176

 

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 1 of 10

Lab 8.4.1: Investigating the Routing Table Lookup Process

Learning Objectives

Upon completion of this lab, you will be able to:

• Cable a network according to the Topology Diagram.

• Erase the startup configuration and reload a router to the default state.

• Perform basic configuration tasks on a router.

• Determine level 1 and level 2 routes.

• Modify the configuration to reflect static and default routing

• Enable classful routing and investigate classful routing behavior

• Enable classless routing and investigate classless routing behavior

Scenarios 

In this lab activity, there are two separate scenarios. In the first scenario, you will examine level 1 andlevel 2 routes in the routing table. In the second scenario, you will examine classful and classlessrouting behavior.

• Scenario A: Level 1 and Level 2 Routes

• Scenario B: Classful and Classless Routing Behavior

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 129/176

CCNA ExplorationRouting Protocols and Concepts:The Routing Table: A Closer Look Lab 8.4.1: Investigating the Routing Table Lookup Proccess

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 2 of 10

Scenario A: Level 1 and Level 2 Routes

Topology Diagram

Addressing Table

Device Interface IP Address Subnet MaskDefault

Gateway

Fa0/0 172.16.1.1 255.255.255.0 N/AR1

S0/0/0 172.16.2.1 255.255.255.0 N/A

Fa0/0 172.16.3.1 255.255.255.0 N/A

S0/0/0 172.16.2.2 255.255.255.0 N/AR2

S0/0/1 192.168.1.1 255.255.255.0 N/A

Fa0/0 172.16.4.1 255.255.255.0 N/AR3

S0/0/1 192.168.1.2 255.255.255.0 N/A

PC1 NIC 172.16.1.10 255.255.255.0 172.16.1.1

PC2 NIC 172.16.3.10 255.255.255.0 172.16.3.1

PC3 NIC 172.16.4.10 255.255.255.0 172.16.4.1

Task 1: Prepare the Network.

Step 1: Cable a network that is similar to the one in the Topology Diagram.

You can use any current router in your lab as long as it has the required interfaces shown in thetopology.

Note: If you use 1700, 2500, or 2600 routers, the router outputs and interface descriptions will appeardifferent.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 130/176

CCNA ExplorationRouting Protocols and Concepts:The Routing Table: A Closer Look Lab 8.4.1: Investigating the Routing Table Lookup Proccess

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 10

Step 2: Clear any existing configurations on the routers.

Task 2: Perform Basic Router Configurations.

Perform basic configuration of the R1, R2, and R3 routers according to the following guidelines:

1. Configure the router hostname.

2. Disable DNS lookup.

3. Configure an EXEC mode password.

4. Configure a message-of-the-day banner.

5. Configure a password for console connections.

6. Configure a password for VTY connections.

Task 3: Configure and Activate Serial and Ethernet Addresses.

Step 1: Configure interfaces on R1, R2, and R3.

Configure the interfaces on the R1, R2, and R3 routers with the IP addresses from the table under theTopology Diagram.

Step 2: Verify IP addressing and interfaces.

Use the show ip interface brief command to verify that the IP addressing is correct and that

the interfaces are active.

When you have finished, be sure to save the running configuration to the NVRAM of the router.

Step 3: Configure Ethernet interfaces of PC1, PC2, and PC3.

Configure the Ethernet interfaces of PC1, PC2, and PC3 with the IP addresses and default gateways

from the table under the Topology Diagram.

Step 4: Test the PC configuration by pinging the default gateway from the PC.

Task 4: Configure RIP.

Configure RIP version 1 routing on each of the routers. Include network statements for each of the

directly connected networks.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 131/176

CCNA ExplorationRouting Protocols and Concepts:The Routing Table: A Closer Look Lab 8.4.1: Investigating the Routing Table Lookup Proccess

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 4 of 10

Task 5: Observe Routes Being Deleted and Added to the Routing Table.

Step 1: View the routing table on the R1 router.

What networks are shown in the routing table?

 ________________________________________________________________ 

 ________________________________________________________________ 

 ________________________________________________________________ 

 ________________________________________________________________ 

 ________________________________________________________________ 

Step 2: Use the debug ip routing command to observe changes in the routing table as they

occur on the R1 router.R1#debug ip routing 

IP routing debugging is on

Step 3: Shut down the Serial0/0/0 interface and observe the debug output.

R1(config-if)#shutdown 

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to administratively

down

RT: interface Serial0/0/0 removed from routing table

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state

to downRT: del 172.16.0.0 via 172.16.2.2, rip metric [120/2]

RT: delete network route to 172.16.0.0

RT: NET-RED 172.16.0.0/16

RT: del 172.16.2.0 via 0.0.0.0, connected metric [0/0]

RT: delete network route to 172.16.2.0

RT: NET-RED 172.16.2.0/24

RT: del 172.16.3.0 via 172.16.2.2, rip metric [120/1]

RT: delete network route to 172.16.3.0

RT: NET-RED 172.16.3.0/24

RT: del 192.168.1.0 via 172.16.2.2, rip metric [120/1]

RT: delete network route to 192.168.1.0

RT: NET-RED 192.168.1.0/24

Step 4: View the routing table on the R1 router and observe the changes that occurred whenthe Serial0/0/0 interface was disabled.

R1# show ip route

<Output omitted>

Gateway of last resort is not set

172.16.0.0/24 is subnetted, 1 subnets

C 172.16.1.0 is directly connected, FastEthernet0/0

R1#

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 132/176

CCNA ExplorationRouting Protocols and Concepts:The Routing Table: A Closer Look Lab 8.4.1: Investigating the Routing Table Lookup Proccess

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 5 of 10

Step 5: Enable the Serial0/0/0 interface and observe the debug output.

R1(config-if)#no shutdown 

RT: SET_LAST_RDB for 172.16.2.0/24

NEW rdb: is directly connected

RT: add 172.16.2.0/24 via 0.0.0.0, connected metric [0/0]

RT: NET-RED 172.16.2.0/24RT: SET_LAST_RDB for 172.16.0.0/16

NEW rdb: via 172.16.2.2

RT: add 172.16.0.0/16 via 172.16.2.2, rip metric [120/2]

RT: NET-RED 172.16.0.0/16RT: SET_LAST_RDB for 172.16.3.0/24

NEW rdb: via 172.16.2.2

RT: add 172.16.3.0/24 via 172.16.2.2, rip metric [120/1]

RT: NET-RED 172.16.3.0/24RT: SET_LAST_RDB for 192.168.1.0/24

NEW rdb: via 172.16.2.2

RT: add 192.168.1.0/24 via 172.16.2.2, rip metric [120/1]RT: NET-RED 192.168.1.0/24

Why is the route to 172.16.2.0/24 added first?

 _________________________________________________________________________ 

Why is there a delay before the other routes are added?

 _________________________________________________________________________ 

Step 6: Disable the debug output with either the no debug ip routing or the undebug all 

command.

Task 6: Determine Level 1 and Level 2 Routes

Step 1: Examine the R1 routing table.

R1#show ip route 

<Output ommited>

Gateway of last resort is not set

172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks

R 172.16.0.0/16 [120/2] via 172.16.2.2, 00:00:14, Serial0/0/0C 172.16.1.0/24 is directly connected, FastEthernet0/0

C 172.16.2.0/24 is directly connected, Serial0/0/0

R 172.16.3.0/24 [120/1] via 172.16.2.2, 00:00:14, Serial0/0/0

R 192.168.1.0/24 [120/1] via 172.16.2.2, 00:00:14, Serial0/0/0

R1#

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 133/176

CCNA ExplorationRouting Protocols and Concepts:The Routing Table: A Closer Look Lab 8.4.1: Investigating the Routing Table Lookup Proccess

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 6 of 10

Which of these routes are level 1 routes? ________________________________________________________________ 

 ________________________________________________________________ 

 ________________________________________________________________ 

 ________________________________________________________________ 

Why are these routes level 1 routes? _____________________________________________________________________________ 

 _____________________________________________________________________________ 

Are any of the level 1 routes ultimate routes? _________________________________________________________________ 

 ________________________________________________________________ 

 ________________________________________________________________ 

Why is this route an ultimate route? _____________________________________________________________________________ 

 _____________________________________________________________________________ 

Are any of the level 1 routes parent routes? ________________________________________________________________ 

 ________________________________________________________________ 

Why is this route a level 1 parent route? _____________________________________________________________________________ 

 _____________________________________________________________________________ 

Which of the routes are level 2 routes? ____________________________________________________ 

 ____________________________________________________ 

 ____________________________________________________ 

 ____________________________________________________ 

Why are these routes level 2 routes?

 _____________________________________________________________________________ 

 _____________________________________________________________________________ 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 134/176

CCNA ExplorationRouting Protocols and Concepts:The Routing Table: A Closer Look Lab 8.4.1: Investigating the Routing Table Lookup Proccess

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 7 of 10

Scenario B: Classful and Classless Routing Behavior

Topology Diagram

Task 1: Make Changes between Scenario A and Scenario B

Step 1: Remove the RIP configuration from R3 and configure a static route to 172.16.0.0/16.

R3(config)#no router rip

R3(config)#ip route 172.16.0.0 255.255.0.0 Serial0/0/1 

Step 2: Remove the 192.168.1.0 network from the R2 RIP configuration.

R2(config)#router ripR2(config-router)#no network 192.168.1.0 

Step 3: Add a static default route to R3 on the R2 router.

Include the default-information originate command in the configuration so that the

default static route is included in the RIP updates.

R2(config)#ip route 0.0.0.0 0.0.0.0 Serial0/0/1R2(config)#router rip

R2(config-router)#default-information originate 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 135/176

CCNA ExplorationRouting Protocols and Concepts:The Routing Table: A Closer Look Lab 8.4.1: Investigating the Routing Table Lookup Proccess

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 8 of 10

Task 2: Enable Classful Routing Behavior on the Routers 

Step 1: Use the no ip classless command to configure the route lookup process to use

classful route lookups.

R1R1(config)#no ip classless

R2R2(config)#no ip classless 

R3R3(config)#no ip classless 

Step 2: Examine the routing table on the R2 router.

R2#show ip route 

<output omitted>

Gateway of last resort is not set

172.16.0.0/24 is subnetted, 4 subnets

R 172.16.0.0 [120/1] via 192.168.1.2, 00:00:13, Serial0/0/1

R 172.16.1.0 [120/1] via 172.16.2.1, 00:00:00, Serial0/0/0

C 172.16.2.0 is directly connected, Serial0/0/0

C 172.16.3.0 is directly connected, FastEthernet0/0

C 192.168.1.0/24 is directly connected, Serial0/0/1

R2#

Step 3: Ping from R2 to PC3 and observe the results.

R2# ping 172.16.4.10 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.4.10, timeout is 2 seconds:

.....

Success rate is 0 percent (0/5 )The ping is unsuccessful because the router is using classful routing behavior.

The route lookup process on the R2 router searches the routing table and finds that the first 16bits of the destination address are a match with the parent route 172.16.0.0/16. Since thedestination address matches the parent route, the child routes are checked.

What are the child routes of the 172.16.0.0/16 parent network?

 ____________________________________________________ 

 ____________________________________________________ 

 ____________________________________________________ 

How many bits in the destination address must match in order for a packet to be forwarded usingone of the child routes? ________ 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 136/176

CCNA ExplorationRouting Protocols and Concepts:The Routing Table: A Closer Look Lab 8.4.1: Investigating the Routing Table Lookup Proccess

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 9 of 10

Does the destination address of the ping packets match any of the child routes of 172.16.0.0/16? ________ 

Since the no ip classless command has been used to configure the R2 router to use classful

routing behavior, once a level 1 match is found the router will not search beyond the child routesfor a lesser match. Even though there is a default static route configured, it will not be used, andthe packet will be dropped.

Task 3: Enable Classless Routing Behavior on the Routers

Step 1: Use the ip classless command to reenable classless routing.

R1R1(config)#ip classless

R2

R2(config)#ip classless 

R3R3(config)#ip classless 

Step 2: Examine the routing table on R2.

Notice that the routing table is the still the same even though the router configuration has beenchanged to use classless routing behavior.

R2#show ip route 

<output omitted>

Gateway of last resort is not set

172.16.0.0/24 is subnetted, 4 subnets

R 172.16.0.0 [120/1] via 192.168.1.2, 00:00:13, Serial0/0/1

R 172.16.1.0 [120/1] via 172.16.2.1, 00:00:00, Serial0/0/0

C 172.16.2.0 is directly connected, Serial0/0/0

C 172.16.3.0 is directly connected, FastEthernet0/0

C 192.168.1.0/24 is directly connected, Serial0/0/1

R2#

Step 3: Repeat the ping from R2 to PC3 and observe results.

R2# ping 172.16.4.10 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.4.10, timeout is 2 seconds:

!!!!!

Success rate is 100 percent, round-trip min/avg/max = 28/28/28 ms

The ping is successful this time because the router is using classless routing behavior.

The destination address of the packet is a match with the level 1 parent route 172.16.0.0/16 butthere is not a match with any of the child routes of this parent route.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 137/176

CCNA ExplorationRouting Protocols and Concepts:The Routing Table: A Closer Look Lab 8.4.1: Investigating the Routing Table Lookup Proccess

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 10 of 10

Since classless routing behavior is configured, the router will now continue to search the routingtable for a route where there may be fewer bits that match, but the route is still a match. Themask of a default route is /0, which means that no bits need to match. In classless routing

behavior, if no other route matches, the default route will always match.

S* 0.0.0.0/0 is directly connected, Serial0/0/1

Since there is a default route configured on the R2 router, this route is used to forward thepackets to PC3.

Step 4: Examine the routing table on R3 to determine how the traffic generated by the pingcommand is returned to R2.

R3#show ip route 

<output omitted>

Gateway of last resort is not set

172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks

S 172.16.0.0/16 is directly connected, Serial0/0/1

C 172.16.4.0/24 is directly connected, FastEthernet0/0

C 192.168.1.0/24 is directly connected, Serial0/0/1

R3#

Notice that in the routing table for R3, both the 172.16.4.0/24 subnet route and the 172.16.0.0/16classful network route are level 2 child routes of the 172.16.0.0/16 parent route. In this case, R3uses the 172.16.0.0/16 child route and forwards the return traffic out Serial 0/0/1 back to R2.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 138/176

 

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 1 of 15

Lab 9.6.1: Basic EIGRP Configuration Lab

Topology Diagram

Addressing Table

Device Interface IP Address Subnet Mask Default Gateway

Fa0/0 172.16.1.1 255.255.255.0 N/A

S0/0/0 172.16.3.1 255.255.255.252 N/AR1

S0/0/1 192.168.10.5 255.255.255.252 N/A

Fa0/0 172.16.2.1 255.255.255.0 N/A

S0/0/0 172.16.3.2 255.255.255.252 N/A

S0/0/1 192.168.10.9 255.255.255.252 N/AR2

Lo1 10.1.1.1 255.255.255.252 N/A

Fa0/0 192.168.1.1 255.255.255.0 N/A

S0/0/0 192.168.10.6 255.255.255.252 N/AR3

S0/0/1 192.168.10.10 255.255.255.252 N/A

PC1 NIC 172.16.1.10 255.255.255.0 172.16.1.1

PC2 NIC 172.16.2.10 255.255.255.0 172.16.2.1

PC3 NIC 192.168.1.10 255.255.255.0 192.168.1.1

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 139/176

CCNA ExplorationRouting Protocols and Concepts: EIGRP Lab 9.6.1: Basic EIGRP Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 2 of 15

Learning Objectives

Upon completion of this lab, you will be able to:

• Cable a network according to the Topology Diagram.

• Erase the startup configuration and reload a router to the default state.• Perform basic configuration tasks on a router.

• Configure and activate interfaces.

• Configure EIGRP routing on all routers.

• Verify EIGRP routing using show commands.

• Disable automatic summarization.

• Configure manual summarization.

• Configure a static default route.

• Propagate default route to EIGRP neighbors.

• Document the EIGRP configuration.

Scenario

In this lab activity, you will learn how to configure the routing protocol EIGRP using the network shown inthe Topology Diagram. A loopback address will be used on the R2 router to simulate a connection to anISP, where all traffic that is not destined for the local network will be sent. Some segments of the networkhave been subnetted using VLSM. EIGRP is a classless routing protocol that can be used to providesubnet mask information in the routing updates. This will allow VLSM subnet information to bepropagated throughout the network.

Task 1: Prepare the Network.

Step 1: Cable a network that is similar to the one in the Topology Diagram.

You can use any current router in your lab as long as it has the required interfaces shown in the topology.

Step 2: Clear any existing configurations on the routers.

Task 2: Perform Basic Router Configurations,

Perform basic configuration of the R1, R2, and R3 routers according to the following guidelines:

1. Configure the router hostname.

2. Disable DNS lookup.

3. Configure an EXEC mode password.

4. Configure a message-of-the-day banner.

5. Configure a password for console connections.

6. Configure a password for VTY connections.

Task 3: Configure and Activate Serial and Ethernet Addresses.

Step 1: Configure the interfaces on the R1, R2, and R3 routers.

Configure the interfaces on the R1, R2, and R3 routers with the IP addresses from the table under theTopology Diagram.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 140/176

CCNA ExplorationRouting Protocols and Concepts: EIGRP Lab 9.6.1: Basic EIGRP Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 15

Step 2: Verify IP addressing and interfaces.

Use the show ip interface brief command to verify that the IP addressing is correct and that the

interfaces are active.

When you have finished, be sure to save the running configuration to the NVRAM of the router.

Step 3: Configure Ethernet interfaces of PC1, PC2, and PC3.

Configure the Ethernet interfaces of PC1, PC2, and PC3 with the IP addresses and default gatewaysfrom the table under the Topology Diagram.

Task 4: Configure EIGRP on the R1 Router.

Step 1: Enable EIGRP.

Use the router eigrp command in global configuration mode to enable EIGRP on the R1 router. Enter

a process ID of 1 for the autonomous-system parameter.

R1(config)#router eigrp 1 

R1(config-router)#

Step 2: Configure classful network 172.16.0.0.

Once you are in the Router EIGRP configuration sub-mode, configure the classful network 172.16.0.0 tobe included in the EIGRP updates that are sent out of R1.

R1(config-router)#network 172.16.0.0 

R1(config-router)#

The router will begin to send EIGRP update messages out each interface belonging to the 172.16.0.0network. EIGRP updates will be sent out of the FastEthernet0/0 and Serial0/0/0 interfaces because theyare both on subnets of the 172.16.0.0 network. 

Step 3: Configure the router to advertise the 192.168.10.4/30 network attached to the Serial0/0/1interface.

Use the wildcard-mask option with the network command to advertise only the subnet and not the

entire 192.168.10.0 classful network.

Note: Think of a wildcard mask as the inverse of a subnet mask. The inverse of the subnet mask255.255.255.252 is 0.0.0.3. To calculate the inverse of the subnet mask, subtract the subnet mask from255.255.255.255:

255.255.255.255

– 255.255.255.252 Subtract the subnet mask-------------------

0. 0. 0. 3 Wildcard mask 

R1(config-router)# network 192.168.10.4 0.0.0.3R1(config-router)#

When you are finished with the EIGRP configuration for R1, return to privileged EXEC mode and save thecurrent configuration to NVRAM. 

R1(config-router)#end

%SYS-5-CONFIG_I: Configured from console by console

R1#

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 141/176

CCNA ExplorationRouting Protocols and Concepts: EIGRP Lab 9.6.1: Basic EIGRP Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 4 of 15

Task 5: Configure EIGRP on the R2 and R3 Routers.

Step 1: Enable EIGRP routing on the R2 router using the router eigrp command.

Use a process ID of 1.

R2(config)#router eigrp 1

 

R2(config-router)#

Step 2: Use the classful address 172.16.0.0 to include the network for the FastEthernet0/0interface.

R2(config-router)#network 172.16.0.0 

R2(config-router)#

%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 172.16.3.1 (Serial0/0/0) is up:

new adjacency

Notice that DUAL sends a notification message to the console stating that a neighbor relationship withanother EIGRP router has been established.

What is the IP address of the EIGRP neighbor router?

 ________________________________________ 

What interface on the R2 router is the neighbor adjacent to?

 ________________________________________ 

Step 3: Configure the R2 router to advertise the 192.168.10.8/30 network attached to the Serial0/0/1interface.

1. Use the wildcard-mask option with the network command to advertise only the subnet and

not the entire 192.168.10.0 classful network.

2. When you are finished, return to privileged EXEC mode.

R2(config-router)#network 192.168.10.8 0.0.0.3 R2(config-router)#end 

%SYS-5-CONFIG_I: Configured from console by console

R2#

Step 4: Configure EIGRP on the R3 router using the router eigrp and network commands.

1. Use a process ID of 1.

2. Use the classful network address for the network attached to the FastEthernet0/0 interface.

3. Include the wildcard masks for the subnets attached to the Serial0/0/0 and Serial 0/0/1 interfaces.

4. When you are finished, return to privileged EXEC mode.

R3(config)#router eigrp 1 

R3(config-router)#network 192.168.1.0 R3(config-router)#network 192.168.10.4 0.0.0.3 

R3(config-router)#

%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.5 (Serial0/0/0) is up:

new adjacency

R3(config-router)#network 192.168.10.8 0.0.0.3

R3(config-router)#

%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.10.9 (Serial0/0/1) is up:

new adjacency

R3(config-router)#end 

%SYS-5-CONFIG_I: Configured from console by console

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 142/176

CCNA ExplorationRouting Protocols and Concepts: EIGRP Lab 9.6.1: Basic EIGRP Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 5 of 15

R3#

Notice that when the networks for the serial links from R3 to R1 and R3 to R2 are added to the EIGRPconfiguration, DUAL sends a notification message to the console stating that a neighbor relationship withanother EIGRP router has been established.

Task 6: Verify EIGRP Operation.

Step 1: View neighbors.

On the R1 router, use the show ip eigrp neighbors command to view the neighbor table and verify

that EIGRP has established an adjacency with the R2 and R3 routers. You should be able to see the IPaddress of each adjacent router and the interface that R1 uses to reach that EIGRP neighbor.

R1#show ip eigrp neighbors

IP-EIGRP neighbors for process 1

H Address Interface Hold Uptime SRTT RTO Q Seq

(sec) (ms) Cnt Num

0 172.16.3.2 Ser0/0/0 10 00:36:51 40 500 0 13

1 192.168.10.6 Ser0/0/1 11 00:26:51 40 500 0 4R1#

Step 2: View routing protocol information.

On the R1 router, use the show ip protocols command to view information about the routing

protocol operation. Notice that the information that was configured in Task 5, such as protocol, processID, and networks, is shown in the output. The IP addresses of the adjacent neighbors are also shown.

R1#show ip protocols 

Routing Protocol is "eigrp 1 "

Outgoing update filter list for all interfaces is not set

Incoming update filter list for all interfaces is not set

Default networks flagged in outgoing updates

Default networks accepted from incoming updates

EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0

EIGRP maximum hopcount 100

EIGRP maximum metric variance 1

Redistributing: eigrp 1

Automatic network summarization is in effect

Automatic address summarization:

Maximum path: 4

Routing for Networks:

172.16.0.0

192.168.10.4/30

Routing Information Sources:

Gateway Distance Last Update172.16.3.2 90 4811399

192.168.10.6 90 5411677

Distance: internal 90 external 170

Notice that the output specifies the process ID used by EIGRP. Remember, the process ID must be thesame on all routers for EIGRP to establish neighbor adjacencies and share routing information.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 143/176

CCNA ExplorationRouting Protocols and Concepts: EIGRP Lab 9.6.1: Basic EIGRP Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 6 of 15

Task7: Examine EIGRP Routes in the Routing Tables.

Step1: View the routing table on the R1 router.

EIGRP routes are denoted in the routing table with a D, which stands for DUAL (Diffusing UpdateAlgorithm), which is the routing algorithm used by EIGRP.

R1#show ip route 

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

* - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route

Gateway of last resort is not set

172.16.0.0/16 is variably subnetted, 4 subnets, 3 masks

D 172.16.0.0/16 is a summary, 01:16:19, Null0

C 172.16.1.0/24 is directly connected, FastEthernet0/0D 172.16.2.0/24 [90/2172416] via 172.16.3.2, 01:16:20, Serial0/0/0

C 172.16.3.0/30 is directly connected, Serial0/0/0

D 192.168.1.0/24 [90/2172416] via 192.168.10.6, 01:06:18, Serial0/0/1

192.168.10.0/24 is variably subnetted, 3 subnets, 2 masks

D 192.168.10.0/24 is a summary, 01:06:07, Null0

C 192.168.10.4/30 is directly connected, Serial0/0/1

D 192.168.10.8/30 [90/2681856] via 192.168.10.6, 01:06:07, Serial0/0/1

R1#

Notice that the 172.16.0.0/16 parent network is variably subnetted with three child routes using either a /24 or /30 mask. Also notice that EIGRP has automatically included a summary route to Null0 for the172.16.0.0/16 network. The 172.16.0.0/16 route does not actually represent a path to reach the parent

network, 172.16.0.0/16. If a packet destined for 172.16.0.0/16 does not match one of the level 2 childroutes, it is sent to the Null0 interface.

172.16.0.0/16 is variably subnetted, 4 subnets, 3 masks

D 172.16.0.0/16 is a summary, 01:16:19, Null0

C 172.16.1.0/24 is directly connected, FastEthernet0/0

D 172.16.2.0/24 [90/2172416] via 172.16.3.2, 01:16:20, Serial0/0/0

C 172.16.3.0/30 is directly connected, Serial0/0/0

The 192.168.10.0/24 Network is also variably subnetted and includes a Null0 route.

192.168.10.0/24 is variably subnetted, 3 subnets, 2 masks

D 192.168.10.0/24 is a summary, 01:06:07, Null0

C 192.168.10.4/30 is directly connected, Serial0/0/1

D 192.168.10.8/30 [90/2681856] via 192.168.10.6, 01:06:07, Serial0/0/1

Step 2: View the routing table on the R3 router.

The routing table for R3 shows that both R1 and R2 are automatically summarizing the 172.16.0.0/16network and sending it as a single routing update. Because of automatic summarization, R1 and R2 arenot propagating the individual subnets. Because R3 is getting two equal cost routes for 172.16.0.0/16from both R1 and R2, both routes are included in the routing table.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 144/176

CCNA ExplorationRouting Protocols and Concepts: EIGRP Lab 9.6.1: Basic EIGRP Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 7 of 15

R3#show ip route 

<output omitted>

D 172.16.0.0/16 [90/2172416] via 192.168.10.5, 01:15:35, Serial0/0/0

[90/2172416] via 192.168.10.9, 01:15:22, Serial0/0/1

C 192.168.1.0/24 is directly connected, FastEthernet0/0192.168.10.0/24 is variably subnetted, 3 subnets, 2 masks

D 192.168.10.0/24 is a summary, 01:15:22, Null0

C 192.168.10.4/30 is directly connected, Serial0/0/0

C 192.168.10.8/30 is directly connected, Serial0/0/1

R3#

Task 8: Configure EIGRP Metrics.

Step 1: View the EIGRP metric information.

Use the show ip interface command to view the EIGRP metric information for the Serial0/0/0

interface on the R1 router. Notice the values that are shown for the bandwidth, delay, reliability, and load.

R1#show interface serial0/0/0 

Serial0/0/0 is up, line protocol is up (connected)

Hardware is HD64570

Internet address is 172.16.3.1/30

MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255

Encapsulation HDLC, loopback not set, keepalive set (10 sec)

<output omitted>

Step 2: Modify the bandwidth of the Serial interfaces.

On most serial links, the bandwidth metric will default to 1544 Kbits. If this is not the actual bandwidth ofthe serial link, the bandwidth will need to be changed so that the EIGRP metric can be calculated

correctly.For this lab, the link between R1 and R2 will be configured with a bandwidth of 64 kbps, and the linkbetween R2 and R3 will be configured with a bandwidth of 1024 kbps. Use the bandwidth command to

modify the bandwidth of the Serial interfaces of each router.

R1 router:R1(config)#interface serial0/0/0 R1(config-if)# bandwidth 64 

R2 router:R2(config)#interface serial0/0/0R2(config-if)# bandwidth 64R2(config)#interface serial0/0/1R2(config-if)#

 bandwidth 1024 

R3 router:R3(config)#interface serial0/0/1R3(config-if)# bandwidth 1024

Note: The bandwidth command only modifies the bandwidth metric used by routing protocols, not the

physical bandwidth of the link.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 145/176

CCNA ExplorationRouting Protocols and Concepts: EIGRP Lab 9.6.1: Basic EIGRP Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 8 of 15

Step 3: Verify the bandwidth modifications.

Use the show ip interface command to verify that the bandwidth value of each link has been

changed.

R1#show interface serial0/0/0 

Serial0/0/0 is up, line protocol is up (connected)

Hardware is HD64570

Internet address is 172.16.3.1/30

MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255

Encapsulation HDLC, loopback not set, keepalive set (10 sec)

<output omitted>

R2#show interface serial0/0/0 

Serial0/0/0 is up, line protocol is up (connected)

Hardware is HD64570

Internet address is 172.16.3.2/30

MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255

Encapsulation HDLC, loopback not set, keepalive set (10 sec)

<output omitted>

R3#show interface serial0/0/1 

Serial0/0/1 is up, line protocol is up (connected)

Hardware is HD64570

Internet address is 192.168.10.9/30

MTU 1500 bytes, BW 1024 Kbit, DLY 20000 usec, rely 255/255, load 1/255

Encapsulation HDLC, loopback not set, keepalive set (10 sec)

<output omitted>

Note: Use the interface configuration command no bandwidth to return the bandwidth to its default

value.

Task 9: Examine Successors and Feasible Distances.

Step 1: Examine the successors and feasible distances in the routing table on R2.

R2#show ip route

<output omitted>

10.0.0.0/30 is subnetted, 1 subnets

C 10.1.1.0 is directly connected, Loopback1

172.16.0.0/16 is variably subnetted, 4 subnets, 3 masks

D 172.16.0.0/16 is a summary, 00:00:52, Null0

D 172.16.1.0/24 [90/40514560] via 172.16.3.1, 00:00:52, Serial0/0/0

C 172.16.2.0/24 is directly connected, FastEthernet0/0

C 172.16.3.0/30 is directly connected, Serial0/0/0

D 192.168.1.0/24 [90/3014400] via 192.168.10.10, 00:00:11, Serial0/0/1

192.168.10.0/24 is variably subnetted, 3 subnets, 2 masks

D 192.168.10.0/24 is a summary, 00:00:11, Null0

D 192.168.10.4/30 [90/3523840] via 192.168.10.10, 00:00:11,

Serial0/0/1

C 192.168.10.8/30 is directly connected, Serial0/0/1

R2# 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 146/176

CCNA ExplorationRouting Protocols and Concepts: EIGRP Lab 9.6.1: Basic EIGRP Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 9 of 15

Step 2: Answer the following questions:

What is the best path to PC1?

 ____________________________________________________________________________________ 

A successor is a neighboring router that is currently being used for packet forwarding. A successor is the

least-cost route to the destination network. The IP address of a successor is shown in a routing tableentry right after the word “via”.

What is the IP address and name of the successor router in this route?

 ________________________________________ 

Feasible distance (FD) is the lowest calculated metric to reach that destination. FD is the metric listed inthe routing table entry as the second number inside the brackets.

What is the feasible distance to the network that PC1 is on?

 ________________________________________ 

Task 10: Determine if R1 is a Feasible Successor for the Route from R2 to the 192.168.1.0Network.

A feasible successor is a neighbor who has a viable backup path to the same network as the successor.In order to be a feasible successor, R1 must satisfy the feasibility condition. The feasibility condition (FC)is met when a neighbor’s reported distance (RD) to a network is less than the local router’s feasibledistance to the same destination network.

Step 1: Examine the routing table on R1.

R1#show ip route

<output omitted>

172.16.0.0/16 is variably subnetted, 4 subnets, 3 masks

D 172.16.0.0/16 is a summary, 00:42:59, Null0C 172.16.1.0/24 is directly connected, FastEthernet0/0

D 172.16.2.0/24 [90/40514560] via 172.16.3.2, 00:43:00, Serial0/0/0

C 172.16.3.0/30 is directly connected, Serial0/0/0

D 192.168.1.0/24 [90/2172416] via 192.168.10.6, 00:42:26, Serial0/0/1

192.168.10.0/24 is variably subnetted, 3 subnets, 2 masks

D 192.168.10.0/24 is a summary, 00:42:20, Null0

C 192.168.10.4/30 is directly connected, Serial0/0/1

D 192.168.10.8/30 [90/3523840] via 192.168.10.6, 00:42:20,

Serial0/0/1

R1#

What is the reported distance to the 192.168.1.0 network?

 ________________________________________ 

Step 2: Examine the routing table on R2.

R2#show ip route

<output omitted>

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 147/176

CCNA ExplorationRouting Protocols and Concepts: EIGRP Lab 9.6.1: Basic EIGRP Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 10 of 15

10.0.0.0/30 is subnetted, 1 subnets

C 10.1.1.0 is directly connected, Loopback1

172.16.0.0/16 is variably subnetted, 4 subnets, 3 masks

D 172.16.0.0/16 is a summary, 00:00:52, Null0

D 172.16.1.0/24 [90/40514560] via 172.16.3.1, 00:00:52, Serial0/0/0

C 172.16.2.0/24 is directly connected, FastEthernet0/0

C 172.16.3.0/30 is directly connected, Serial0/0/0D 192.168.1.0/24 [90/3014400] via 192.168.10.10, 00:00:11, Serial0/0/1

192.168.10.0/24 is variably subnetted, 3 subnets, 2 masks

D 192.168.10.0/24 is a summary, 00:00:11, Null0

D 192.168.10.4/30 [90/3523840] via 192.168.10.10, 00:00:11, Serial0/0/1

C 192.168.10.8/30 is directly connected, Serial0/0/1

R2# 

What is the feasible distance to the 192.168.1.0 network?

 ________________________________________ 

Would R2 consider R1 to be a feasible successor to the 192.168.1.0 network? _______ 

Task 11: Examine the EIGRP Topology Table.

Step 1: View the EIGRP topology table.

Use the show ip eigrp topology command to view the EIGRP topology table on R2.

R2#show ip eigrp topology 

IP-EIGRP Topology Table for AS 1

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,

r - Reply status

P 172.16.2.0/24, 1 successors, FD is 28160

via Connected, FastEthernet0/0P 172.16.3.0/30, 1 successors, FD is 40512000

via Connected, Serial0/0/0

P 192.168.10.8/30, 1 successors, FD is 3011840

via Connected, Serial0/0/1

P 172.16.0.0/16, 1 successors, FD is 28160

via Summary (28160/0), Null0

P 192.168.10.0/24, 1 successors, FD is 3011840

via Summary (3011840/0), Null0

P 172.16.1.0/24, 1 successors, FD is 40514560

via 172.16.3.1 (40514560/28160), Serial0/0/0

P 192.168.1.0/24, 1 successors, FD is 3014400

via 192.168.10.10 (3014400/28160), Serial0/0/1

via 172.16.3.1 (41026560/2172416), Serial0/0/0

P 192.168.10.4/30, 1 successors, FD is 3523840

via 192.168.10.10 (3523840/2169856), Serial0/0/1

R2#

Step 2: View detailed EIGRP topology information.

Use the [network] parameter of the show ip eigrp topology command to view detailed EIGRP

topology information for the 192.16.0.0 network.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 148/176

CCNA ExplorationRouting Protocols and Concepts: EIGRP Lab 9.6.1: Basic EIGRP Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 11 of 15

R2#show ip eigrp topology 192.168.1.0 

IP-EIGRP (AS 1): Topology entry for 192.168.1.0/24

State is Passive, Query origin flag is 1, 1 Successor(s), FD is 3014400

Routing Descriptor Blocks:

192.168.10.10 (Serial0/0/1), from 192.168.10.10, Send flag is 0x0

Composite metric is (3014400/28160), Route is Internal

Vector metric:Minimum bandwidth is 1024 Kbit

Total delay is 20100 microseconds

Reliability is 255/255

Load is 1/255

Minimum MTU is 1500

Hop count is 1

172.16.3.1 (Serial0/0/0), from 172.16.3.1, Send flag is 0x0

Composite metric is (41026560/2172416), Route is Internal

Vector metric:

Minimum bandwidth is 64 Kbit

Total delay is 40100 microseconds

Reliability is 255/255

Load is 1/255Minimum MTU is 1500

Hop count is 2

R2#

How many successors are there for this network?

 ________________________________________ 

What is the feasible distance to this network?

 ________________________________________ 

What is the IP address of the feasible successor?

 ________________________________________ 

What is the reported distance for 192.168.1.0 from the feasible successor?

 ________________________________________ 

What would be the feasible distance to 192.168.1.0 if R1 became the successor?

 ________________________________________ 

Task 12: Disable EIGRP Automatic Summarization.

Step 1: Examine the routing table of the R3 router.

Notice that R3 is not receiving individual routes for the 172.16.1.0/24, 172.16.2.0/24, and 172.16.3.0/24subnets. Instead, the routing table only has a summary route to the classful network address of172.16.0.0/16 through the R1 router. This will cause packets that are destined for the 172.16.2.0/24network to be sent through the R1 router instead of being sent straight to the R2 router.

R3#show ip route 

<output omitted>

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 149/176

CCNA ExplorationRouting Protocols and Concepts: EIGRP Lab 9.6.1: Basic EIGRP Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 12 of 15

D 172.16.0.0/16 [90/2172416] via 192.168.10.5, 01:21:54, Serial0/0/0

C 192.168.1.0/24 is directly connected, FastEthernet0/0

192.168.10.0/24 is variably subnetted, 3 subnets, 2 masks

D 192.168.10.0/24 is a summary, 01:21:47, Null0

C 192.168.10.4/30 is directly connected, Serial0/0/0

C 192.168.10.8/30 is directly connected, Serial0/0/1

R3#

Why is the R1 router (192.168.10.5) the only successor for the route to the 172.16.0.0/16 network?

 ____________________________________________________________________________________ 

 ____________________________________________________________________________________ 

 ____________________________________________________________________________________ 

Notice that the reported distance from R2 is higher than the feasible distance from R1.

R3#show ip eigrp topology

IP-EIGRP Topology Table for AS 1

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,

r - Reply status

P 192.168.1.0/24, 1 successors, FD is 28160

via Connected, FastEthernet0/0

P 192.168.10.4/30, 1 successors, FD is 2169856

via Connected, Serial0/0/0

P 192.168.10.0/24, 1 successors, FD is 2169856

via Summary (2169856/0), Null0

P 172.16.0.0/16, 1 successors, FD is 2172416

via 192.168.10.5 (2172416/28160), Serial0/0/0

via 192.168.10.9 (3014400/28160), Serial0/0/1

P 192.168.10.8/30, 1 successors, FD is 3011840

via Connected, Serial0/0/1

Step 3: Disable automatic summarization on all three routers with the no auto-summary 

command.

R1(config)#router eigrp 1 

R1(config-router)#no auto-summary 

R2(config)#router eigrp 1 

R2(config-router)#no auto-summary 

R3(config)#router eigrp 1 

R3(config-router)#no auto-summary 

Step 4: View the routing table on R1 again.

Notice that individual routes for the 172.16.1.0/24, 172.16.2.0/24, and 172.16.3.0/24 subnets are nowpresent and the summary Null route is no longer listed.

R3#show ip route 

<output omitted>

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 150/176

CCNA ExplorationRouting Protocols and Concepts: EIGRP Lab 9.6.1: Basic EIGRP Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 13 of 15

172.16.0.0/16 is variably subnetted, 4 subnets, 3 masks

D 172.16.1.0/24 [90/2172416] via 192.168.10.5, 00:02:37, Serial0/0/0

D 172.16.2.0/24 [90/3014400] via 192.168.10.9, 00:02:39, Serial0/0/1

D 172.16.3.0/30 [90/41024000] via 192.168.10.9, 00:02:39, Serial0/0/1

[90/41024000] via 192.168.10.5, 00:02:37, Serial0/0/0

C 192.168.1.0/24 is directly connected, FastEthernet0/0

192.168.10.0/24 is variably subnetted, 3 subnets, 2 masksC 192.168.10.4/30 is directly connected, Serial0/0/0

C 192.168.10.8/30 is directly connected, Serial0/0/1

R3#

Task 13: Configure Manual Summarization.

Step 1: Add loopback addresses to R3 router.

Add two loopback addresses, 192.168.2.1/24 and 192.168.3.1/24, to the R3 router. These virtualinterfaces will be used to represent networks to be manually summarized along with the 192.168.1.0/24LAN.

R3(config)#interface loopback1 

%LINK-5-CHANGED: Interface Loopback1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state

to upR3(config-if)#ip address 192.168.2.1 255.255.255.0 

R3(config-if)#interface loopback2 

%LINK-5-CHANGED: Interface Loopback2, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback2, changed state

to up

R3(config-if)#ip address 192.168.3.1 255.255.255.0 

R3(config-if)#

Step 2: Add the 192.168.2.0 and 192.168.3.0 networks to the EIGRP configuration on R3.

R3(config)#router eigrp 1 

R3(config-router)#network 192.168.2.0 

R3(config-router)#network 192.168.3.0 

Step 3: Verify new routes.

View the routing table on the R1 router to verify that the new routes are being sent out in the EIGRPupdates sent by R3.

R1#show ip route 

<output omitted>

172.16.0.0/16 is variably subnetted, 4 subnets, 3 masks

C 172.16.1.0/24 is directly connected, FastEthernet0/0

D 172.16.2.0/24 [90/3526400] via 192.168.10.6, 00:15:07, Serial0/0/1

C 172.16.3.0/30 is directly connected, Serial0/0/0

D 192.168.1.0/24 [90/2172416] via 192.168.10.6, 00:15:07, Serial0/0/1

D 192.168.2.0/24 [90/2297856] via 192.168.10.6, 00:01:07, Serial0/0/1

D 192.168.3.0/24 [90/2297856] via 192.168.10.6, 00:00:57, Serial0/0/1

192.168.10.0/24 is variably subnetted, 3 subnets, 2 masks

C 192.168.10.4/30 is directly connected, Serial0/0/1

D 192.168.10.8/30 [90/3523840] via 192.168.10.6, 00:15:07, Serial0/0/1

R1#

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 151/176

CCNA ExplorationRouting Protocols and Concepts: EIGRP Lab 9.6.1: Basic EIGRP Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 14 of 15

Step 4: Apply manual summarization to outbound interfaces.

The routes to the 192.168.1.0/24, 192.168.2.0/24, and 192.168.3.0/24 networks can be summarized inthe single network 192.168.0.0/22. Use the ip summary-address eigrp as-number network-

address subnet-mask command to configure manual summarization on each of the outboundinterfaces connected to EIGRP neighbors.

R3(config)#interface serial0/0/0R3(config-if)#ip summary-address eigrp 1 192.168.0.0 255.255.252.0 R3(config-if)#interface serial0/0/1 R3(config-if)#ip summary-address eigrp 1 192.168.0.0 255.255.252.0 

R3(config-if)#

Step 5: Verify the summary route.

View the routing table on the R1 router to verify that the summary route is being sent out in the EIGRPupdates sent by R3.

R1#show ip route 

<output omitted>

172.16.0.0/16 is variably subnetted, 4 subnets, 3 masks

C 172.16.1.0/24 is directly connected, FastEthernet0/0

D 172.16.2.0/24 [90/3526400] via 192.168.10.6, 00:15:07, Serial0/0/1

C 172.16.3.0/30 is directly connected, Serial0/0/0

D 192.168.0.0/22 [90/2172416] via 192.168.10.6, 00:01:11, Serial0/0/1

192.168.10.0/24 is variably subnetted, 3 subnets, 2 masks

C 192.168.10.4/30 is directly connected, Serial0/0/1

D 192.168.10.8/30 [90/3523840] via 192.168.10.6, 00:15:07, Serial0/0/1

R1#

Task 14: Configure and Distribute a Static Default Route.

Step 1: Configure a static default route on the R2 router.

Use the loopback address that has been configured to simulate a link to an ISP as the exit interface.

R2(config)#ip route 0.0.0.0 0.0.0.0 loopback1 

R2(config)#

Step 2: Include the static route in EIGRP updates.

Use the redistribute static command to include the static route in the EIGRP updates that are

sent from the R2 router.

R2(config)#router eigrp 1R2(config-router)#redistribute static

R2(config-router)#

Step 3: Verify the static default route.

View the routing table on the R1 router to verify that the static default route is being redistributed viaEIGRP.

R1#show ip route

<output omitted>

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 152/176

CCNA ExplorationRouting Protocols and Concepts: EIGRP Lab 9.6.1: Basic EIGRP Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 15 of 15

Gateway of last resort is 192.168.10.6 to network 0.0.0.0

192.168.10.0/30 is subnetted, 2 subnets

C 192.168.10.4 is directly connected, Serial0/0/1

D 192.168.10.8 [90/3523840] via 192.168.10.6, 01:06:01, Serial0/0/1

172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks

C 172.16.1.0/24 is directly connected, FastEthernet0/0D 172.16.2.0/24 [90/3526400] via 192.168.10.6, 01:05:39, Serial0/0/1

C 172.16.3.0/30 is directly connected, Serial0/0/0

D*EX 0.0.0.0/0 [170/3651840] via 192.168.10.6, 00:02:14, Serial0/0/1

D 192.168.0.0/22 [90/2172416] via 192.168.10.6, 01:05:38, Serial0/0/1

Task 15: Documentation

On each router, capture the following command output to a text (.txt) file and save for future reference.

•  show running-config

•  show ip route

•  show ip interface brief

•  show ip protocols

Task 16: Clean Up

Erase the configurations and reload the routers. Disconnect and store the cabling. For PC hosts that arenormally connected to other networks (such as the school LAN or to the Internet), reconnect theappropriate cabling and restore the TCP/IP settings.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 153/176

 

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 1 of 24

Lab 11.6.1: Basic OSPF Configuration Lab

Learning Objectives

Upon completion of this lab, you will be able to:

• Cable a network according to the Topology Diagram

• Erase the startup configuration and reload a router to the default state

• Perform basic configuration tasks on a router

• Configure and activate interfaces

• Configure OSPF routing on all routers

• Configure OSPF router IDs

• Verify OSPF routing using show commands

• Configure a static default route

• Propagate default route to OSPF neighbors

• Configure OSPF Hello and Dead Timers

• Configure OSPF on a Multiacess network

• Configure OSPF priority

• Understand the OSPF election process

• Document the OSPF configuration

ScenariosIn this lab activity, there are two separate scenarios. In the first scenario, you will learn how toconfigure the routing protocol OSPF using the network shown in the Topology Diagram inScenario A. The segments of the network have been subnetted using VLSM. OSPF is a classlessrouting protocol that can be used to provide subnet mask information in the routing updates. Thiswill allow VLSM subnet information to be propagated throughout the network.

In the second scenario, you will learn to configure OSPF on a multi-access network. You will alsolearn to use the OSPF election process to determine the designated router (DR), backupdesignated router (BDR), and DRother states.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 154/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 2 of 24

Scenario A: Basic OSPF Configuration

Topology Diagram

Addressing Table

Device Interface IP Address Subnet MaskDefault

Gateway

Fa0/0 172.16.1.17 255.255.255.240 N/A

S0/0/0 192.168.10.1 255.255.255.252 N/AR1

S0/0/1 192.168.10.5 255.255.255.252 N/A

Fa0/0 10.10.10.1 255.255.255.0 N/A

S0/0/0 192.168.10.2 255.255.255.252 N/AR2

S0/0/1 192.168.10.9 255.255.255.252 N/A

Fa0/0 172.16.1.33 255.255.255.248 N/A

S0/0/0 192.168.10.6 255.255.255.252 N/AR3

S0/0/1 192.168.10.10 255.255.255.252 N/A

PC1 NIC 172.16.1.20 255.255.255.240 172.16.1.17

PC2 NIC 10.10.10.10 255.255.255.0 10.10.10.1

PC3 NIC 172.16.1.35 255.255.255.248 172.16.1.33

Task 1: Prepare the Network.

Step 1: Cable a network that is similar to the one in the Topology Diagram.

You can use any current router in your lab as long as it has the required interfaces shown in thetopology.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 155/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 24

Note: If you use 1700, 2500, or 2600 routers, the router outputs and interface descriptions willappear different.

Step 2: Clear any existing configurations on the routers.

Task 2: Perform Basic Router Configurations.Perform basic configuration of the R1, R2, and R3 routers according to the following guidelines:

1. Configure the router hostname.

2. Disable DNS lookup.

3. Configure an EXEC mode password.

4. Configure a message-of-the-day banner.

5. Configure a password for console connections.

6. Configure a password for VTY connections.

Task 3: Configure and Activate Serial and Ethernet Addresses.

Step 1: Configure interfaces on R1, R2, and R3.

Configure the interfaces on the R1, R2, and R3 routers with the IP addresses from the tableunder the Topology Diagram.

Step 2: Verify IP addressing and interfaces.

Use the show ip interface brief command to verify that the IP addressing is correct and

that the interfaces are active.

When you have finished, be sure to save the running configuration to the NVRAM of the router.

Step 3: Configure Ethernet interfaces of PC1, PC2, and PC3.Configure the Ethernet interfaces of PC1, PC2, and PC3 with the IP addresses and defaultgateways from the table under the Topology Diagram.

Step 4: Test the PC configuration by pinging the default gateway from the PC.

Task 4: Configure OSPF on the R1 Router

Step 1: Use the router ospf command in global configuration mode to enable OSPF on the

R1 router. Enter a process ID of 1 for the  process-ID parameter.

R1(config)#router ospf 1 

R1(config-router)#

Step 2: Configure the network statement for the LAN network.

Once you are in the Router OSPF configuration sub-mode, configure the LAN network172.16.1.16/28 to be included in the OSPF updates that are sent out of R1.

The OSPF network command uses a combination of network-address and wildcard-mask 

similar to that which can be used by EIGRP. Unlike EIGRP, the wildcard mask in OSPF isrequired.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 156/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 4 of 24

Use an area ID of 0 for the OSPF area-id  parameter. 0 will be used for the OSPF area ID in allof the network statements in this topology.

R1(config-router)#network 172.16.1.16 0.0.0.15 area 0 

R1(config-router)#

Step 3: Configure the router to advertise the 192.168.10.0/30 network attached to theSerial0/0/0 interface.

R1(config-router)# network 192.168.10.0 0.0.0.3 area 0R1(config-router)#

Step 4: Configure the router to advertise the 192.168.10.4/30 network attached to theSerial0/0/1 interface.

R1(config-router)# network 192.168.10.4 0.0.0.3 area 0R1(config-router)#

Step 5: When you are finished with the OSPF configuration for R1, return to privileged

EXEC mode.

R1(config-router)#end

%SYS-5-CONFIG_I: Configured from console by console

R1#

Task 5: Configure OSPF on the R2 and R3 Routers

Step 1: Enable OSPF routing on the R2 router using the router ospf command.Use a process ID of 1.

R2(config)#router ospf 1 

R2(config-router)#

Step 2: Configure the router to advertise the LAN network 10.10.10.0/24 in the OSPFupdates.

R2(config-router)#network 10.10.10.0 0.0.0.255 area 0 

R2(config-router)#

Step 3: Configure the router to advertise the 192.168.10.0/30 network attached to theSerial0/0/0 interface.

R2(config-router)#network 192.168.10.0 0.0.0.3 area 0 

R2(config-router)#

00:07:27: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.10.5 on Serial0/0/0

from EXCHANGE to FULL, Exchange Done

Notice that when the network for the serial link from R1 to R2 is added to the OSPF configuration,the router sends a notification message to the console stating that a neighbor relationship withanother OSPF router has been established.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 157/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 158/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 6 of 24

The router ID can also be seen in the output of the show ip protocols, show ip ospf, and

show ip ospf interfaces commands.

R3#show ip protocols

Routing Protocol is "ospf 1"

Outgoing update filter list for all interfaces is not set

Incoming update filter list for all interfaces is not set

Router ID 192.168.10.10

Number of areas in this router is 1. 1 normal 0 stub 0 nssa

Maximum path: 4

<output omitted>

R3#show ip ospf 

Routing Process "ospf 1" with ID 192.168.10.10

Supports only single TOS(TOS0) routes

Supports opaque LSA

SPF schedule delay 5 secs, Hold time between two SPFs 10 secs

<output omitted>

R3#show ip ospf interface

FastEthernet0/0 is up, line protocol is up

Internet address is 172.16.1.33/29, Area 0

Process ID 1, Router ID 192.168.10.10, Network Type BROADCAST, Cost:

1

Transmit Delay is 1 sec, State DR, Priority 1

Designated Router (ID) 192.168.10.10, Interface address 172.16.1.33

No backup designated router on this network

Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

Hello due in 00:00:00

Index 1/1, flood queue length 0

Next 0x0(0)/0x0(0)

Last flood scan length is 1, maximum is 1

Last flood scan time is 0 msec, maximum is 0 msec

Neighbor Count is 0, Adjacent neighbor count is 0

Suppress hello for 0 neighbor(s)

<output omitted>

R3#

Step 2: Use loopback addresses to change the router IDs of the routers in the topology.

R1(config)#interface loopback 0

R1(config-if)#ip address 10.1.1.1 255.255.255.255 

R2(config)#interface loopback 0

R2(config-if)#ip address 10.2.2.2 255.255.255.255 

R3(config)#interface loopback 0 

R3(config-if)#ip address 10.3.3.3 255.255.255.255

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 159/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 7 of 24

Step 3: Reload the routers to force the new Router IDs to be used.

When a new Router ID is configured, it will not be used until the OSPF process is restarted. Makesure that the current configuration is saved to NRAM, and then use the reload command to

restart each of the routers..

When the router is reloaded, what is the router ID for R1? ____________________ When the router is reloaded, what is the router ID for R2? ____________________ When the router is reloaded, what is the router ID for R3? ____________________ 

Step 4: Use the show ip ospf neighbors command to verify that the router IDs have

changed.

R1#show ip ospf neighbor 

Neighbor ID Pri State Dead Time Address

Interface

10.3.3.3 0 FULL/ - 00:00:30 192.168.10.6

Serial0/0/1

10.2.2.2 0 FULL/ - 00:00:33 192.168.10.2Serial0/0/0

R2#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address

Interface

10.3.3.3 0 FULL/ - 00:00:36 192.168.10.10

Serial0/0/1

10.1.1.1 0 FULL/ - 00:00:37 192.168.10.1

Serial0/0/0

R3#show ip ospf neighbor 

Neighbor ID Pri State Dead Time Address

Interface

10.2.2.2 0 FULL/ - 00:00:34 192.168.10.9

Serial0/0/1

10.1.1.1 0 FULL/ - 00:00:38 192.168.10.5

Serial0/0/0

Step 5: Use the router-id command to change the router ID on the R1 router. 

Note: Some IOS versions do not support the router-id command. If this command is not

available, continue to Task 7.

R1(config)#router ospf 1

R1(config-router)#router-id 10.4.4.4

Reload or use “clear ip ospf process” command, for this to take effect

If this command is used on an OSPF router process which is already active (has neighbors), thenew router-ID is used at the next reload or at a manual OSPF process restart. To manually restartthe OSPF process, use the clear ip ospf process command.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 160/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 8 of 24

R1#(config-router)#end 

R1# clear ip ospf processReset ALL OSPF processes? [no]:yes

R1#

Step 6: Use the show ip ospf neighbor command on router R2 to verify that the router

ID of R1 has been changed.

R2#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address

Interface

10.3.3.3 0 FULL/ - 00:00:36 192.168.10.10

Serial0/0/1

10.4.4.4 0 FULL/ - 00:00:37 192.168.10.1

Serial0/0/0

Step 7: Remove the configured router ID with the no form of the router-id command.

R1(config)#router ospf 1R1(config-router)#router-id 10.4.4.4

Reload or use “clear ip ospf process” command, for this to take effect

Step 8: Restart the OSPF process using the clear ip ospf process command.

Restarting the OSPF process forces the router to use the IP address configured on the Loopback0 interface as the Router ID.

R1(config-router)#end

R1# clear ip ospf processReset ALL OSPF processes? [no]:yes

R1#

Task 7: Verify OSPF Operation

Step 1: On the R1 router, Use the show ip ospf neighbor command to view the

information about the OSPF neighbor routers R2 and R3. You should be able to see theneighbor ID and IP address of each adjacent router, and the interface that R1 uses to reach thatOSPF neighbor.

R1#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address

Interface

10.2.2.2 0 FULL/- 00:00:32 192.168.10.2

Serial0/0/0

10.3.3.3 0 FULL/- 00:00:32 192.168.10.6

Serial0/0/1

R1#

Step 2: On the R1 router, use the show ip protocols command to view information

about the routing protocol operation. 

Notice that the information that was configured in the previous Tasks, such as protocol, processID, neighbor ID, and networks, is shown in the output. The IP addresses of the adjacentneighbors are also shown.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 161/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 9 of 24

R1#show ip protocols 

Routing Protocol is "ospf 1"

Outgoing update filter list for all interfaces is not set

Incoming update filter list for all interfaces is not set

Router ID 10.1.1.1Number of areas in this router is 1. 1 normal 0 stub 0 nssa

Maximum path: 4

Routing for Networks:

172.16.1.16 0.0.0.15 area 0

192.168.10.0 0.0.0.3 area 0

192.168.10.4 0.0.0.3 area 0

Routing Information Sources:

Gateway Distance Last Update

10.2.2.2 110 00:11:43

10.3.3.3 110 00:11:43

Distance: (default is 110)

R1#

Notice that the output specifies the process ID used by OSPF. Remember, the process ID mustbe the same on all routers for OSPF to establish neighbor adjacencies and share routinginformation.

Task8: Examine OSPF Routes in the Routing Tables

View the routing table on the R1 router. OSPF routes are denoted in the routing table with an “O”.

R1#show ip route 

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B -

BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS

inter area

* - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C 10.1.1.1/32 is directly connected, Loopback0

O 10.10.10.0/24 [110/65] via 192.168.10.2, 00:01:02, Serial0/0/0

172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks

C 172.16.1.16/28 is directly connected, FastEthernet0/0O 172.16.1.32/29 [110/65] via 192.168.10.6, 00:01:12, Serial0/0/1

192.168.10.0/30 is subnetted, 3 subnets

C 192.168.10.0 is directly connected, Serial0/0/0

C 192.168.10.4 is directly connected, Serial0/0/1

O 192.168.10.8 [110/128] via 192.168.10.6, 00:01:12, Serial0/0/1

[110/128] via 192.168.10.2, 00:01:02, Serial0/0/0

R1#

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 162/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 10 of 24

Notice that unlike RIPv2 and EIGRP, OSPF does not automatically summarize at major networkboundaries.

Task 9: Configure OSPF Cost

Step 1: Use the show ip route command on the R1 router to view the OSPF cost toreach the 10.10.10.0/24 network.

R1#show ip route 

<output omitted>

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C 10.1.1.1/32 is directly connected, Loopback0

O 10.10.10.0/24 [110/65] via 192.168.10.2, 00:16:56, Serial0/0/0

172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks

C 172.16.1.16/28 is directly connected, FastEthernet0/0

O 172.16.1.32/29 [110/65] via 192.168.10.6, 00:17:06, Serial0/0/1

192.168.10.0/30 is subnetted, 3 subnets

C 192.168.10.0 is directly connected, Serial0/0/0C 192.168.10.4 is directly connected, Serial0/0/1

O 192.168.10.8 [110/128] via 192.168.10.6, 00:17:06, Serial0/0/1

[110/128] via 192.168.10.2, 00:16:56, Serial0/0/0

R1#

Step 2: Use the show interfaces serial0/0/0 command on the R1 router to view the

bandwidth of the Serial 0/0/0 interface.

R1#show interfaces serial0/0/0 

Serial0/0/0 is up, line protocol is up (connected)

Hardware is HD64570

Internet address is 192.168.10.1/30MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load

1/255

Encapsulation HDLC, loopback not set, keepalive set (10 sec)

Last input never, output never, output hang never

Last clearing of "show interface" counters never

Input queue: 0/75/0 (size/max/drops); Total output drops: 0

<output omitted> 

On most serial links, the bandwidth metric will default to 1544 Kbits. If this is not the actualbandwidth of the serial link, the bandwidth will need to be changed so that the OSPF cost can becalculated correctly.

Step 3: Use the bandwidth command to change the bandwidth of the serial interfaces ofthe R1 and R2 routers to the actual bandwidth, 64 kbps.

R1 router:R1(config)#interface serial0/0/0 

R1(config-if)# bandwidth 64R1(config-if)#interface serial0/0/1 R1(config-if)# bandwidth 64 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 163/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 11 of 24

R2 router:R2(config)#interface serial0/0/0R2(config-if)# bandwidth 64R2(config)#interface serial0/0/1R2(config-if)# bandwidth 64 

Step 4: Use the show ip ospf interface command on the R1 router to verify the cost

of the serial links. 

The cost of each of the Serial links is now 1562, the result of the calculation: 10 8 /64,000 bps.

R1#show ip ospf interface 

<output omitted>

Serial0/0/0 is up, line protocol is up

Internet address is 192.168.10.1/30, Area 0

Process ID 1, Router ID 10.1.1.1, Network Type POINT-TO-POINT, Cost:

1562

Transmit Delay is 1 sec, State POINT-TO-POINT,Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

Hello due in 00:00:05

Index 2/2, flood queue length 0

Next 0x0(0)/0x0(0)

Last flood scan length is 1, maximum is 1

Last flood scan time is 0 msec, maximum is 0 msec

Neighbor Count is 1 , Adjacent neighbor count is 1

Adjacent with neighbor 10.2.2.2

Suppress hello for 0 neighbor(s)

Serial0/0/1 is up, line protocol is up

Internet address is 192.168.10.5/30, Area 0

Process ID 1, Router ID 10.1.1.1, Network Type POINT-TO-POINT, Cost:

1562Transmit Delay is 1 sec, State POINT-TO-POINT,

<output omitted>

Step 5: Use the ip ospf cost command to configure the OSPF cost on the R3 router.

An alternative method to using the bandwidth command is to use the ip ospf cost 

command, which allows you to directly configure the cost. Use the ip ospf cost command to

change the bandwidth of the serial interfaces of the R3 router to 1562.

R3(config)#interface serial0/0/0 R3(config-if)#ip ospf cost 1562R3(config-if)#interface serial0/0/1 

R3(config-if)#ip ospf cost 1562 

Step 6: Use the show ip ospf interface command on the R3 router to verify that the

cost of the link the cost of each of the Serial links is now 1562.

R3#show ip ospf interface 

<output omitted>

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 164/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 12 of 24

Serial0/0/1 is up, line protocol is up

Internet address is 192.168.10.10/30, Area 0

Process ID 1, Router ID 10.3.3.3, Network Type POINT-TO-POINT, Cost:

1562

Transmit Delay is 1 sec, State POINT-TO-POINT,

Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

Hello due in 00:00:06Index 2/2, flood queue length 0

Next 0x0(0)/0x0(0)

Last flood scan length is 1, maximum is 1

Last flood scan time is 0 msec, maximum is 0 msec

Neighbor Count is 1 , Adjacent neighbor count is 1

Adjacent with neighbor 10.2.2.2

Suppress hello for 0 neighbor(s)

Serial0/0/0 is up, line protocol is up

Internet address is 192.168.10.6/30, Area 0

Process ID 1, Router ID 10.3.3.3, Network Type POINT-TO-POINT, Cost:

1562

Transmit Delay is 1 sec, State POINT-TO-POINT,

<output omitted>

Task 10: Redistribute an OSPF Default Route

Step 1: Configure a loopback address on the R1 router to simulate a link to an ISP.  

R1(config)#interface loopback1 

%LINK-5-CHANGED: Interface Loopback1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed

state to up

R1(config-if)#ip address 172.30.1.1 255.255.255.252 

Step 2: Configure a static default route on the R1 router.  

Use the loopback address that ha been configured to simulate a link to an ISP as the exitinterface.

R1(config)#ip route 0.0.0.0 0.0.0.0 loopback1 

R1(config)#

Step 3: Use the default-information originate command to include the static route

in the OSPF updates that are sent from the R1 router.

R1(config)#router ospf 1 R1(config-router)#default-information originate 

R1(config-router)#

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 165/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 13 of 24

Step 4: View the routing table on the R2 router to verify that the static default route isbeing redistributed via OSPF.

R2#show ip route

<output omitted>

Gateway of last resort is 192.168.10.1 to network 0.0.0.0

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C 10.2.2.2/32 is directly connected, Loopback0

C 10.10.10.0/24 is directly connected, FastEthernet0/0

172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks

O 172.16.1.16/28 [110/1563] via 192.168.10.1, 00:29:28,

Serial0/0/0

O 172.16.1.32/29 [110/1563] via 192.168.10.10, 00:29:28,

Serial0/0/1

192.168.10.0/30 is subnetted, 3 subnets

C 192.168.10.0 is directly connected, Serial0/0/0

O 192.168.10.4 [110/3124] via 192.168.10.10, 00:25:56,Serial0/0/1

[110/3124] via 192.168.10.1, 00:25:56, Serial0/0/0

C 192.168.10.8 is directly connected, Serial0/0/1

O*E2 0.0.0.0/0 [110/1] via 192.168.10.1, 00:01:11, Serial0/0/0

R2#

Task 11: Configure Additional OSPF Features

Step 1: Use the auto-cost reference-bandwidth command to adjust the reference

bandwidth value. Increase the reference bandwidth to 10000 to simulate 10GigE speeds. Configure this commandon all routers in the OSPF routing domain.

R1(config-router)#auto-cost reference-bandwidth 10000 

% OSPF: Reference bandwidth is changed.

Please ensure reference bandwidth is consistent across all

routers.

R2(config-router)#auto-cost reference-bandwidth 10000 

% OSPF: Reference bandwidth is changed.

Please ensure reference bandwidth is consistent across all

routers.

R3(config-router)#auto-cost reference-bandwidth 10000 

% OSPF: Reference bandwidth is changed.

Please ensure reference bandwidth is consistent across allrouters.

Step 2: Examine the routing table on the R1 router to verify the change in the OSPF costmetric. Notice that the values are much larger cost values for OSPF routes.

R1#show ip route

<output omitted>

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 166/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 14 of 24

Gateway of last resort is 0.0.0.0 to network 0.0.0.0

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C 10.1.1.1/32 is directly connected, Loopback0

O 10.10.10.0/24 [110/65635] via 192.168.10.2, 00:01:01,

Serial0/0/0172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks

C 172.16.1.16/28 is directly connected, FastEthernet0/0

O 172.16.1.32/29 [110/65635] via 192.168.10.6, 00:00:51,

Serial0/0/1

172.30.0.0/30 is subnetted, 1 subnets

C 172.30.1.0 is directly connected, Loopback1

192.168.10.0/30 is subnetted, 3 subnets

C 192.168.10.0 is directly connected, Serial0/0/0

C 192.168.10.4 is directly connected, Serial0/0/1

O 192.168.10.8 [110/67097] via 192.168.10.2, 00:01:01,

Serial0/0/0

S* 0.0.0.0/0 is directly connected, Loopback1

R1#

Step 3: Use the show ip ospf neighbor command on R1 to view the Dead Time counter. 

The Dead Time counter is counting down from the default interval of 40 seconds.

R1#show ip ospf neighbor 

Neighbor ID Pri State Dead Time Address

Interface

10.2.2.2 0 FULL/- 00:00:34 192.168.10.2

Serial0/0/0

10.3.3.3 0 FULL/- 00:00:34 192.168.10.6

Serial0/0/1

Step 4: Configure the OSPF Hello and Dead intervals. The OSPF Hello and Dead intervals can be modified manually using the ip ospf hello-

interval and ip ospf dead-interval interface commands. Use these commands to

change the hello interval to 5 seconds and the dead interval to 20 seconds on the Serial 0/0/0interface of the R1 router.

R1(config)#interface serial0/0/0R1(config-if)#ip ospf hello-interval 5R1(config-if)#ip ospf dead-interval 20

R1(config-if)#

01:09:04: %OSPF-5-ADJCHG: Process 1, Nbr 10.2.2.2 on Serial0/0/0 from

FULL to DOWN, Neighbor Down: Dead timer expired

01:09:04: %OSPF-5-ADJCHG: Process 1, Nbr 10.2.2.2 on Serial0/0/0 from

FULL to Down: Interface down or detached

After 20 seconds the Dead Timer on R1 expires. R1 and R2 loose adjacency because the DeadTimer and Hello Timers must be configured identically on each side of the serial link between R1and R2.

Step 5: Modify the Dead Timer and Hello Timer intervals.Modify the Dead Timer and Hello Timer intervals on the Serial 0/0/0 interface in the R2 router tomatch the intervals configured on the Serial 0/0/0 interface of the R1 router.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 167/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 15 of 24

R2(config)#interface serial0/0/0R2(config-if)#ip ospf hello-interval 5R2(config-if)#ip ospf dead-interval 20

R2(config-if)#

01:12:10: %OSPF-5-ADJCHG: Process 1, Nbr 10.1.1.1 on Serial0/0/0 from

EXCHANGE to FULL, Exchange Done

Notice that the IOS displays a message when adjacency has been established with a state ofFull.

Step 5: Use the show ip ospf interface serial0/0/0 command to verify that the

Hello Timer and Dead Timer intervals have been modified.

R2#show ip ospf interface serial0/0/0Serial0/0/0 is up, line protocol is up

Internet address is 192.168.10.2/30, Area 0

Process ID 1, Router ID 10.2.2.2, Network Type POINT-TO-POINT, Cost:

1562

Transmit Delay is 1 sec, State POINT-TO-POINT,

Timer intervals configured, Hello 5, Dead 20, Wait 20, Retransmit 5Hello due in 00:00:00

Index 3/3, flood queue length 0

Next 0x0(0)/0x0(0)

Last flood scan length is 1, maximum is 1

Last flood scan time is 0 msec, maximum is 0 msec

Neighbor Count is 1 , Adjacent neighbor count is 1

Adjacent with neighbor 10.1.1.1

Suppress hello for 0 neighbor(s)

R2#

Step 6: Use the show ip ospf neighbor command on R1 to verify that the neighbor

adjacency with R2 has been restored. 

Notice that the Dead Time for Serial 0/0/0 is now much lower since it is counting down from 20seconds instead of the default 40 seconds. Serial 0/0/1 is still operating with default timers.

R1#show ip ospf neighbor 

Neighbor ID Pri State Dead Time Address

Interface

10.2.2.2 0 FULL/- 00:00:19 192.168.10.2

Serial0/0/0

10.3.3.3 0 FULL/- 00:00:34 192.168.10.6

Serial0/0/1

R1#

Task 12: Document the Router Configurations.

On each router, capture the following command output to a text file and save for future reference:

• Running configuration

• Routing table

• Interface summarization

• Output from show ip protocols 

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 168/176

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 169/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 17 of 24

Scenario B: Configure OSPF on a Multiaccess Network

Topology Diagram

Device Interface IP Address Subnet MaskDefault

Gateway

Fa0/0 192.168.1.1 255.255.255.0 N/AR1

Loopback1 192.168.31.11 255.255.255.255 N/A

Fa0/0 192.168.1.2 255.255.255.0 N/AR2

Loopback1 192.168.31.22 255.255.255.255 N/A

Fa0/0 192.168.1.3 255.255.255.0 N/AR3

Loopback1 192.168.31.33 255.255.255.255 N/A

Task 1: Prepare the Network.

Step 1: Cable a network that is similar to the one in the Topology Diagram.

You can use any current router in your lab as long as it has the required interfaces shown in thetopology.

Note: If you use 1700, 2500, or 2600 routers, the router outputs and interface descriptions willappear different.

In this topology we have three routers sharing a common Ethernet multiaccess network,

192.168.1.0/24. Each router will be configured with an IP address on the Fast Ethernet interfaceand a loopback address for the router ID.

Step 2: Clear any existing configurations on the routers.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 170/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 18 of 24

Task 2: Perform Basic Router Configurations.

Perform basic configuration of the R1, R2, and R3 routers according to the following guidelines:

1. Configure the router hostname.

2. Disable DNS lookup.

3. Configure an EXEC mode password.

4. Configure a message-of-the-day banner.

5. Configure a password for console connections.

6. Configure a password for VTY connections 

Task 3: Configure and Activate Ethernet and Loopback Addresses

Step 1: Configure interfaces on R1, R2, and R3.

Configure the Ethernet and Loopback interfaces on the R1, R2, and R3 routers with the IP

addresses from the table under the Topology Diagram. Use the show ip interface brief command to verify that the IP addressing is correct. When you have finished, be sure to save therunning configuration to the NVRAM of the router.

Step 2: Verify IP addressing and interfaces.

Use the show ip interface brief command to verify that the IP addressing is correct and that theinterfaces are active.

When you have finished, be sure to save the running configuration to the NVRAM of the router.

Task 4: Configure OSPF on the DR Router

The DR and BDR election process takes place as soon as the first router has its interface

enabled on the multiaccess network. This can happen as the routers are powered-on or when theOSPF network command for that interface is configured. If a new router enters the network after

the DR and BDR have already been elected, it will not become the DR or BDR even if it has ahigher OSPF interface priority or router ID than the current DR or BDR. Configure the OSPFprocess on the router with the highest router ID first to ensure that this router becomes the DR.

Step 1: Use the router ospf command in global configuration mode to enable OSPF on

the R3 router. 

Enter a process ID of 1 for the  process-ID parameter. Configure the router to advertise the

192.168.1.0/24 network. Use an area ID of 0 for the OSPF area-id parameter in the network 

statement.

R3(config)#router ospf 1 

R3(config-router)#network 192.168.1.0 0.0.0.255 area 0R3(config-router)#end 

R3#

Step 2: Use the show ip ospf interface command to verify that the OSPF has been

configured correctly and that R3 is the DR.

R3#show ip ospf interface 

FastEthernet0/0 is up, line protocol is up

Internet address is 192.168.1.3/24, Area 0

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 171/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 19 of 24

Process ID 1, Router ID 192.168.31.33, Network Type BROADCAST, Cost:

1

Transmit Delay is 1 sec, State DR, Priority 1

Designated Router (ID) 192.168.31.33, Interface address 192.168.1.3

No backup designated router on this network

Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

Hello due in 00:00:07Index 1/1, flood queue length 0

Next 0x0(0)/0x0(0)

Last flood scan length is 1, maximum is 1

Last flood scan time is 0 msec, maximum is 0 msec

Neighbor Count is 0, Adjacent neighbor count is 0

Suppress hello for 0 neighbor(s)

R3#

Task 5: Configure OSPF on the BDR Router

Configure the OSPF process on the router with the second highest router ID next to ensure thatthis router becomes the BDR.

Step 1: Use the router ospf command in global configuration mode to enable OSPF on

the R2 router. 

Enter a process ID of 1 for the  process-ID parameter. Configure the router to advertise the192.168.1.0/24 network. Use an area ID of 0 for the OSPF area-id parameter in the network 

statement.

R2(config)#router ospf 1 

R2(config-router)#network 192.168.1.0 0.0.0.255 area 0 

R2(config-router)#end 

%SYS-5-CONFIG_I: Configured from console by console

R2#

00:08:51: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.33 onFastEthernet0/0 from LOADING to FULL, Loading Done

Notice that an adjacency is formed with the R3 router. It may take up to 40 seconds for the R3router to send a hello packet. When this packet is received, the neighbor relationship is formed.

Step 2: Use the show ip ospf interface command to verify that the OSPF has been

configured correctly and that R2 is the BDR.

R2#show ip ospf interface 

FastEthernet0/0 is up, line protocol is up

Internet address is 192.168.1.2/24, Area 0

Process ID 1, Router ID 192.168.31.22, Network Type BROADCAST, Cost:

1

Transmit Delay is 1 sec, State BDR, Priority 1Designated Router (ID) 192.168.31.33, Interface address 192.168.1.3

Backup Designated Router (ID) 192.168.31.22, Interface address

192.168.1.2

Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

Hello due in 00:00:03

Index 1/1, flood queue length 0

Next 0x0(0)/0x0(0)

Last flood scan length is 1, maximum is 1

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 172/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 20 of 24

Last flood scan time is 0 msec, maximum is 0 msec

Neighbor Count is 1, Adjacent neighbor count is 1

Adjacent with neighbor 192.168.1.3 (Designated Router)

Suppress hello for 0 neighbor(s)

R2#

Step 3: Use the show ip ospf neighbors command in global configuration mode toview information about the other routers in the OSPF area. 

Notice that R3 is the DR.

R2#show ip ospf neighbor 

Neighbor ID Pri State Dead Time Address

Interface

192.168.31.33 1 FULL/DR 00:00:33 192.168.1.3

FastEthernet0/0

Task 6: Configure OSPF on the DRother RouterConfigure the OSPF process on the router with the lowest router ID last. This router will bedesignated as DRother instead of DR or BDR.

Step 1: Use the router ospf command in global configuration mode to enable OSPF on

the R1 router. 

Enter a process ID of 1 for the  process-ID parameter. Configure the router to advertise the192.168.1.0/24 network. Use an area ID of 0 for the OSPF area-id parameter in the network 

statement.

R1(config)#router ospf 1 

R1(config-router)#network 192.168.1.0 0.0.0.255 area 0 

R1(config-router)#end 

%SYS-5-CONFIG_I: Configured from console by consoleR1#

00:16:08: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.22 on

FastEthernet0/0 from LOADING to FULL, Loading Done

00:16:12: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.33 on

FastEthernet0/0 from EXCHANGE to FULL, Exchange Done

Notice that an adjacency is formed with the R2 and R3 routers. It may take up to 40 seconds forboth the R2 and R3 routers to each send a hello packet.

Step 2: Use the show ip ospf interface command to verify that the OSPF has been

configured correctly and that R1 is a DRother.

R1#show ip ospf interface 

FastEthernet0/0 is up, line protocol is upInternet address is 192.168.1.1/24, Area 0

Process ID 1, Router ID 192.168.31.11, Network Type BROADCAST, Cost:

1

Transmit Delay is 1 sec, State DROTHER, Priority 1

Designated Router (ID) 192.168.31.33, Interface address 192.168.1.3

Backup Designated Router (ID) 192.168.31.22, Interface address

192.168.1.2

Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 173/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 21 of 24

Hello due in 00:00:00

Index 1/1, flood queue length 0

Next 0x0(0)/0x0(0)

Last flood scan length is 1, maximum is 1

Last flood scan time is 0 msec, maximum is 0 msec

Neighbor Count is 2, Adjacent neighbor count is 2

Adjacent with neighbor 192.168.31.33 (Designated Router)Adjacent with neighbor 192.168.31.22 (Backup Designated Router)

Suppress hello for 0 neighbor(s)

R1#

Step 3: Use the show ip ospf neighbors command in global configuration mode to

view information about the other routers in the OSPF area. 

Notice that R3 is the DR and R2 is the BDR.

R1#show ip ospf neighbor 

Neighbor ID Pri State Dead Time Address

Interface

192.168.31.22 1 FULL/BDR 00:00:35 192.168.1.2FastEthernet0/0

192.168.31.33 1 FULL/DR 00:00:30 192.168.1.3

FastEthernet0/0

Task 7: Use the OSPF Priority to Determine the DR and BDR

Step 1: Use the ip ospf priority interface command to change the OSPF priority of

the R1 router to 255. 

This is the highest possible priority.

R1(config)#interface fastEthernet0/0 

R1(config-if)#ip ospf priority 255 R1(config-if)#end 

Step 2: Use the ip ospf priority interface command to change the OSPF priority of

the R3 router to 100.

R3(config)#interface fastEthernet0/0 

R3(config-if)#ip ospf priority 100 R3(config-if)#end 

Step 3: Use the ip ospf priority interface command to change the OSPF priority of

the R2 router to 0. A priority of 0 causes the router to be ineligible to participate in an OSPFelection and become a DR or BDR.

R2(config)#interface fastEthernet0/0 R2(config-if)#ip ospf priority 0 R2(config-if)#end 

Step 4: Shut down and re-enable the FastEthernet0/0 interfaces to force an OSPF election.The FastEthernet0/0 interfaces of each of the routers can be shut down and re-enabled to forcean OSPF election. Shut down the FastEthernet0/0 interface on each of the three routers. Noticethat as the interfaces are shut down the OSPF adjacencies are lost.

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 174/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 22 of 24

R1:R1(config)#interface fastethernet0/0 

R1(config-if)#shutdown

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to

administratively down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0,changed state to down

02:17:22: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.22 on

FastEthernet0/0 from FULL to Down: Interface down or detached

02:17:22: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.33 on

FastEthernet0/0 from FULL to Down: Interface down or detached

R2:R2(config)#interface fastethernet0/0

R2(config-if)#shutdown

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to

administratively down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0,changed state to down

02:17:06: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.33 on

FastEthernet0/0 from FULL to Down: Interface down or detached

02:17:06: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.11 on

FastEthernet0/0 from FULL to Down: Interface down or detached

R3:R3(config)#interface fastethernet0/0 

R3(config-if)#shutdown 

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to

administratively down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0,

changed state to down

02:17:22: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.22 on

FastEthernet0/0 from FULL to Down: Interface down or detached

02:17:22: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.11 on

FastEthernet0/0 from FULL to Down: Interface down or detached

Step 5: Re-enable the FastEthernet0/0 interface on the R2 router.

R2(config-if)#no shut 

R2(config-if)#end 

%SYS-5-CONFIG_I: Configured from console by console

R2#

Step 6: Re-enable the FastEthernet0/0 interface on the R1 router. 

Notice that an adjacency is formed with the R2 router. It may take up to 40 seconds for the R2router to send a hello packet.

R1(config-if)#no shutdown 

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0,

changed state to up

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 175/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 23 of 24

R1(config-if)#end

%SYS-5-CONFIG_I: Configured from console by console

R1#

02:31:43: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.22 on

FastEthernet0/0 from EXCHANGE to FULL, Exchange Done

Step 7: Use the show ip ospf neighbor command on the R1 router to view the OSPFneighbor information for that router. 

Notice that even though the R2 router has a higher router ID than R1, the R2 router has been setto a state of DRother because the OSPF priority has been set to 0.

R1#show ip ospf neighbor 

Neighbor ID Pri State Dead Time Address

Interface

192.168.31.22 0 FULL/DROTHER 00:00:33 192.168.1.2

FastEthernet0/0

R1#

Step 8: Re-enable the FastEthernet0/0 interface on the R3 router. 

Notice that an adjacency is formed with the R1 and R2 routers. It may take up to 40 seconds forboth the R1 and R2 routers to each send a hello packet.

R3(config-if)#no shutdown 

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0,

changed state to up

R3(config-if)#end

%SYS-5-CONFIG_I: Configured from console by console

02:37:32: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.11 on

FastEthernet0/0 from LOADING to FULL, Loading Done

02:37:36: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.22 on

FastEthernet0/0 from EXCHANGE to FULL, Exchange Done

Step 9: Use the show ip ospf interface command on the R3 router to verify that R3

has become the BDR.

R3#show ip ospf interface 

FastEthernet0/0 is up, line protocol is up

Internet address is 192.168.1.3/24, Area 0

Process ID 1, Router ID 192.168.31.33, Network Type BROADCAST, Cost:

1

Transmit Delay is 1 sec, State BDR, Priority 100Designated Router (ID) 192.168.31.11, Interface address 192.168.1.1

<output omitted>

8/2/2019 Logbook 2011 v 2

http://slidepdf.com/reader/full/logbook-2011-v-2 176/176

CCNA ExplorationRouting Protocols and Concepts: OSPF Lab 11.6.1: Basic OSPF Configuration Lab

Task 8: Document the Router Configurations.

On each router, capture the following command output to a text file and save for future reference:

• Running configuration

• Routing table

• Interface summarization

• Output from show ip protocols 

Task 9: Clean Up.

Erase the configurations and reload the routers. Disconnect and store the cabling. For PC hoststhat are normally connected to other networks (such as the school LAN or to the Internet),reconnect the appropriate cabling and restore the TCP/IP settings.