IP Routing Lab Assignment Configuring Basic Aspects of IP IGP Routing Protocols

Similar documents
The Assignment is divided into preparation, practical part, and documentation.

ETS110: Internet Protocol Routing Lab Assignment

ETS110: Internet Protocol Routing Lab Assignment

ETSF05: Internet Protocol Routing Project Assignment

Lab : Challenge OSPF Configuration Lab. Topology Diagram. Addressing Table. Default Gateway. Device Interface IP Address Subnet Mask

INTERNET TEACHING LAB: Interior Gateway Protocol (IGP) LAB

Introduction to Networks: Case Study, Option 2

ETSF Routing Project WILLIAM TÄRNEBERG

Laboration 1 Examine the Topology and Basic Troubleshooting Commands

Smart Serial. Show interfaces. Shut down. logging synchronous

CS 386M Lab 1 Router Configuration and Routing

Lab : OSPF Troubleshooting Lab

Lab 7 Configuring Basic Router Settings with IOS CLI

Lab 9.6.2: Challenge EIGRP Configuration Lab

Claim desired outcome

Lab Router Configuration Using Setup Instructor Version 2500

Lab 5.6.2: Challenge RIP Configuration

Lab 1.3.2: Review of Concepts from Exploration 1 - Challenge

Retake - Skills Assessment Student Training (Answer Key)

OSPF DR and BDR Elections

Laboration 2 Troubleshooting Switching and First-Hop Redundancy

LAB THREE STATIC ROUTING

CCRI Networking Technology I CSCO-1850 Spring 2014

PreLab for CS356 Lab NIL (Lam) (To be submitted when you come for the lab)

Lab Network Baseline Discovery

Lab Configuring OSPF Timers

Hochschule Bremen Networking Lab

Lab 4: Routing using OSPF

MPLS/RSVP/BGP lab KTH CSC. Juniper version. Group Nr. Name1. Name2. Name3. Name4. Name5. Grade. Instructor s Signature

Module 2 OSPF Configuration for Training Lab Network

Before you start the lab exercises see the lab administrator or EEE3080F tutor to get assigned to your routers.

Module 11 Advanced Router Configuration

The Project Study two different routing protocols for intra domain Internet routing Hands-on experience

Module 1 Basic Topology, OSPF and ibgp

Configuring a Management IP Address on Catalyst 4500/4000, 5500/5000, 6500/6000, and Catalyst Fixed Configuration Switches

Lab Using the CLI to Gather Network Device Information Topology

LARGE SCALE IP ROUTING

Module 6 More ibgp, and Basic ebgp Configuration

This document is exclusive property of Cisco Systems, Inc. Permission is granted to print and copy this document for non-commercial distribution and

CS356 Lab NIL (Lam) In this lab you will learn: Cisco 2600 Router Configuration Static Routing PartB 20 min Access Control Lists PartC 30 min Explore!

This document is exclusive property of Cisco Systems, Inc. Permission is granted to print and copy this document for non-commercial distribution and

CS 326e Lab 2, Edmondson-Yurkanan, Spring 2004 Router Configuration, Routing and Access Lists

Chapter 6 Reading Organizer

Module 5 Policy Based Routing

Lab Troubleshooting RIP

Module 1 Basic Topology and Router Setup

CCNA Semester 2 labs. Labs for chapters 2 10

KTH/CSC, RIP lab, rev: 1.13 KTH/CSC. RIP lab. Juniper version. Group Nr. Name1. Name2. Name3. Name4. Date. Grade. Instructor s Signature

TDC 363 Introduction to LANs

The Lab. The lab (cont ) 5 (6) routers ETSF05 + ETSF The routing lab. Jens A Andersson. Many links (vlans) Front-end server

CCNA Exploration Network Fundamentals

Chapter 7. RIP Version 2 (RIPv2)

Lab 2.8.1: Basic Static Route Configuration

Device Interface IP Address Subnet Mask Default Gateway

Module 6 ibgp and Basic ebgp

Lab 1.4.6B Implementing Port Security

Chapter 11. Configuring and Testing Your Network

DOiT-200v6 VOLUME II. DOiT-200v6 Lab 3 Multi-Topic CCIE-Level Scenario. For CCIE Candidates

Lab Configuring and Verifying Extended ACLs Topology

DOiT-200v6 VOLUME II I2 R2 4 N1. DOiT-200v6 Lab 16 Multi-Topic CCIE-Level Scenario. For CCIE Candidates

