SlideShare a Scribd company logo
1 of 21
Download to read offline
chow CS522 F96-Routing-12/3/96–Page 1-
Datagram vs. Virtual Circuit
In a datagram network
Two packets of the same user pair can
travel along different routes.
The packets can arrive out of sequence.
Packets contain full Src, Dst addresses.
Each host occupies routine table entries.
Requires no connection setup.
A
B
C
D
E
D1
D2
D3
C1
B1
A1
A2
A3
Mi: ith datagram sent
by Host M.
In a virtual circuit network
All packets of the same virtual circuit
travel along the same path.
Packet sequencing is guaranteed.
Packets contain short VC Id. (VCI).
Each VC occupies routing table entries.
Requires VC setup. First packet has
large delay.
A
B
C
D
E
Session Routing
chow CS522 F96-Routing-12/3/96–Page 2-
Virtual Circuit and Datagram Implementation
Internal Operation
Datagram Victual Circuit
External Service
Datagram UDP over IP
(packet)
IP over ATM
Virtual Circuit TCP over IP
(message, packet)
TYMNET, SNA over ATM
(Virtual and explicit route)
chow CS522 F96-Routing-12/3/96–Page 3-
Routing Algorithm
l Select routes for various origin-destination (OD) pairs via shortest or
optimization calculation (accommodate more OD pairs).
l Delivery of messages to the correct destination once routes are selected.
→ Use routing tables.
Performance Measures Affected By Routing
Delay
1 2
53
4
6
5 pkts/s 5 pkts/s
Destination
All links have C=10 pkts/s.
If all traffic is via (4,6), congestion occurs.
Via (1,3,6) and (2,5,6), the delay is small.
(to 6) (to 6)
Throughput
All links have C=10 pkts/s.
Traffic can be accommodated by multi-path routing.
What is the max. throughput from nodes 1and 2 to 6?
How about the worst case?
1 2
53
4
6
5 pkts/s 15 pkts/s
Destination
(to 6) (to 6)
chow CS522 F96-Routing-12/3/96–Page 4-
Classification of Routing Algorithms
l Centralized (all routing decisions at a single node)
or Distributed (computation of routes shared by nodes)
l Static (routes are fixed for each OD pair regardless of traffic pattern)
or Adaptive (responsive to traffic pattern)
Desirable Properties of Routing Algorithms
l correctness
l simplicity
l robustness
l stability
l fairness
l optimality
X
A’
A
X’
B’
B
C’
C
conflicts
chow CS522 F96-Routing-12/3/96–Page 5-
(Routing) Optimal Principle
l If router J is on the optimal path from route I to route K,
then the optimal path from J to K also falls along the same route.
l The optimal routes to a router form a sink tree.
sink tree for router BA subnet
chow CS522 F96-Routing-12/3/96–Page 6-
Dijkstra’s Shortest Path Algorithm [DIJK59]
Find the shortest paths form a given source node to all other nodes by developing
paths in order of increasing path length.
Let the set of nodes in a network be N.
1. start with a source node S in node set M. Let the nodes not in M be M’.
2. Let L with the set of links connecting M and M’.
l Among the nodes in M’ connected to M via L, find the node, n, with the
lowest path cost to s. Move n to M. (Use hopcount, nodeId for tie breaker.)
l Update the cost from s to other nodes in M’ taking into consideration of the
new path via n.
3. Repeat step 2 until M=N.
chow CS522 F96-Routing-12/3/96–Page 7-
Computing Shortest Path
chow CS522 F96-Routing-12/3/96–Page 8-
Routing Strategies
l Fixed routing
Network Operation Center (NOC) collects information from individual nodes
NOC carries out the least cost routing algorithms.
NOC distributed the routing information to individual nodes.
The above steps are carried out periodically.
l Flooding
A node sends/relays a message along all its outgoing links.
Rely on hop counts or time-stamps to terminate the flooding.
Disadvantage: a lot of redundant msgs, waste bandwidth.
Advantage: does not require NOC, reliable,
message may arrive via a minimum hop route.
chow CS522 F96-Routing-12/3/96–Page 9-
Routing in ARPANET (old version)
Use distributed, shortest path, and adaptive routing algorithm.
Periodically, each IMP
calculates delay to other IMPs,
exchanges delay vectors with their neighbors,
based on the delay vectors received, compute the new routing table.
Problems: 1) low throughput, 2) susceptible to oscillations,
3) good news spread fast; bad news spread slow.
chow CS522 F96-Routing-12/3/96–Page 10-
Exercise on ARPANET Routing
Consider the mesh network shown below.
Assume that the ARPAnet routing algorithm is used. Node B receives three routing vectors from
A, E and C. With the above link delay to A, E, and C, calculate B’s new routing table and fill your
result into the above vacant entries.
A B C
D E F
G H I
A 0 6 10
B 21 4 5
C 25 13 0
D 40 7 8
E 24 0 10
F 29 5 9
G 48 21 26
H 27 14 15
I 31 19 11
A E C
New
from B via Line
estimated
delay
BA
delay
BE
delay
BC
delay
= = =50 3 5
chow CS522 F96-Routing-12/3/96–Page 11-
ARPANET Routing 1979
The old ARPANET routing algorithm has the following shortcomings:
l only consider queue length, not favor high speed lines.
l it responded slowly to congestion and delay increases.
The new ARPANET routing algorithm
l measure the delay directly using time-stamp.
l every 10 seconds, delay on each link is calculated and flood to all other
nodes (not just the neighboring node).
l each node compute the new routing information based one new delay info
and Dijkstra algorithm.
l it is more responsive.
l but new problems appear (Oscillations are possible and very damaging)
chow CS522 F96-Routing-12/3/96–Page 12-
Count to Infinity Problem
chow CS522 F96-Routing-12/3/96–Page 13-
Slow Convergence
Net
B G1 G2 G3
Net
B G1 G2 G3X
B 1 B 2 B 3
table
entries
B × B 2 B 3
B 3 B 4 B 3
B × B 2 B 3
B3B2
B 3 B 4 B 3
B3B4
routing update
round 1
round 2
B 5 B 4 B 5
B 5 B 4 B 5
B5B4round 3
B 5 B 6 B 5
Good news travels quickly; bad news travels slowly
chow CS522 F96-Routing-12/3/96–Page 14-
Split Horizon Update
B × B 2 B 3
B × B × B 3
B × B 2 B 3
B×B×
B × B × B 3
B×B×
routing update
round 1
round 2
B × B × B ×
chow CS522 F96-Routing-12/3/96–Page 15-
Problem can’t be solved by
Split Horizon
chow CS522 F96-Routing-12/3/96–Page 16-
Link State Routing
chow CS522 F96-Routing-12/3/96–Page 17-
Oscillation in new ARPANET Routing
Oscillations are possible and very damaging.
chow CS522 F96-Routing-12/3/96–Page 18-
Oscillation in ARPANET Routing
chow CS522 F96-Routing-12/3/96–Page 19-
Damping the Oscillation in ARPANET Routing
Oscillations can be damped by using
1) A large bias factor (a constant that make link lengths large at zero flow).
Side-effect: makes it less sensitive to congestion.
2) Average of several routing updates.
3) Asynchronous execution of the routing algorithm.
chow CS522 F96-Routing-12/3/96–Page 20-
Traffic control
Deal with the control of the number of packets entering the network.
l Flow control- enable the receiver to control the msg receiving rate.
e.g., use slide-window protocol.
l Congestion control- maintaining the number of packets within the network
below the level where the network throughput starts to decrease.
1. congested node sends choke packets to the sources.
2. rely routing algorithms (passive)
3. use the probing message between end points.
4. piggyback the congestion information back to the source.
l Deadlock avoidance.
- use structured buffer pool
- use setup packet to reserve enough buffer and use ack msg to release
buffer.
chow CS522 F96-Routing-12/3/96–Page 21-
Interaction of Routing and Flow Control
As good routing keeps delay low, flow control allows more traffic into the network.
Routing determines the delay/throughput curve along which flow control operates
Flow Control Routing
Rejected Load
Offered Load Throughput Delay
Throughput
Delay
Poor Routing
Good Routing
XX X: flow control
invoked point
pkts delivered
pkts sent
Max. capacity
flow control
without flow control
congested
d

