The Network Layer: Design Issues & Routing Algorithms
The Network Layer: Design Issues & Routing Algorithms
fig 5-1
Internet – Connection-less
ATM – Connection-oriented
Implementation of Connectionless Service
5-4
Routing Algorithms
• The Optimality Principle
• Shortest Path Routing
• Flooding
• Distance Vector Routing
• Link State Routing
• Hierarchical Routing
• Broadcast Routing
• Multicast Routing
• Routing for Mobile Hosts
• Routing in Ad Hoc Networks
Desirable Properties (Elaborate)
Correctness
Simplicity
Robustness – System will be in place for years
with small failures
Fairness,
Efficiency.
Routing Algorithms (2)
A – A’, B – B’, C – C’, can fill the channel, then X-X’ doesn’t get a chance
Conflict between fairness and optimality.
Minimizing the mean packet delay is an obvious candidate to send traffic through the network effectively
Elaborate
a) Adaptive/Non-adaptive routing
The Optimality Principle
5-8 top
5-8
bottom
Hierarchical routing.
Problems – optimal paths are sacrificed
Hierarchical Routing (2)
(a) Nine routers and a LAN. (b) A graph model of (a). All
routers
Setting Link Cost
a) Bandwidth
b) Delay – measured by sending special ECHO
• A subnet in which the East and West parts are connected by 2 lines.
• Including queuing delay may lead to a lot of oscillations.
• Load spread over both lines.
Building Link State Packets
(a) A subnet. (b) The link state packets for this subnet.
Few Problems
• The packet buffer for router B in the previous slide (Fig. 5-13).
• E has arrived twice.
• C’s copy arrives from F, then F will be ACK not sent.
OSPF (Open Shortest Path First)
IS-IS (intermediate System-
Intermediate System)
of a d dress
ister care
0. Reg
of a d dress
ister care
0. Reg
Any node in the ring can find successor(k) by propagating the query
around the ring starting with its successor.
Finger table
• Even if both successor and predecessor pointers are used, a
sequential search will take time on average O(n/2) [n is the
number of nodes].