SlideShare a Scribd company logo
2
Most read
4
Most read
6
Most read
Packet Switching




Around 1970, research began on a new form
      of architecture for long distance
    communications: Packet Switching.

                                        1
Introduction
 Packet Switching refers to protocols in
 which messages are divided into packets
 before they are sent. Each packet is then
 transmitted individually and can even follow
 different routes to its destination. Once all
 the packets forming a message arrive at
 the destination, they are recompiled into
 the original message.


                                   2
Packet Switching Operation
 Data are transmitted in short packets. Typically
 an upper bound on packet size is 1000 octets.
 If a station has a longer message to send it
 breaks it up into a series of small packets. Each
 packet now contains part of the user's data and
 some control information.
 The control information should at least contain:
     Destination Address
     Source Address
 Store and forward - Packets are received, stored
 briefly (buffered) and past on to the next node
                                        3
Advantages
Line efficiency
   Single node to node link can be shared by many
   packets over time
   Packets queued and transmitted as fast as possible
Data rate conversion
   Each station connects to the local node at its own
   speed
   Nodes buffer data if required to equalize rates
Packets are accepted even when network is busy
   Delivery may slow down
Priorities can be used
                                      4
Switching Technique - Virtual
Circuits and Datagrams
 Station breaks long message into packets
 Packets sent one at a time to the network
 Packets handled in two ways
   Datagram
   Virtual circuit




                                 5
Datagram Packet Switching
 In datagram approach each packet is treated
 independently with no reference to packets that
 have gone before. No connection is set up.
 Packets can take any practical route
 Packets may arrive out of order
 Packets may go missing
 Up to receiver to re-order packets and recover
 from missing packets
 More processing time per packet per node
 Robust in the face of link or node failures.
                                      6
Packet
Switching
Datagram
Approach



            7
Virtual Circuit Packet
Switching
In the Virtual Circuit approach a pre-planned route is
established before any packets are sent.
There is a call set up before the exchange of data
(handshake).
All packets follow the same route and therefore arrive in
sequence.
Each packet contains a virtual circuit identifier instead of
destination address
More set up time
No routing decisions required for each packet - Less routing
or processing time
Susceptible to data loss in the face of link or node failure
Clear request to drop circuit
Not a dedicated path                             8
Packet
Switching
Virtual
Circuit
Approach


            9
Virtual Circuits vs. Datagram
Virtual circuits
  Network can provide sequencing and error
  control
  Packets are forwarded more quickly
     No routing decisions to make
  Less reliable
     Loss of a node looses all circuits through that node
Datagram
  No call setup phase
     Better if few packets
  More flexible
     Routing can be used to avoid congested parts of the
     network                              10
Packet switching -
datagrams or virtual circuits
Interface between station and network node
  Connection oriented
    Station requests logical connection (virtual circuit)
    All packets identified as belonging to that connection
    & sequentially numbered
    Network delivers packets in sequence
    External virtual circuit service
    e.g. X.25
    Different from internal virtual circuit operation
  Connectionless
    Packets handled independently
    External datagram service
    Different from internal datagram operation
                                            11
External
Virtual
Circuit and
Datagram
Operation




              12
Internal
Virtual
Circuit and
Datagram
Operation




              13
Circuit vs. Packet Switching
 Performance
  Propagation delay
  Transmission time
  Node delay




                      14
Comparison with Circuit
Switching - Event Timing




                      15
Comparison with Circuit
Switching




                          16
Packet Switching Evolution
 X.25 packet-switched network
 Router-based networking
 Switching vs. routing
 Frame relay network
 ATM network




                                17
Switching vs Routing
Switching                     Routing
path set up at connection     can work as connectionless
time                          complex routing algorithm
simple table look up          table maintainance via
table maintainance via        protocol
signaling                     out of sequence delivery
no out of sequence delivery   likely
lost path may lose            robust: no connections lost
connection                    significant processing delay
much faster than pure         output link decision based on
routing                       packet header contents - at
link decision made ahead of   every node
time, and resources
allocated then                             18