More Related Content

What's hot

What's hot (20)

Adaline madaline
Adaline madalineAdaline madaline
Adaline madaline
 
Check sum
Check sumCheck sum
Check sum
 
Yolo
YoloYolo
Yolo
 
Dining Philosopher Problem and Solution
Dining Philosopher Problem and SolutionDining Philosopher Problem and Solution
Dining Philosopher Problem and Solution
 
Recurrent Neural Net의 이론과 설명
Recurrent Neural Net의 이론과 설명Recurrent Neural Net의 이론과 설명
Recurrent Neural Net의 이론과 설명
 
Introduction_NNFL_Aug2022.pdf
Introduction_NNFL_Aug2022.pdfIntroduction_NNFL_Aug2022.pdf
Introduction_NNFL_Aug2022.pdf
 
18CS2005 Cryptography and Network Security
18CS2005 Cryptography and Network Security18CS2005 Cryptography and Network Security
18CS2005 Cryptography and Network Security
 
2. Cache Mapping.pptx
2. Cache Mapping.pptx2. Cache Mapping.pptx
2. Cache Mapping.pptx
 
Fuzzy and nn
Fuzzy and nnFuzzy and nn
Fuzzy and nn
 
Cache memory
Cache memoryCache memory
Cache memory
 
Neural Networks
Neural NetworksNeural Networks
Neural Networks
 
