Docsity

Routing - Data Communications - Lecture Slides, Slides of Data Communication Systems and Computer Networks

Partial preview of the text

Download Routing - Data Communications - Lecture Slides and more Slides Data Communication Systems and Computer Networks in PDF only on Docsity!

Chapter 12

Routing

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

Alternate

Routing

Diagram

Routing in Packet Switched

Network

• Complex, crucial aspect of packet switched

networks

• Characteristics required

—Correctness —Simplicity —Robustness —Stability —Fairness —Optimality —Efficiency

Example Packet Switched

Network

Decision Time and Place

• Time

—Packet or virtual circuit basis

• Place

—Distributed

  • Made by each node —Centralized —Source

Routing Strategies

• Fixed

• Flooding

• Random

• Adaptive

Fixed Routing

• Single permanent route for each source to

destination pair

• Determine routes using a least cost algorithm

(appendix 10A)

• Route fixed, at least until a change in network

topology

Flooding

  • No network info required
  • Packet sent by node to every neighbor
  • Incoming packets retransmitted on every link except incoming link
  • Eventually a number of copies will arrive at destination
  • Each packet is uniquely numbered so duplicates can be discarded
  • Nodes can remember packets already forwarded to keep network load in bounds
  • Can include a hop count in packets

Flooding

Example

Random Routing

• Node selects one outgoing path for

retransmission of incoming packet

• Selection can be random or round robin

• Can select outgoing path based on probability

calculation

• No network info needed

• Route is typically not least cost nor minimum

hop

Adaptive Routing

  • Used by almost all packet switching networks
  • Routing decisions change as conditions on the network change — Failure — Congestion
  • Requires info about network
  • Decisions more complex
  • Tradeoff between quality of network info and overhead
  • Reacting too quickly can cause oscillation
  • Too slowly to be relevant

Classification

• Based on information sources

—Local (isolated)

  • Route to outgoing link with shortest queue
  • Can include bias for each destination
  • Rarely used - do not make use of easily available info —Adjacent nodes —All nodes

Isolated Adaptive Routing