Unit 12
Unit 12
9
Contd..
10
Goals and Classifications of Routing Protocols
● Goals
(i) The energy consumption for the forwarding of the information should be kept as small as
possible
(ii) The lifetime of the network, i.e., the time until the first node runs out of battery power,
should be maximized,
(iii) The protocol should be distributed, i.e., not require centralized control
(iv) The protocol should be able to react quickly to changes in the topology or link states,
(v) The protocol should be bandwidth efficient, i.e., achieve high throughput in the
bandwidth allocated to the network
(vi) The end-to-end transmission time (delay) should be minimized.
Contd..
Taking the changing topology and link states into account, the routing can be done in one of
the following two ways:
(i) proactive: in this case, the network keeps track of the optimum routes from all possible
sources to all possible destinations at all times. Thus, the actual transmission of packets can
be done very quickly, as the optimum route is immediately available. On the downside, the
overhead required to keep track of all the routes can be significant.
(ii) reactive: in this approach, a route to a destination is only determined when there is
actually a packet to be sent to that particular destination, i.e., on demand. This approach is
more efficient, but clearly leads to a slower delivery of packets.
Contd..
13
Contd..
Contd..
Source Routing
● Each information generating node can determine the path in which the packet flows.
● Sequence of nodes are added to the packet so that every node will know the details of next
node.
● Loop free