




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!





ECE 4110 LAB7 Routing Protocols RIP (Revised 10/30/00) Due November 7, 2000 by 3:00 PM. No late labs accepted. We only have one set of equipment, use reservation schedule on door of COC331 to schedule not more than two hours of lab time in advance. No late labs accepted.
The network shown in the diagram below is already built for you:
Attached at the back of this lab are the configuration for each of the routers shown.
What is the mechanism used by RIP routers to exchange routing information? What is the maximum number of routes that can be sent in a RIP update?
What is VLSM? Does RIP support it? Justify your answer.
What metric does RIP use?
In Lab Instructions:
Follow the instructions below and answer the associated questions
Logon to linux1. Username is linux_class, password is linux_class After you are logged in type startx at the prompt.
Once X-windows has started open up 4 terminal windows.
In the first window, type telnet 10.1.3.1. At the password prompt type in owen. Then type enable at the prompt. When you see the password prompt, again type owen
This section undoes any stuff a previous lab group may have left:
Once you are logged into RIP4, still in the first window type telnet 10.1.4.2. This will connect you to RIP3. Again when prompted for a password type in owen. Then type enable and then enter owen for the password again. Then type in the following commands:
a) config terminal This will take you into configuration mode, so that you can modify the router configuration. b) interface fastethernet 0 This will let you configure the ethernet 0 interface c) no shutdown This will enable the interface d) exit e) exit This will take you out of configuration mode
This command will cause the router to display all messages relating to the IP routing process. It will display when a route is added or deleted or modified. f) debug ip rip This command will cause the router to display all messages relating to the RIP process on the router. This will show contents of the periodic updates that the router sees and any other RIP related information.
In the 4th^ x term window telnet to RIP2 (telnet 10.1.2.2) and then telnet into RIP (10.1.2.1) again, as described above.
In the 2nd^ terminal window type telnet 10.1.4.2. This will connect you to RIP3. Again when prompted for a password type in owen. Then type enable and then enter owen for the password again. Then type in the following commands:
a) config terminal b) interface fastethernet 0 c) shutdown d) exit e) exit
Keep track of the time since you have typed shutdown. (Start a stop watch if you have one, see step iii now). These commands will disable (shutdown) the fastethernet 0 interface on RIP3 which will force the RIP process on RIP3 to send out a flash update. Notice that you have introduced a simulated failure in the network, interface 10.1.1.2 on RIP3 no longer works.
On RIP1 try to get to RIP4: i) In the 4th window, in which you are logged into RIP1, type ping 10.1.3.1. You are trying to see if you can get from RIP1 to 10.1.3.1 (RIP4) which is on the other side of the shutdown interface of RIP3. Do you get a response? Why/Why not? ( Look at the route table in RIP1 by using sh ip route ) Hint: RIP1 does not flush its routiong table immediately, it takes how many minutes?
ii) What messages do you see appearing on the console of RIP1? Capture them all. To capture them highlight the text from the window, by clicking on the leftmost mouse button and moving the mouse down the screen until all the text you want to capture is highlighted. Then start a text-editor (pico, vi, emacs, etc). Once it has started, move the
iv) Still on RIP1( in the 4th window) type ping 10.1.3.1. Do you now see a response? Why or why not?
v)Now try to get from RIP3 to RIP1. On router RIP3 type ping 10.1.1.1. Do you see a response? Why or why not? If it does not work repeat this (step v) until it does work or ask the TA for help.
Don’t forget to save the data file and copy it to floppy for safe keeping.
This section cleans up what you broke so that all is working when the next lab group starts:
Now on router RIP3 type in the following commands:
a) config terminal This will take you into configuration mode, so that you can modify the router configuration. b) interface fastethernet 0 This will let you configure the fastethernet 0 interface c) no shutdown This will enable the interface d) exit e) exit This will take you out of configuration mode f) write memory This command will save the configuration to NVRAM, so that if the router were rebooted the changes you made would not be lost. g) exit This will disconnect you from RIP3.
Logout from Linux1.
interface FastEthernet ip address 10.1.2.2 255.255.255. no ip directed-broadcast no ip route-cache ! router rip version 2 network 10.0.0. neighbor 10.1.3. no auto-summary ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password owen login ! end
hostname RIP ! enable password owen ! memory-size iomem 25 ip subnet-zero ! interface Loopback ip address 10.1.4.2 255.255.255. no ip directed-broadcast ! interface Serial ip unnumbered Loopback no ip directed-broadcast encapsulation ppp no ip route-cache ! interface FastEthernet ip address 10.1.1.2 255.255.255. no ip directed-broadcast no ip route-cache ! router rip
line aux 0 line vty 0 4 password owen login ! end
hostname RIP ! enable password owen ! memory-size iomem 25 ip subnet-zero ! interface Serial ip unnumbered FastEthernet no ip directed-broadcast encapsulation ppp no ip route-cache clockrate 115200 ! interface Serial ip unnumbered FastEthernet no ip directed-broadcast encapsulation ppp no ip route-cache clockrate 115200 ! interface FastEthernet ip address 10.1.3.1 255.255.255. no ip directed-broadcast no ip route-cache ! router rip version 2 network 10.0.0. neighbor 10.1.4. neighbor 10.1.4. no auto-summary ! ip classless no ip http server ! line con 0 transport input none line aux 0