Batch normalization presentation
Batch normalization presentationBatch normalization presentation
Batch normalization presentation
 
Aes
AesAes
Aes
 
CSMA/CA
CSMA/CACSMA/CA
CSMA/CA
 
Data link layer
Data link layerData link layer
Data link layer
 
Rsa algorithm (rivest shamir-adleman)
Rsa algorithm (rivest shamir-adleman)Rsa algorithm (rivest shamir-adleman)
Rsa algorithm (rivest shamir-adleman)
 
Physical layer interface & standards
Physical layer interface & standardsPhysical layer interface & standards
Physical layer interface & standards
 
Convolutional Neural Network (CNN)
Convolutional Neural Network (CNN)Convolutional Neural Network (CNN)
Convolutional Neural Network (CNN)
 
Shared Memory Multi Processor
Shared Memory Multi ProcessorShared Memory Multi Processor
Shared Memory Multi Processor
 
Bus
BusBus
Bus
 

Similar to Datagram vs. virtual circuit

4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdfmrcopyxerox
 
CS6003 AD HOC AND SENSOR NETWORKS
CS6003 AD HOC AND SENSOR NETWORKSCS6003 AD HOC AND SENSOR NETWORKS
CS6003 AD HOC AND SENSOR NETWORKSKathirvel Ayyaswamy
 
Adhoc Sensor Networks1.pptx
Adhoc Sensor Networks1.pptxAdhoc Sensor Networks1.pptx
Adhoc Sensor Networks1.pptxkapss043
 
Lecture 9 10 .mobile ad-hoc routing protocols
Lecture 9 10 .mobile ad-hoc routing protocolsLecture 9 10 .mobile ad-hoc routing protocols
Lecture 9 10 .mobile ad-hoc routing protocolsChandra Meena
 
11.a review of improvement in tcp congestion control using route failure det...
11.a  review of improvement in tcp congestion control using route failure det...11.a  review of improvement in tcp congestion control using route failure det...
11.a review of improvement in tcp congestion control using route failure det...Alexander Decker
 
Answer sheet of switching & routing
Answer sheet of switching & routingAnswer sheet of switching & routing
Answer sheet of switching & routingMd. Mashiur Rahman
 
Modified Headfirst Sliding Routing: A Time-Based Routing Scheme for Bus-Nochy...
Modified Headfirst Sliding Routing: A Time-Based Routing Scheme for Bus-Nochy...Modified Headfirst Sliding Routing: A Time-Based Routing Scheme for Bus-Nochy...
Modified Headfirst Sliding Routing: A Time-Based Routing Scheme for Bus-Nochy...IJERA Editor
 
Ad-Hoc Wireless Network
Ad-Hoc Wireless NetworkAd-Hoc Wireless Network
Ad-Hoc Wireless Networkmdfarhanh1
 
11.a study of congestion aware adaptive routing protocols in manet
11.a study of congestion aware adaptive routing protocols in manet11.a study of congestion aware adaptive routing protocols in manet
11.a study of congestion aware adaptive routing protocols in manetAlexander Decker
 
