Advanced Internetworking Lab 2 - Dynamic Routing
Advanced Internetworking Lab 2 - Dynamic Routing
IK2215
Lab 2 – Dynamic Routing
rev 1.1
Name: _______________________________________________
Date: _______________________________________________
Link state routing protocol is, on the other hand, based on the concept
that every node receives a map of the connectivity of the network, in the
form of a graph showing which nodes are connected to which other nodes.
Each node then independently calculates the best next hop from it for
every possible destination in the network. It does this using only its local
copy of the map, and without communicating in any other way with any
other node. The collection of best next hops forms the routing table for
the node.
References:
http://en.wikipedia.org/wiki/Distance_vector_routing
http://en.wikipedia.org/wiki/Link-state_protocol
2. Overview
• Preparation
• Lab setup
• Distance Vector Routing
• Link State Routing
• Practical example
3. Preparation
3.1. Reading Material
In order to be able to complete the lab on schedule you need to prepare.
Below is a list of reading material that you must complete before coming
to the lab.
• RIP
http://www.cisco.com/en/US/docs/internetworking/technology
/handbook/RIP.html
• OSPF
http://www.cisco.com/en/US/docs/internetworking/technology
/handbook/OSPF.html
• RIP
http://www.cisco.com/en/US/docs/ios/12_0/np1/configuration
/guide/1crip.html
• OSPF
http://www.cisco.com/en/US/docs/ios/12_0/np1/configuration
/guide/1cospf.html
For information on how to configure the serial interfaces on the Cisco, see
the paper provided by Stril Networks on the course website. Pay special
attention on how to configure the synchronous serial ports.
Router> enable
Router#
Router# configure terminal
Router(config)#exit
If you want to configure router A’s interface eth1 this is the procedure:
Router> enable
Router#
Router#configure terminal
Router(config)#interface eth1
Router(config-if)#ip address 10.1.1.2 255.255.255.0
Router(config-if)#exit
Router(config)#exit
Router#copy running-config startup-config (save configuration)
1. Before you start, make sure that you reset the router configuration
as stated in section 4 (Lab setup) of this instruction.
2. Each group will be using IP addresses from different network as
depicted in Figure 2. (You should replace “x” with your group
number. For example, 192.168.x1.0/24 would be 192.168.11.0/24
for group 1, 192.168.21.0/24 for group 2, and so forth.) Configure
the Router interface’s IP address and the communication between
DCE-DTE interfaces as show in Figure 2.
3. Verify that the interfaces are up and you can ping the adjacent
routers.
4. Now turn on RIP debugging feature on the router by entering the
privilege mode and then run commands “debug ip rip” and “debug
ip rip events”.
5. Enable rip routing process by running the command “router rip” at
the global configuration mode. Then associate both of your
connected networks with a RIP routing process by running a
command “network <your-connected-network>”. Carefully
observe at the debugging messages each time you enter the
network command!
Question: When you first start the RIP process, what address does it
send a request to?
Answer:
Question: Why do you think that RIP process sends a request once it
starts? What would be the benefit of doing so?
Answer:
Question: How long does it take before you can see that the route
192.168.x5.0 is inaccessible? Is the route removed from the routing table
once it is inaccessible?
Answer:
Question: Once OSPF is at FULL state, which address does the router
sends update to? Explain what could be the benefit of using this address?
Answer:
Question: After step 7, which routers become DR and BDR? Explain your
reason.
Answer:
Question: What would happen if you run command “no ip address” on the
Ethernet0 interface of the DR. Which routers are the new DR and BDR?
Answer:
End of Lab 2