Interconnecting Cisco Networking Devices Part 1 ICND1

Lab Student Lab Orientation

King Fahd University of Petroleum & Minerals. Configuration of Routers and Establishing Routed Networks

Powering On the Cisco VG224 Voice Gateway

Skills Assessment Student Training Exam

Static routing lab KTH/CSC. Juniper version. Group Nr. Name 1. Name 2. Name 3. Name 4. Date. Grade. Instructor s Signature

Static Routing. Routing Protocols and Concepts Chapter 2. ITE PC v4.0 Chapter Cisco Systems, Inc. All rights reserved.

Module 2 More ibgp, and Basic ebgp Configuration

Symbols. Numerics I N D E X

Checklists for Configuring the Gateway

Lab Configuring OSPF Authentication

IPv6 Module 11 Advanced Router Configuration

Lab 8.4.2: Show IP Route Challenge Lab

Lab Configuring the OSPF Routing Process

Lab 9.6.3: EIGRP Troubleshooting Lab

Lab Establishing and Verifying a Telnet Connection Instructor Version 2500

Lab - Designing and Implementing a Subnetted IPv4 Addressing Scheme

Lab Correcting RIPv2 Routing Problems

Chapter 4 Lab 4-1, Redistribution Between RIP and OSPF

LAB EXERCISES (TP) 6 INTER-DOMAIN ROUTING: BGP-4 With Solutions

Chapter 4: Routing Concepts. Routing & Switching

KTHNOC, MPLS/RSVP lab, rev: 1.7 KTHNOC. MPLS/RSVP lab. Juniper version. Group Nr. Name1. Name2. Name3. Name4. Date. Grade. Instructor s Signature

Lab: RIP v2 with VLSM

IPv6 Module 6 ibgp and Basic ebgp

IPv6 Module 1a OSPF. Prerequisites: IPv4 Lab Module 1, knowledge of Cisco router CLI, and previous hands on experience.

Chapter 8 Configuring OSPF

KTH CSC, OSPF lab, rev: 1.15 KTH CSC. OSPF lab. Juniper version. Group Nr. Name1. Name2. Name3. Name4. Date. Grade. Instructor s Signature

Routing Overview. Information About Routing CHAPTER

IPv6 Module 6x ibgp and Basic ebgp

Lab 6.4.2: Challenge Inter-VLAN Routing

2016/01/17 04:04 1/9 Basic Routing Lab

Configuring Security with Passwords, Privileges, and Logins

Which of the following describe the process identifier that is used to run OSPF on a router? (Choose two)

Lab Applying a Logical Layered Model to a Physical Network

Introduction to Dynamic Routing Protocols

CCENT ICND Pearson ucertify. Course Outline. CCENT ICND Pearson ucertify. 26 Mar

~ 1 ~ Ankara University Department of Computer Engineering COM LAB 1 Part 1

Information About Routing

ISP Workshop Lab. Module 2 OSPF Areas

KTHNOC, OSPF lab, rev: OSPF-lab. Juniper version. Group Nr. Name1. Name2. Name3. Name4. Date. Grade. Instructor s Signature

Transcription:

IP Routing Lab Assignment Configuring Basic Aspects of IP IGP Routing Protocols 1 PURPOSE AND GOALS This lab assignment will give you a hands-on experience in configuring and managing routers and particularly in setting up IP routing protocols. You will prepare the lab session, perform the practical exercises, and write a lab report, which describes the whole lab, including planning, preparations, and results. You will work and hand in the report in groups of two students. The lab report will be assessed; grading will be added to the total course score - check the course home page for details. 2 OVERVIEW The Assignment is divided into preparation, practical part, and documentation. 2.1 PREPARATIONS The preparations are crucial to the successful execution of the main exercise. Without proper study there is no possibility to fulfill the requirements within the specified time; trial-and-error will not work! During this phase you should read and understand the Router Lab Guide accessible on the course page. You should also study the Cisco routers documentation accessible in the Internet if any additional explanations to relevant IOS commands are required. Finally, you should refresh and expand your knowledge on the topic of the lab exercise. It is advised to take notes related to the course of the exercise (such as the steps needed to fulfill the specified tasks), relevant router configurations and control commands. 2.2 EXERCISE The main exercise is executed using the department s router lab. The lab is accessible remotely from a computer of your choice via the Internet you don t need to be present in the Lab room during the exercise. To access the lab you only need a PC with Internet access and an ssh protocol client (such as PuTTY). The routers are Cisco devices and so the router operation system is IOS. The lab configuration is fixed on physical level. The topology changes can be only introduced by opening and closing individual router interfaces. Before starting the main lab exercise it is required to reserve the lab resources beforehand using the Resource Reservation system (please refer to the Resource Reservation User Guide accessible at the relevant course home page). The lab can be booked for maximum of 4 hours (this is a total time assigned for completing the lab exercise). Provided that you are well-prepared, this should be enough to execute the main exercise and gather information required to prepare the lab report. The tasks required to pass the exercise are described in detail in Section 3. Institute of Telecommunications, Warsaw University of Technology

