Network and Communications - PowerPoint PPT Presentation

1 / 22
About This Presentation
Title:

Network and Communications

Description:

Routing Algorithms. Principle of optimality ... Routing Algorithms. Flooding. Send packet to every outgoing line except the one it arrives ... – PowerPoint PPT presentation

Number of Views:39
Avg rating:3.0/5.0
Slides: 23
Provided by: engi57
Category:

less

Transcript and Presenter's Notes

Title: Network and Communications


1
Network and Communications
Chapter 5 Routing Algorithm Adopted from Chois
notes
Ju Wang
Virginia Commonwealth University
2
Design Issues
Store and Forward Packet Switching
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 Subnet
3
Design Issues
Services Provided to the Transport
Layer Goals Independent on the router
technology Router information shielding(number,
type and topology) Global and uniform network
address
4
Datagram Switching
5
Label switching (virtual circuit)
Implementation of Connection Oriented
Service Virtual circuit subnet Every packet carry
virtual circuit id and follows same route
6
Design Issues
Comparison of Virtual Circuits and Datagram subnet
7
Routing Algorithms
NL Goal Routing packets from the source to
destination Algorithm and data structure ?
Decision per packets Why? Best route
What about VC? Session routing
Routing algorithm is desirable if Correctness,
simplicity, robustness, stability,fairness,
optimality
8
Fairness and optimality? Contradictory goals
Correctness?
Robustness To topology and traffic change
Simplicity
What to optimize? Mean packet delay? Network
throughput? Minimize the number of hop
Stability Need to converge to equilibrium
9
Routing AlgorithmsPrinciple of optimality
If J is on the optimal path from I to K, then the
optimal path from J to K also falls along the
same route Proof
So what?
No cycles guarantee the bounded-hop delivery in
real life?
10
Routing AlgorithmsShortest path Routing
11
Routing AlgorithmsFlooding
Send packet to every outgoing line except the one
it arrives duplicated redundant packet - hop
count
12
Routing AlgorithmsDistance Vector Routing
(Bellman Ford)
Problem?
13
(No Transcript)
14
Routing AlgorithmsLink State Routing
  • Each router must do the following
  • Discover its neighbors, learn their network
    address.
  • Measure the delay or cost to each of its
    neighbors.
  • Construct a packet telling all it has just
    learned.
  • Send this packet to all other routers.
  • Compute the shortest path to every other router

Computing the New Route using Dijkstra

15
(No Transcript)
16
Routing AlgorithmsHierarchical Routing
Save space! At the cost of path length (1A to 5C)
17
Routing AlgorithmsBroadcasting, Multicasting
  • Spanning tree
  • Given
  • Graph G (V,E)
  • Edge weights w w(e) is weight for edge e.
  • Find a spanning tree T which has minimum weight,
    i.e., minimum spanning tree
  • Recall, a spanning tree is a subgraph that is a
    tree that includes all the nodes.

18
Examples
8
7
4
9
Spanning Tree 42
2
4
11
14
6
10
7
8
1
2
1
2
19
Kruskals Algorithm Basic Idea
  • Start with a collection of subtrees
  • Actually, each node is a subtree
  • Find the lightest edge joining two subtrees
  • Keep doing this until there is a single subtree

20
Kruskals Algorithm Basic Idea
21
Prims Algorithm Basic Idea
  • Start with a single subtree of ONE node
  • Grow this subtree by adding the lightest
  • edge coming out of it.
  • Keep doing this until the subtree is a
  • spanning tree.

22
Prims Algorithm Basic Idea
Write a Comment
User Comments (0)
About PowerShow.com