Unit VIII wireless sensor networks
Unit VIII wireless sensor networksUnit VIII wireless sensor networks
Unit VIII wireless sensor networkssangusajjan
 
Performance Evaluation of a Layered WSN Using AODV and MCF Protocols in NS-2
Performance Evaluation of a Layered WSN Using AODV and MCF Protocols in NS-2Performance Evaluation of a Layered WSN Using AODV and MCF Protocols in NS-2
Performance Evaluation of a Layered WSN Using AODV and MCF Protocols in NS-2csandit
 
Circuit Emulation for Bulk Transfers in Distributed Storage and Clouds
Circuit Emulation for Bulk Transfers in Distributed Storage and CloudsCircuit Emulation for Bulk Transfers in Distributed Storage and Clouds
Circuit Emulation for Bulk Transfers in Distributed Storage and CloudsTokyo University of Science
 
distance-vector-routing-3.pdf
distance-vector-routing-3.pdfdistance-vector-routing-3.pdf
distance-vector-routing-3.pdfJayaprasanna4
 

Similar to Datagram vs. virtual circuit (20)

4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
 
QSpiders - Good to Know Network Concepts
QSpiders - Good to Know Network ConceptsQSpiders - Good to Know Network Concepts
QSpiders - Good to Know Network Concepts
 
CS6003 AD HOC AND SENSOR NETWORKS
CS6003 AD HOC AND SENSOR NETWORKSCS6003 AD HOC AND SENSOR NETWORKS
CS6003 AD HOC AND SENSOR NETWORKS
 
Adhoc Sensor Networks1.pptx
Adhoc Sensor Networks1.pptxAdhoc Sensor Networks1.pptx
Adhoc Sensor Networks1.pptx
 
Lecture 9 10 .mobile ad-hoc routing protocols
Lecture 9 10 .mobile ad-hoc routing protocolsLecture 9 10 .mobile ad-hoc routing protocols
Lecture 9 10 .mobile ad-hoc routing protocols
 
Networks notes
Networks notesNetworks notes
Networks notes
 
11.a review of improvement in tcp congestion control using route failure det...
11.a  review of improvement in tcp congestion control using route failure det...11.a  review of improvement in tcp congestion control using route failure det...
11.a review of improvement in tcp congestion control using route failure det...
 
Answer sheet of switching & routing
Answer sheet of switching & routingAnswer sheet of switching & routing
Answer sheet of switching & routing
 
Modified Headfirst Sliding Routing: A Time-Based Routing Scheme for Bus-Nochy...
Modified Headfirst Sliding Routing: A Time-Based Routing Scheme for Bus-Nochy...Modified Headfirst Sliding Routing: A Time-Based Routing Scheme for Bus-Nochy...
Modified Headfirst Sliding Routing: A Time-Based Routing Scheme for Bus-Nochy...
 
IT6601 MOBILE COMPUTING
IT6601 MOBILE COMPUTINGIT6601 MOBILE COMPUTING
IT6601 MOBILE COMPUTING
 
Ad-Hoc Wireless Network
Ad-Hoc Wireless NetworkAd-Hoc Wireless Network
Ad-Hoc Wireless Network
 
11.a study of congestion aware adaptive routing protocols in manet
11.a study of congestion aware adaptive routing protocols in manet11.a study of congestion aware adaptive routing protocols in manet
11.a study of congestion aware adaptive routing protocols in manet
 
Unit VIII wireless sensor networks
Unit VIII wireless sensor networksUnit VIII wireless sensor networks
Unit VIII wireless sensor networks
 
Performance Evaluation of a Layered WSN Using AODV and MCF Protocols in NS-2
Performance Evaluation of a Layered WSN Using AODV and MCF Protocols in NS-2Performance Evaluation of a Layered WSN Using AODV and MCF Protocols in NS-2
Performance Evaluation of a Layered WSN Using AODV and MCF Protocols in NS-2
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Network layer
Network layerNetwork layer
Network layer
 
Circuit Emulation for Bulk Transfers in Distributed Storage and Clouds
Circuit Emulation for Bulk Transfers in Distributed Storage and CloudsCircuit Emulation for Bulk Transfers in Distributed Storage and Clouds
Circuit Emulation for Bulk Transfers in Distributed Storage and Clouds
 