In case of any technical problems during the exercise (problems with remote access, access to router consoles, instability etc.) please contact the lab supervisor by email, provided on the course home page. The exercise can be repeated in cases justified by the observed technical problems. 2.3 FINAL REPORT The last phase consists of lab report preparation. You should plan the outline of the report in advance, during the preparation phase to be sure what input is necessary before attempting the main part of the exercise. The report should contain 3-4 pages of your own text; any printouts from commands etc. are not included in this number. All phases of the exercise and your findings collected during the main practical part should be described in the report. This instruction may also contain questions and remarks (usually marked with different colour) that shall be answered or taken into account in the report. Finally, the report should include the configuration files (running configs) from all routers presenting the configurations you have prepared during the exercise. Please deliver the final report no later than one week after the end of the period assigned to execute this lab assignment. The report can be uploaded via the reservation system or alternatively you may send the report to the lab exercise supervisor (but only in case of technical problems with the online upload). Note: If you find any errors or inconsistencies in this document and referenced manuals, please report them to the lab exercise supervisor(s). It will help to improve the lab exercise in the future. 3 LAB EXERCISE The main part of the lab exercise is divided into three main sections: Hands on IOS CLI Configuring RIP protocol Configuring OSPF protocol Each subtask is evaluated separately contributing equally to the final grade. The remainder of this section covers all practical tasks that constitute the scope of this exercise. 3.1 HANDS ON IOS CLI 3.1.1 Logging to the lab Accessing the router consoles requires logging to the faculty network first. This is accomplished by opening the ssh terminal session from your local PC to the gateway server with IP address of 194.29.169.1 accessible form the public Internet. Login credentials are delivered at the beginning of your reserved time slot to the email address registered in the system. Usually this is your student email account (verify email address with the exercise supervisor if needed). From the gateway server it is possible to access router consoles using telnet sessions to the IP address of the terminal server and specific port numbers. The IP address of the terminal server should be provided by the exercise supervisor on the course home page. Institute of Telecommunications, Warsaw University of Technology

The routers are accessible via terminal server such that each router s console is mapped to the unique port: R1 = port 2101 R2 = port 2102 R3 = port 2103 R4 = port 2104 R5 = port 2105 For example to access router R1 you use the following command from the gateway server: >> telnet e# <IP address of the terminal server> 2101 After you see the terminal window press ENTER. When prompted with the following questions: Would you like to terminate autoinstall? [yes]: press ENTER, Would you like to enter the initial configuration dialog? [yes/no]: answer no and press ENTER. You can open multiple ssh sessions (e.g. one per router) with the gateway server to ease your work. The details of remote access procedures are provided in the Router Lab Guide that you should study during the lab preparation phase. 3.1.2 Basic configuration You do not need to reload initial routers configurations as all routers are restarted between user sessions. You should start with empty router configuration (no routing protocol enabled, no IP addresses assigned to interfaces etc.). If it is not the case please inform the lab supervisor. You start with configuring the lab according to Figure 1 (note that the physical setup is fixed and you cannot change it). Note: this exercise is done solely on routers serial interfaces please be sure that all Ethernet interfaces are in shutdown state before starting the exercise. Allocate appropriate network and host IP addresses to the routers. Remember that each router interface must have a unique IP address on the subnet that it belongs to. What addressing scheme will you use? Indicate your addressing scheme in the report. Use the following command to configure the IP address of an interface: ip address <ip address> <mask> Hint: You should plan your network addressing scheme during preparation phase. The addressing rules must adhere to the IP standards. You should end this step with IP addresses configured on your routers interfaces. 3.2 CDP Next use CDP and check your configuration. What information do you get with show cdp neighbors? Try this command on each router in the network. What information do you get with show cdp neighbors <interface> detail? Try this command on one of the routers R1 or R2. Cut-and-paste examples of output of these commands into your report. Institute of Telecommunications, Warsaw University of Technology

