Routing Protocols by Dr. Ayesha Iqbal
Routing Protocols by Dr. Ayesha Iqbal
Chapter 12
Routing Protocols
By Dr. Ayesha Iqbal
Routing in Circuit Switched
Network
• Many connections will need paths through more
than one switch
• Need to find a route
—Efficiency
—Resilience
• Public telephone switches are a tree structure
—Static routing uses the same approach all the time
• Dynamic routing allows for changes in routing
depending on traffic
—Uses a peer structure for nodes
Network Information Source
and Update Timing
• Routing decisions usually based on knowledge of
network (not always)
• Distributed routing
— Nodes use local knowledge
— May collect info from adjacent nodes
— May collect info from all nodes on a potential route
• Central routing
— Collect info from all nodes
• Update timing
— When is network info held by nodes updated
— Fixed - never updated
— Adaptive - regular updates
• Review: routing algorithms.
—Choose the appropriate paths.
—Routing algorithms
• Flooding
• Shortest path routing (example).
– Dijkstra algorithm.
– Bellman-Ford algorithm.
• Shortest path routing algorithm is perfect if we know the
precise network topology.
– How to maintain the global network state information?
This is also an important part of practical routing
algorithms.
• Distance Vector Routing:
– used at ARPANET till 1979, still used in WAN(RIP)
• Each router maintains a routing table, where each node
in the network has an entry in the table.
• Each entry contains two parts, the outgoing line for the
destination (node) and the distance (time, cost,
whatever) to the destination.
• Each router knows the distance to its neighbors
• In a certain period of time, each router sends the table
to each of its neighbors.
• When a router receives a table from each of its
neighbors, it updates its routing table, determines the
new minimum distance and the outgoing link for the
destination.
B A B C D E
….