More Related Content

PPT
Topic Packet switching
PPTX
First law of thermodynamics
PPT
Circuit and packet_switching
PPTX
Switching types-circuit, packet and message
PPTX
Chapter 1- INTRODUCTION TO SYSTEM ANALYSIS AND DESIGN by DEEPA (1).pptx
PDF
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
PPTX
Note taking and note making
PPTX
structure of research report
Topic Packet switching
First law of thermodynamics
Circuit and packet_switching
Switching types-circuit, packet and message
Chapter 1- INTRODUCTION TO SYSTEM ANALYSIS AND DESIGN by DEEPA (1).pptx
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Note taking and note making
structure of research report

What's hot (20)

PPT
Switching
PPTX
switching techniques in data communication and networking
PPTX
Connecting devices
PPTX
Transport layer protocol
PPT
Directed diffusion for wireless sensor networking
PPT
Data Link Layer| Error Detection
PPTX
Computer Network - Network Layer
PDF
Advanced computer network lab manual (practicals in Cisco Packet tracer)
PPT
Sliding window protocol
PPTX
HDLC(High level Data Link Control)
PPTX
What Is Sliding Window Protocol?
PPTX
Transport layer
PPTX
Computer network switching
PPSX
Issues in Data Link Layer
PPT
Network layer tanenbaum
PPT
Network Layer,Computer Networks
PPTX
Application layer protocols
PPT
Introduction to switching & circuit switching
PPT
data-link layer protocols
PPTX
Transport control protocols for Wireless sensor networks
Switching
switching techniques in data communication and networking
Connecting devices
Transport layer protocol
Directed diffusion for wireless sensor networking
Data Link Layer| Error Detection
Computer Network - Network Layer
Advanced computer network lab manual (practicals in Cisco Packet tracer)
Sliding window protocol
HDLC(High level Data Link Control)
What Is Sliding Window Protocol?
Transport layer
Computer network switching
Issues in Data Link Layer
Network layer tanenbaum
Network Layer,Computer Networks
Application layer protocols
Introduction to switching & circuit switching
data-link layer protocols
Transport control protocols for Wireless sensor networks
Ad

Similar to Packet switching (20)

PPTX
Switching Techniques Lecture12,wireless
PPTX
unit3-220228110900.pptx
PPTX
switching techniques
PPT
Switching Techniques
PPT
8 Packet Switching
PPT
22 circuits
PPTX
chapter 5.2.pptx
PDF
Unit 3 CND physical layer_switching_pranoti doke_MSBTE
PDF
Unit 3 cnd physical layer_switching_pranoti doke_MSBTE
PDF
Lecture set 1
PPT
Circuit switching in operational research
PPT
unit 2_switchingtechniques.ppt
PPTX
engineering cryptography 21ECE73 Module-3 (2).pptx
PPT
unit3- ppt computer networks - network layer
PDF
Wmcn ch.3
PDF
Computer Network notes L2 - Introduction.pdf
PPTX
Switch networking
PDF
Net switching
PPTX
Lecture 2 review of network technologies
Switching Techniques Lecture12,wireless
unit3-220228110900.pptx
switching techniques
Switching Techniques
8 Packet Switching
22 circuits
chapter 5.2.pptx
Unit 3 CND physical layer_switching_pranoti doke_MSBTE
Unit 3 cnd physical layer_switching_pranoti doke_MSBTE
Lecture set 1
Circuit switching in operational research
unit 2_switchingtechniques.ppt
engineering cryptography 21ECE73 Module-3 (2).pptx
unit3- ppt computer networks - network layer
Wmcn ch.3
Computer Network notes L2 - Introduction.pdf
Switch networking
Net switching
Lecture 2 review of network technologies
Ad

More from asimnawaz54 (17)

