8.1 Lesson 26 - Routing
8.1 Lesson 26 - Routing
8
Routing
Paths from A to C
ABC
AEDC
AEC
ABEC
ABEDC
Number of Hops
1
2
1
2
3
Total cost
6
3
5
9
7
Lesson
26
Routing I
Objective
To learn some routing techniques and some routing algorithms.
8.1.1 Introduction
The main function of the network layer is routing packets from the source
machine to the destination machine. In most subnets, packets will require
multiple hops to make the journey. The routing algorithm is that part of the
network layer software which is responsible for deciding on which output line the
incoming packet should be transmitted. This decision has to be made for each
packet in case of Connectionless Packet Switching and once per session for
Connection Oriented Service. Regardless of whether routes are chosen
independently for each packet or only when new connections are established,
there are certain properties which are desirable in a routing algorithm :
correctness, simplicity, robustness, stability, fairness and optimality. Robustness
implies that the routing algorithm should be able to cope with the changes in the
topology and traffic without requiring all jobs in all hosts to be aborted and the
network be rebooted every time any router crashes. Stability implies that a
change should not be back and forth in a short period of time. Other parameters
are easy to appreciate.
Questions
1. What is routing?
2. What are the requirements of a routing technique?
3. Differentiate between the minimum hop routing and minimum cost
routing.
4. Explain interior and exterior routing.