DOC PREVIEW
USC EE 450 - Lab_06_RIP

This preview shows page 1-2-3-4 out of 12 pages.

Save
View full document
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

LAB 6 RIP Routing Information Protocol A Routing Protocol Based on the Distance Vector Algorithm OBJECTIVES The objective of this lab is to configure and analyze the performance of the Routing Information Protocol RIP model OVERVIEW A router in the network needs to be able to look at the destination address in the packet and then determine which one of the output ports is the best choice to get the packet to that address The router makes this decision by consulting a forwarding table The fundamental problem of routing is How do routers acquire the information in their forwarding tables Routing algorithms are required to build the routing tables and hence forwarding tables The basic problem of routing is to find the lowest cost path between any two nodes where the cost of a path equals the sum of the costs of all the edges that make up the path Routing is achieved in most practical networks by running routing protocols among the nodes The protocols provide a distributed dynamic way to solve the problem of finding the lowest cost path in the presence of link and node failures and changing edge costs One of the main classes of routing algorithms is the distance vector algorithm Each node constructs a vector containing the distances costs to all other nodes and distributes that vector to its immediate neighbors RIP is the canonical example of a routing protocol built on the distance vector algorithm Routers running RIP send their advertisements regularly e g every 30 s A router also sends an update message whenever a triggered update from another router causes it to change its routing table The Internet Control Message Protocol ICMP can be utilized to analyze the performance of the created routes It can be used to model traffic between routers without the need for running applications in an end node In this lab you will set up a network that utilizes RIP as its routing protocol You will analyze the routing tables generated in the routers and you will observe how RIP is affected by link failures You will also utilize the ICMP to create echo reply messages i e ping to analyze the created routes 53 Network Simulation Experiments Manual PRE LAB ACTIVITIES Read Section 3 3 2 from Computer Networks A Systems Approach 5th Edition Go to www net seal net and play the following animations The Address Resolution Protocol ARP ARP with Multiple Networks Dynamic Host Configuration Protocol DHCP Routing PROCEDURE Create a New Project 1 Start OPNET IT Guru Academic Edition Choose New from the File menu 2 Select Project and click OK Name the project your initials RIP and the scenario No Failure Click OK 3 In the Startup Wizard Initial Topology dialog box make sure that Create Empty Scenario is selected Click Next Select Campus from the Network Scale list Click Next three times Click OK Create and Configure the Network Initialize the network 54 The ethernet4 slip8 gtwy node model represents an IP based gateway supporting four Ethernet hub interfaces and eight serial line interfaces IP packets arriving on any interface are routed to the appropriate output interface based on their destination IP address The RIP or the OSPF protocols may be used to dynamically create the gateway s routing tables 1 The Object Palette dialog box should now be on top of your project workspace If it is not there open it by clicking Make sure that the internet toolbox is selected from the pull down menu on the object palette 2 Add to the project workspace the following objects from the palette one ethernet4 slip8 gtwy router and two 100BaseT LAN objects a To add an object from a palette click its icon in the object palette Move your mouse to the workspace Click to place the object Right click to stop creating objects of that type 3 Use bidirectional 100BaseT links to connect the objects you just added as in the following figure Also rename the objects as shown right click on the node Set Name 4 Close the Object Palette dialog box and Save your project Configure the Router 1 Right click on router 1 Edit Attributes Expand the IP Routing Parameters hierarchy and set the following a Routing Table Export Once at End of Simulation This asks the router to export its routing table at the end of the simulation to the OPNET simulation log 2 Click OK and then Save your project LAB 6 RIP Routing Information Protocol Add the Remaining LANs 1 Highlight or select simultaneously using Ctrl A all five objects that you currently have in the project workspace one router two LANs and two links 2 Press Ctrl C to copy the selected objects and then press Ctrl V three times to paste them to generate three new copies of the objects 3 Arrange the objects in a way similar to the following figure and rename them as shown 4 Connect routers as shown using PPP DS3 links The PPP DS3 link has a data rate of 44 736 Mbps 55 Choose the Statistics To test the performance of the RIP we will collect the following statistics 1 Right click anywhere in the project workspace and select Choose Individual Statistics from the pop up menu 2 In the Choose Results dialog box check the following statistics a Global Statistics RIP Traffic Sent bits sec RIP traffic is the total amount of RIP update traffic in bits sent received per second by all the nodes using RIP as the routing protocol in the IP interfaces in the node Network Simulation Experiments Manual Total Number of Updates is the number of times the routing table at this node gets updated e g because of a new route addition an existing route deletion and or a next hop update Auto Addressed means that all IP interfaces are assigned IP addresses automatically during simulation The class of address e g A B or C is determined based on the number of hosts in the designed network Subnet masks assigned to these interfaces are the default subnet masks for that class b Global Statistics RIP Traffic Received bits sec c Nodes Statistics Route Table Total Number of Updates 3 Click OK and then Save your project Configure the Simulation Here we need to configure some of the simulation parameters 1 Click on and the Configure Simulation window should appear 2 Set the duration to be 10 0 minutes 3 Click on the Global Attributes tab and change the following attributes a IP Dynamic Routing Protocol RIP This sets the RIP protocol to the routing protocol of all routers in the network b IP Interface Addressing Mode Auto Addressed Export c RIP Sim Efficiency Disabled This makes RIP keep updating the routing table in case there are any


View Full Document

USC EE 450 - Lab_06_RIP

Download Lab_06_RIP
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lab_06_RIP and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lab_06_RIP and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?