DSR,LSR,IGMP,RIP,OSPF.ppt
DSR,LSR,IGMP,RIP,OSPF.pptDSR,LSR,IGMP,RIP,OSPF.ppt
DSR,LSR,IGMP,RIP,OSPF.ppt
 
distance-vector-routing-3.pdf
distance-vector-routing-3.pdfdistance-vector-routing-3.pdf
distance-vector-routing-3.pdf
 
Notes
NotesNotes
Notes
 

Recently uploaded

(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...ranjana rawat
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 

Recently uploaded (20)

(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 

Datagram vs. virtual circuit

  • 1. chow CS522 F96-Routing-12/3/96–Page 1- Datagram vs. Virtual Circuit In a datagram network Two packets of the same user pair can travel along different routes. The packets can arrive out of sequence. Packets contain full Src, Dst addresses. Each host occupies routine table entries. Requires no connection setup. A B C D E D1 D2 D3 C1 B1 A1 A2 A3 Mi: ith datagram sent by Host M. In a virtual circuit network All packets of the same virtual circuit travel along the same path. Packet sequencing is guaranteed. Packets contain short VC Id. (VCI). Each VC occupies routing table entries. Requires VC setup. First packet has large delay. A B C D E Session Routing
  • 2. chow CS522 F96-Routing-12/3/96–Page 2- Virtual Circuit and Datagram Implementation Internal Operation Datagram Victual Circuit External Service Datagram UDP over IP (packet) IP over ATM Virtual Circuit TCP over IP (message, packet) TYMNET, SNA over ATM (Virtual and explicit route)
  • 3. chow CS522 F96-Routing-12/3/96–Page 3- Routing Algorithm l Select routes for various origin-destination (OD) pairs via shortest or optimization calculation (accommodate more OD pairs). l Delivery of messages to the correct destination once routes are selected. → Use routing tables. Performance Measures Affected By Routing Delay 1 2 53 4 6 5 pkts/s 5 pkts/s Destination All links have C=10 pkts/s. If all traffic is via (4,6), congestion occurs. Via (1,3,6) and (2,5,6), the delay is small. (to 6) (to 6) Throughput All links have C=10 pkts/s. Traffic can be accommodated by multi-path routing. What is the max. throughput from nodes 1and 2 to 6? How about the worst case? 1 2 53 4 6 5 pkts/s 15 pkts/s Destination (to 6) (to 6)
  • 4. chow CS522 F96-Routing-12/3/96–Page 4- Classification of Routing Algorithms l Centralized (all routing decisions at a single node) or Distributed (computation of routes shared by nodes) l Static (routes are fixed for each OD pair regardless of traffic pattern) or Adaptive (responsive to traffic pattern) Desirable Properties of Routing Algorithms l correctness l simplicity l robustness l stability l fairness l optimality X A’ A X’ B’ B C’ C conflicts
  • 5. chow CS522 F96-Routing-12/3/96–Page 5- (Routing) Optimal Principle l If router J is on the optimal path from route I to route K, then the optimal path from J to K also falls along the same route. l The optimal routes to a router form a sink tree. sink tree for router BA subnet
  • 6. chow CS522 F96-Routing-12/3/96–Page 6- Dijkstra’s Shortest Path Algorithm [DIJK59] Find the shortest paths form a given source node to all other nodes by developing paths in order of increasing path length. Let the set of nodes in a network be N. 1. start with a source node S in node set M. Let the nodes not in M be M’. 2. Let L with the set of links connecting M and M’. l Among the nodes in M’ connected to M via L, find the node, n, with the lowest path cost to s. Move n to M. (Use hopcount, nodeId for tie breaker.) l Update the cost from s to other nodes in M’ taking into consideration of the new path via n. 3. Repeat step 2 until M=N.
  • 7. chow CS522 F96-Routing-12/3/96–Page 7- Computing Shortest Path
  • 8. chow CS522 F96-Routing-12/3/96–Page 8- Routing Strategies l Fixed routing Network Operation Center (NOC) collects information from individual nodes NOC carries out the least cost routing algorithms. NOC distributed the routing information to individual nodes. The above steps are carried out periodically. l Flooding A node sends/relays a message along all its outgoing links. Rely on hop counts or time-stamps to terminate the flooding. Disadvantage: a lot of redundant msgs, waste bandwidth. Advantage: does not require NOC, reliable, message may arrive via a minimum hop route.
  • 9. chow CS522 F96-Routing-12/3/96–Page 9- Routing in ARPANET (old version) Use distributed, shortest path, and adaptive routing algorithm. Periodically, each IMP calculates delay to other IMPs, exchanges delay vectors with their neighbors, based on the delay vectors received, compute the new routing table. Problems: 1) low throughput, 2) susceptible to oscillations, 3) good news spread fast; bad news spread slow.
  • 10. chow CS522 F96-Routing-12/3/96–Page 10- Exercise on ARPANET Routing Consider the mesh network shown below. Assume that the ARPAnet routing algorithm is used. Node B receives three routing vectors from A, E and C. With the above link delay to A, E, and C, calculate B’s new routing table and fill your result into the above vacant entries. A B C D E F G H I A 0 6 10 B 21 4 5 C 25 13 0 D 40 7 8 E 24 0 10 F 29 5 9 G 48 21 26 H 27 14 15 I 31 19 11 A E C New from B via Line estimated delay BA delay BE delay BC delay = = =50 3 5
  • 11. chow CS522 F96-Routing-12/3/96–Page 11- ARPANET Routing 1979 The old ARPANET routing algorithm has the following shortcomings: l only consider queue length, not favor high speed lines. l it responded slowly to congestion and delay increases. The new ARPANET routing algorithm l measure the delay directly using time-stamp. l every 10 seconds, delay on each link is calculated and flood to all other nodes (not just the neighboring node). l each node compute the new routing information based one new delay info and Dijkstra algorithm. l it is more responsive. l but new problems appear (Oscillations are possible and very damaging)
  • 12. chow CS522 F96-Routing-12/3/96–Page 12- Count to Infinity Problem
  • 13. chow CS522 F96-Routing-12/3/96–Page 13- Slow Convergence Net B G1 G2 G3 Net B G1 G2 G3X B 1 B 2 B 3 table entries B × B 2 B 3 B 3 B 4 B 3 B × B 2 B 3 B3B2 B 3 B 4 B 3 B3B4 routing update round 1 round 2 B 5 B 4 B 5 B 5 B 4 B 5 B5B4round 3 B 5 B 6 B 5 Good news travels quickly; bad news travels slowly
  • 14. chow CS522 F96-Routing-12/3/96–Page 14- Split Horizon Update B × B 2 B 3 B × B × B 3 B × B 2 B 3 B×B× B × B × B 3 B×B× routing update round 1 round 2 B × B × B ×
  • 15. chow CS522 F96-Routing-12/3/96–Page 15- Problem can’t be solved by Split Horizon
  • 16. chow CS522 F96-Routing-12/3/96–Page 16- Link State Routing
  • 17. chow CS522 F96-Routing-12/3/96–Page 17- Oscillation in new ARPANET Routing Oscillations are possible and very damaging.
  • 18. chow CS522 F96-Routing-12/3/96–Page 18- Oscillation in ARPANET Routing
  • 19. chow CS522 F96-Routing-12/3/96–Page 19- Damping the Oscillation in ARPANET Routing Oscillations can be damped by using 1) A large bias factor (a constant that make link lengths large at zero flow). Side-effect: makes it less sensitive to congestion. 2) Average of several routing updates. 3) Asynchronous execution of the routing algorithm.
  • 20. chow CS522 F96-Routing-12/3/96–Page 20- Traffic control Deal with the control of the number of packets entering the network. l Flow control- enable the receiver to control the msg receiving rate. e.g., use slide-window protocol. l Congestion control- maintaining the number of packets within the network below the level where the network throughput starts to decrease. 1. congested node sends choke packets to the sources. 2. rely routing algorithms (passive) 3. use the probing message between end points. 4. piggyback the congestion information back to the source. l Deadlock avoidance. - use structured buffer pool - use setup packet to reserve enough buffer and use ack msg to release buffer.
  • 21. chow CS522 F96-Routing-12/3/96–Page 21- Interaction of Routing and Flow Control As good routing keeps delay low, flow control allows more traffic into the network. Routing determines the delay/throughput curve along which flow control operates Flow Control Routing Rejected Load Offered Load Throughput Delay Throughput Delay Poor Routing Good Routing XX X: flow control invoked point pkts delivered pkts sent Max. capacity flow control without flow control congested d