Docsity

Network Layer Design Issues - Computer Communication Networks | CS 45201, Study notes of Computer Systems Networking and Telecommunications

Partial preview of the text

Download Network Layer Design Issues - Computer Communication Networks | CS 45201 and more Study notes Computer Systems Networking and Telecommunications in PDF only on Docsity!

  • Store-and-Forward Packet Switching
  • Services Provided to the Transport Layer
  • Implementation of Connectionless Service
  • Implementation of Connection-Oriented Service
  • Comparison of Virtual-Circuit and Datagram Subnets

Routing within a diagram subnet.

Routing within a virtual-circuit subnet.

 A Routing Algorithm is that part of the network layer software responsible for deciding which output line an incoming packet should be transmitted on.

 A session routing occurs when a route remains in force for the entire user session

  1. Forwarding– decides which outgoing line to use per packet according to the routing tables.
  2. Update the routing tables.
  • 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

(a) A subnet. (b) A sink tree for router B.

Optimality Principle : If router J is on the optimal path from router I to router K, then the optimal path from J to K also falls along the same route

 How to find the SP from A to J:

  1. Label each nodes with the label ( , -)
  2. Mark the initial node
  3. Relabel each adjacent nodes to the working node with the distance from the working node and the node from which the probe was made
  4. Select the node in the graph with the smallest label and mark it. This is the new working node.
  5. Repeat step 3-5 until you reach J.

Dijkstra's algorithm to compute the shortest path through a graph.

5-8 top

Dijkstra's algorithm to compute the shortest path through a graph.

5- bottom

 Also called the Bellman-Ford or Ford-Fulkerson algorithms  Used in ARPANET

 Idea: - Maintain a routing table (i.e. a vector) for each router containing

  • the best outgoing line for that destination.
  • the distance or time to that destination

 Steps:

  1. Every T msec each router sends to each neighbor a list of estimate delays to each destination
  2. Each router updates its own table accordingly.

(a) A subnet. (b) Input from J’s neighbors A,

I, H, K, and the new routing table for J.

 More routing algorithms….