routing and routing algorithms

16
ROUTING AND ROUTING ALGORITHMS Aadil A. Bhat (1502CUKMr001) Zarak Reeman (1502CUKMr001)

Upload: bhatt-aadil

Post on 20-Mar-2017

84 views

Category:

Engineering


4 download

TRANSCRIPT

Page 1: Routing and routing algorithms

ROUTING AND ROUTING ALGORITHMS

Aadil A. Bhat (1502CUKMr001)Zarak Reeman (1502CUKMr001)

Page 2: Routing and routing algorithms

2

ROUTING Routing is a mechanism of finding out most cost

effective path from source to destination. Routing is one the most complex and crucial

aspects of Packet Switching Network Design

Page 3: Routing and routing algorithms

3

DESIRABLE PROPERTIES Correctness and simplicity : Packets should be

delivered to correct destination. Routing algorithm should be simple.

Robustness: Ability of the network to deliver packets via some route even in face of failures.

Stability: The algorithm should converge to equilibrium fast in the face of changing environment.

Fairness and optimality: Obvious requirement but conflicting.

Efficiency: Minimum Overhead.

Page 4: Routing and routing algorithms

4

DESIGN PARAMETERS Performance Criteria: Number of Hops, Cost Delay,

Throughput.

Decision Time: Per Packet(Datagram), per secession (Virtual Circuit).

Decision place: Each node distributed, Central node (centralized), originated note (source).

Network Information Source: None, local, adjacent node, nodes along route, all nodes.

Network Information Update Time: continuous, periodic, adjacent nodes, major load change, topology network

Page 5: Routing and routing algorithms

5

ROUTING STRATEGIES Fixed (static) Routing. Flooding Random Routing Flow based Routing Adaptive/ Dynamic Routing

Page 6: Routing and routing algorithms

6

FIXED ROUTING A route is selected for each source-

destination pair of nodes in the network. The routes are fixed, they may only change if

there is change in topology of the network. How fixed routing may be implemented???

Page 7: Routing and routing algorithms

7

FIXED ROUTING- EXAMPLE A central routing matrix is created based on

least-cost path, which is stored at a Network Control Centre.

The matrix shows, for each source-destination pair of nodes, the identity of the next node of the route.

Page 8: Routing and routing algorithms

8

FIXED ROUTING- EXAMPLE(CONT.)

Page 9: Routing and routing algorithms

9

LEAST COST PATH A cost is associated with each link. The simplest criterion is to choose the

minimum-hop route through the network. A generalization is least cost For any pair of attached stations, the least

cost route through the network is looked for. For either case, several well known

algorithms exist to obtain the optimum path.i. Dijkstra’s algorithmii. Bellman- Ford algorithm

Page 10: Routing and routing algorithms

10

DIJKSTRA ALGORITHM

Page 11: Routing and routing algorithms

11

Page 12: Routing and routing algorithms

12

FIXED ROUTING Advantages

Simple Works well in the reliable network Same for virtual circuit and datagram

Disadvantages Lack of flexibility Doesn’t react to failures or network congestion.

Page 13: Routing and routing algorithms

13

FLOODING Requires no network information whatsoever Every incoming packet to a node is sent out

on every outgoing line except the one it arrived on.

Page 14: Routing and routing algorithms

14

FLOODING CHARACTERISTICS All possible routes between source and

destination are tried. A packet will go through if a path exists.

As all routes are tried, at least one packet will pass through the shortest route.

All nodes, directly or indirectly are visited Limitations

Flooding generates vast number of duplicate packets

Suitable damping mechanism must be used

Page 15: Routing and routing algorithms

15

SELECTIVE FLOODING A variation which is more practical is

selective flooding. The router do not send every incoming packet

out on every line, only those lines that go in approximately in the direction of destination.

Page 16: Routing and routing algorithms

16

UTILITIES OF FLOODING Flooding is highly robust and could be used

to send emergency messages. May be used to initially set up the route in a

virtual circuit. Flooding always chooses the shortest since it

explores every possible path in parallel. Can be useful for the dissemination of

important information to all nodes