










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











ITL LAB 5 - PAGE 4 SPRING 2001
Deliverables: Answer all problems and turn the answers in at the beginning of the lab.
ITL LAB 5 - PAGE 5 SPRING 2001
Lab 5
For Parts 1, 2, 3, 4, 5 you will setup the PCs in a ring configuration.
10.0.14.
10.0.36.
10.0.14.
10.0.56.
10.0.56.
10.0.45.
10.0.45.
10.0.36.2 10.0.23.
10.0.23.
10.0.12.
10.0.12.
Figure 1: Network Topology in Lab 5 (Parts 1 – 5).
ITL LAB 5 - PAGE 7 SPRING 2001
In this exercise, you will set up your PC as a RIP router. This is done by editing the following configuration files.
To change the IP address permanently, edit the above files. The IP addresses in the files are assigned whenever the machine is rebooted.
This file needs to be edited for enabling IP forwarding. If IP forwarding is enabled, a machine boots up as a router.
Note: From Lab 3 (Static Routing), you know that a host/router can have IP forwarding enabled, but not execute a dynamic routing protocol. To execute a dynamic routing protocol, a routing daemon (routed or gated), which is a user-level process, should be started. In this Lab, we will use the gated routing daemon which is able to run several routing protocols.
If the gated daemon is started, it reads the configuration file /etc/gated.conf by default. The file e /etc/gated.conf has information on the routing protocol to be run.
ITL LAB 5 - PAGE 8 SPRING 2001
Start ethereal on both Ethernet interfaces of your machine, and then start the gated daemon. Recall that /etc/gated.conf has been configured to run RIP routing protocol. Your objective is to capture all RIP packets.
gdc running
For the postlab report, you need to save your measurements. Make sure that you establish the time correlation between the measurements taken in each window. Save the measurement data into files. While saving the data captured by ethereal into a plain text file, remember to select "Print hex data" in the "Ethereal: Print" window.
Your task is to observe how the local and remote routing tables converge to the shortest paths. Pay attention to the frequency at which messages are transmitted. Observe the speed of convergence. How can you tell that the routing tables have converged?
Lab Report : Include the measurements in your report and provide a detailed description of the convergence of the routing tables. Select one (!) RIP message captured with ethereal and provide an explanation of all fields of this message. Do not include the listing of all captured routing messages in your report.
Get a check-off when you are done with this exercise.
ITL LAB 5 - PAGE 10 SPRING 2001
You will use ospf_monitor to query the gated daemon for the link state database, link state advertisements from all the routers in the network
ethereal will be used to capture the different types of OSPF packets and to analyze the payload of the captured packets in details.
In the following exercise, you configure the gated daemon to run OSPF. The directory /etc contains a sample file gated.conf.ospf which is used to configure gated to run ospf.
In the following exercise, you will start OSPF routing. Before that, you need to start ethereal to capture the packets being transmitted by OSPF when it gets started. As mentioned previously you will capture the raw packets into a file using ethereal so that you can use both ethereal and tcpdump to parse the raw packets later.
ethereal –i interfacename
You will analyze the captured OSPF packets using ethereal. Make sure that you save the data on floppy.
gdc start
All groups should start the OSPF protocol at about the same time.
ospf_monitor /labdata/mon_db
The mon_db file contains an entry for your local machine.
ITL LAB 5 - PAGE 11 SPRING 2001
Hint : If you type d at the prompt of the ospf_monitor you obtain the index of the configured routers. Then you can use @ index l to display the link state database.
Hint : Use the command @ index a 0.0.0.1 1 ls_id router_id. You can find the link state id (ls_id) and the router id (router_id) with ethereal.
Lab Report : Answer the questions in the exercise.
a. Which type of packets is used for flooding the link state information?
b. What is the area-id of the network in the experiment?
c. Explain the fields in the link state advertisements.
d. Explain the fields in the link-state database?
e. Does OSPF use TCP or UDP to transmit packets?
f. Use ethereal to describe the fields of a particular link state update packet.
g. Use ethereal to describe the fields in a particular link state advertisement.
Get a check-off when you are done.
ITL LAB 5 - PAGE 13 SPRING 2001
In this experiment, you will observe the convergence problems in RIP. The network configuration for this experiment is shown in Figure 2.
itl-7000-1 itl-7000-2 itl-7000-
FDDI or HSSI or FSI
FDDI or HSSI or FSI
172.16.1.1 172.16.1.2 172.16.6.254 172.16.6.90 Loopback
to Console port
to Console port
to Console port
172.17.19.
vintpc2 vintpc4 vintpc
Figure 2: Configuration to observe count-to-infinity in RIP.
The Cisco 7000 routers (itl-7000-1, itl-7000-2, itl-7000-3) are configured as follows:
Refer to Appendix A for an explanation how to enable/disable split-horizon and triggered updates on the Cisco 7000 routers. The appendix also explains the meaning of the hold- down timer.
In this exercise, you will work in groups of three. The group assignment is as follows:
Machine Group Router
vintpc1, vintpc
Group 1 itl-7000-
vintpc3, vintpc
Group 2 itl-7000-
vintpc5, vintpc
Group 3 itl-7000-
ITL LAB 5 - PAGE 14 SPRING 2001
Moreover, the following table shows the Cisco 7000 router the PC’s are connected to:
Machine Router
vintpc2 itl-7000-
vintpc4 itl-7000-
vintpc6 itl-7000-
The console port of each Cisco 7000 router is connected to the serial port of a PC. Use kermit to access the console port.
[/root] C-Kermit>set line /dev/cua0 (or /dev/cua1)
[/root] C-Kermit>connect
The observations in this exercise will be done by enabling RIP debugging on the Cisco routers. With RIP debugging enabled, all RIP packets received by Cisco routers will be displayed on the console terminal. Each group will capture the RIP debug output. But only on vintpc2 and vintpc4, the count-to-infinity problem can be observed.
RIP debugging on the Cisco 7000 routers, the command is enabled with the command debug ip rip (you must be in privileged EXEC mode to issue this command). To disable RIP debugging, type no debug ip rip.
Run RIP until the routing tables have stabilized. Then, the link between itl-7000-2 and itl- 7000-3 will be disconnected. You now observe the slow convergence, due to count-to- infinity, of the routing tables.
ITL LAB 5 - PAGE 16 SPRING 2001
This appendix explains the steps required to enable/disable split-horizon and triggered updates, and to set the holddown timer for RIP routing on Cisco 7000 routers.
Split-horizon is disabled separately for each interface. Triggered updates are disabled on all interfaces (applies globally on the Cisco 7000 RIP process).
To enable or disable split-horizon:
To disable triggered updates:
The command flash-update-threshold x specifies that if the update is due in x seconds then do not send a triggered update. Thus, if x is set to a value equal to the update timer then we effectively disable triggered updates.
The hold-down timer is a timer used by RIP. Setting the hold-down timer to h seconds means enforces that a routing update which leads to an increase of the cost (hop count) in a routing table entry, will be delayed by h seconds. Setting hold-down timer to 0 means that the RIP process accepts any new modifications to the route immediately. To set the hold-down timer we need to do the following:
ITL LAB 5 - PAGE 17 SPRING 2001
Check List for Lab 5
Complete this check list as you work through the laboratory exercises and hand the form in to the lab instructor before you leave
Names (Please Print):__________________________________________
Turn-in Prelab 5 (Pledge your Check-off for Part 4 Prelab.)
Check-off for Part 1 Check-off for Part 5
Check-off for Part 2 Check-off for Part 6
Check-off for Part 3
Turn-in your feedback sheet.