PDF
Lecture 3 qualtifed rules of inference
PDF
Lecture 2 predicates quantifiers and rules of inference
PDF
Expert systems with applications
PDF
Establishing knowledge base
PPT
Designing the expert system
PDF
1 s2.0-s0957417410007244-main
PPT
Network layer and circuit switching
PPT
Network layer and circuit switching
PPT
Ipv6up
PPT
PPT
Internet control message protocol
PPT
Address resolution protocol
PPT
Address resolution protocol and internet control message protocol
PPT
Requirements analysis
PDF
Advanced software engineering lab 2
PDF
Object oriented analysis lab1
PPT
Ooad sequence diagram lecture
Lecture 3 qualtifed rules of inference
Lecture 2 predicates quantifiers and rules of inference
Expert systems with applications
Establishing knowledge base
Designing the expert system
1 s2.0-s0957417410007244-main
Network layer and circuit switching
Network layer and circuit switching
Ipv6up
Internet control message protocol
Address resolution protocol
Address resolution protocol and internet control message protocol
Requirements analysis
Advanced software engineering lab 2
Object oriented analysis lab1
Ooad sequence diagram lecture

Packet switching

  • 1. Packet Switching Around 1970, research began on a new form of architecture for long distance communications: Packet Switching. 1
  • 2. Introduction Packet Switching refers to protocols in which messages are divided into packets before they are sent. Each packet is then transmitted individually and can even follow different routes to its destination. Once all the packets forming a message arrive at the destination, they are recompiled into the original message. 2
  • 3. Packet Switching Operation Data are transmitted in short packets. Typically an upper bound on packet size is 1000 octets. If a station has a longer message to send it breaks it up into a series of small packets. Each packet now contains part of the user's data and some control information. The control information should at least contain: Destination Address Source Address Store and forward - Packets are received, stored briefly (buffered) and past on to the next node 3
  • 4. Advantages Line efficiency Single node to node link can be shared by many packets over time Packets queued and transmitted as fast as possible Data rate conversion Each station connects to the local node at its own speed Nodes buffer data if required to equalize rates Packets are accepted even when network is busy Delivery may slow down Priorities can be used 4
  • 5. Switching Technique - Virtual Circuits and Datagrams Station breaks long message into packets Packets sent one at a time to the network Packets handled in two ways Datagram Virtual circuit 5
  • 6. Datagram Packet Switching In datagram approach each packet is treated independently with no reference to packets that have gone before. No connection is set up. Packets can take any practical route Packets may arrive out of order Packets may go missing Up to receiver to re-order packets and recover from missing packets More processing time per packet per node Robust in the face of link or node failures. 6
  • 8. Virtual Circuit Packet Switching In the Virtual Circuit approach a pre-planned route is established before any packets are sent. There is a call set up before the exchange of data (handshake). All packets follow the same route and therefore arrive in sequence. Each packet contains a virtual circuit identifier instead of destination address More set up time No routing decisions required for each packet - Less routing or processing time Susceptible to data loss in the face of link or node failure Clear request to drop circuit Not a dedicated path 8
  • 10. Virtual Circuits vs. Datagram Virtual circuits Network can provide sequencing and error control Packets are forwarded more quickly No routing decisions to make Less reliable Loss of a node looses all circuits through that node Datagram No call setup phase Better if few packets More flexible Routing can be used to avoid congested parts of the network 10
  • 11. Packet switching - datagrams or virtual circuits Interface between station and network node Connection oriented Station requests logical connection (virtual circuit) All packets identified as belonging to that connection & sequentially numbered Network delivers packets in sequence External virtual circuit service e.g. X.25 Different from internal virtual circuit operation Connectionless Packets handled independently External datagram service Different from internal datagram operation 11
  • 14. Circuit vs. Packet Switching Performance Propagation delay Transmission time Node delay 14
  • 17. Packet Switching Evolution X.25 packet-switched network Router-based networking Switching vs. routing Frame relay network ATM network 17
  • 18. Switching vs Routing Switching Routing path set up at connection can work as connectionless time complex routing algorithm simple table look up table maintainance via table maintainance via protocol signaling out of sequence delivery no out of sequence delivery likely lost path may lose robust: no connections lost connection significant processing delay much faster than pure output link decision based on routing packet header contents - at link decision made ahead of every node time, and resources allocated then 18