Internet gateway server 194.29.169.1 Ethernet switch S1 terminal server R1 port 2101 R2 port 2102 R3 port 2103 R4 port 2104 R5 port 2105 Figure 1. Router Lab configuration 3.2.1 Ping and traceroute Make yourself familiar with IOS ping and traceroute commands. Both commands come in two versions, normal and extended. We are only examining the normal version Ping a neighbour using the command ping <host>. How many packets are sent? Explain the interpretation of the information you get from the output of this command? How long is the router waiting until a ping is declared lost? Which routers can you reach from which routers? Why is it so? Institute of Telecommunications, Warsaw University of Technology

Try also the traceroute command. Add output of both ping and traceroute commands to your report. explain the trace route mechanism Note! Serial interfaces on the routers in the lab do not answer to ping if both interfaces on the serial link are not configured correctly. This is especially true for the IP addresses; both interfaces on the serial link must have IP addresses in the same subnet before any of them answers to ping requests. 3.2.2 Check routing table Check the routing table of one of the routers. What command should you use? Interpret the output. Copy the output from the command to the report, and give a brief explanation of the results. 3.2.3 Debug Check the debug command. Make sure that the output from the debug process is written to your terminal by issuing command terminal monitor. Setup debug of all IP packets. What command should you use? Hint: first word in command string is debug. From one router ping one of its neighbours. Copy the output to your report, and give a brief explanation of the results. Before you end this sub-section turn of debugging. Use the command no debug all to turn off all debugging. 3.3 CONFIGURING RIP As you have found in the previous section, you cannot send IP packets via the network, for example from R1 to R3. To do this, a routing protocol has to be added to the network. In this section you will add RIP, a Distance Vector protocol, as a routing protocol in your network. We are going to investigate RIP version 1. First discuss static routing versus using a routing protocol. Add the discussion to your report. 3.3.1 Start RIP The first task is to start the RIP routing process on the routers using router rip command. Note that by issuing this command you re entering the router s RIP configuration sub-mode. Configure version 1. 3.3.2 Add interfaces to RIP Now you have to assign interfaces to the RIP process. For this you use the router RIP sub-mode command network <network id>. The network command takes an argument, the network id of the interface(s) that shall be assigned to the RIP process. The network id is classful, so you must make sure that you enter a network command for all interfaces. Using show ip protocol you can obtain information about parameters and current state of routing processes running on the router. Institute of Telecommunications, Warsaw University of Technology

When you have configured all five routers, check the routing information on router R1. What command should you use? Hint: It is not show ip protocol but it starts with show ip. Copy the output of this command into the report and give a brief explanation of the output. Hint: The path cost is the number following the slash inside the squared brackets. [120/3] means the cost is 3. There are two paths to network between R3 and R4. Explain why? 3.3.3 Study RIP updates Turn on debugging of RIP. What command should you use? How often does this router receive updates from its neighbours? What information is sent to this router? How often does this router send updates to its neighbours? What information does this router send to its neighbours? Note that the information is not the same to all neighbours? Which information is suppressed? What is the name of this suppression technique? Copy an example of a sent update into your report and explain the findings? Turn off debugging again. 3.3.4 Check path Now that you have full routing running in your network you can check if packets are forwarded via the expected paths. You shall compare the routing table of R1 and the result of a traceroute. From the routing table in router R1 find the path to interface serial 0/0 of router R4. What path will packets take? Do a traceroute to this interface. Add the output from this command to the report. Did the packets take the expected path? 3.3.5 Study convergence in failure situation During the last part of the RIP exercise you will study routing convergence on failure. For this you need two active terminal sessions, one to router R1 and one to router R5. First on router R1 traceroute interface serial 0/1 on router R5 and make sure that the connection is ok and goes over shortest path. Make a note of the target s network prefix, that is the link between R1 and R5. Check the routing table, especially for the target network prefix. On router R1 turn on debugging of RIP. Make sure the output is displayed on your terminal. Introduce failure by shutting down interface serial 0/1 on R5. Note the time! Ping the target host. What was the result? Compare with the routing table and explain! Institute of Telecommunications, Warsaw University of Technology

Observe the changes in the routing table of router R1 periodically (the changes concerning the target network) at the same time as you observe the debugging output. Look for information concerning the target network! Hint: It is possible to perform normal commands while you have debugging active. The displayed output on the terminal might be somewhat crumbled in cases, but just re-issue the last command. Which routers announce the target network? Which path does the routing table indicate? What changes in debug output and routing table information do you observe, and at what time from when you introduced the failure? How long did it take before an alternative path is used? Which path is now taken? Finally, restore the network by opening interface serial 0/1 on R5. Observe routing table and debug output. How long was the convergence time in this case? Explain your findings in the report! Turn off debugging. 3.4 OSPF In this section you shall compare a distance vector based routing protocol with a link state based routing protocol, OSPF. You will use the same network layout as in the RIP exercises, so you do not have to reconfigure the links. 3.4.1 Remove RIP First you have to remove all configurations concerning RIP. Use the configuration command no router rip. 3.4.2 Start OSPF In OSPF each router has a unique identity. Cisco routers use the largest IP address assigned to any interface on the router as the router id. This method works well until that interface goes down in which case the router id has to change and the OSPF process has to recalculate and resend the relevant information to its neighbors. It is an advantage if the router id could be fixed, and independent of interface status. Therefore Cisco IOS has given precedence to loopback interfaces in the selection of router id. If there is a loopback interface configured on the router, and the loopback interface has been assigned an IP address, this IP address will be used as the router id. An advantage of a loopback interface is its persistence: it never goes down unless the whole router is down. The conclusion is that it is good practice to always configure a loopback interface on every Cisco router that runs OSPF. Start with configuring loopback interface 0 on all routers. Give each loopback interface a unique IP host address. What commands should you use? Hint: A host address is assigned if you combine the IP address with a subnet mask with all ones, i.e. 255.255.255.255. Now you can initiate OSPF on the routers. What command should you use? Hint: The command is very similar to that you used when you started rip. There is one difference: OSPF needs a process ID. Pick a number from 1 to 65535 of your choice. Institute of Telecommunications, Warsaw University of Technology

3.4.3 Add interfaces to OSPF Adding interfaces to the OSPF routing process is similar to that of RIP in that you use a network sub-mode command. But in the case of OSPF you have to state the network address space with a combination of a network id and a so-called wildcard mask. The wildcard mask is the one s complement to that of a subnet mask. Any bit set in the wildcard mask indicates a position in the network id that has no significance. You also use the network command to assign in which area an interface shall reside. In our case we will only use one area, the backbone area, for all networks. We therefore can use the same network command in all routers. The general form of the network command is: network address wildcard-mask area area-id What command will you use to assign all interfaces in one router to OSPF backbone area? When you have configured all five routers, check the routing information in router R1. What command should you use? Copy the output of this command into the report and give a brief explanation of the output. Compare this output with the findings of analogous RIP-related exercise (3.3.2). In what way the cost differs? Hint: The path cost is the number following the slash inside the squared brackets. [110/3] means the cost is 3. Also use command show ip ospf interface to find more information about cost. 3.4.4 Check path Repeat the exercise 3.3.4, but this time using OSPF. You shall compare the routing table of R1 and the result of a traceroute. From the routing table in router R1 find the path to interface serial 0/0 of router R5. What path will packets take? Do a traceroute to this interface. Add the output from this command to the report. Did the packets take the expected path? 3.4.5 Study OSPF updates and convergence on failure Go to router R1 and turn on OSPF debugging. In this case you shall study OSPF events. What command do you use? What events occur? How often? What is the purpose of the information sent and received? Turn debugging of OSPF events of, and instead turn on debugging of OSPF flooding. Also check the routing table of router R1, especially concerning the target network. This is the same as in exercise 3.3.5 i.e. the link between routers R1 and R5. What kind of messages are flooded by OSPF? When, or how often, are these messages sent? Which is the best path to the target host, the interface 0/0 of router R5? Shut down interface serial 0/1 on router R5, and observe the output of the debugging on router R1? What is now the best path to our target network? Check with traceroute that this path is used. Open the interface again, and observe. Institute of Telecommunications, Warsaw University of Technology

Finally Estimate the time from the interface status change to arrival of first message and update of the routing table. Compare it to your findings concerning RIP in exercise 3.3.5. compare the convergence time of OSPF and RIP protocols Now you can turn off debugging on router R1. 3.4.6 Clean Up There is no need to restore the router initial configuration after the exercise. The basic configs are loaded automatically at the beginning of each reserved timeslot. Remark: do not use the reload command if you want to restore the initial state of the router during the exercise! Use the procedure described in the Router Lab Guide instead. 4 DOCUMENTATION At the course page you should have access to the following two complementary documents: Resource Reservation User Guide Router Lab Guide Institute of Telecommunications, Warsaw University of Technology