Packet Switching and X.25 Protocol


Published on

Published in: Technology
  • Be the first to comment

Packet Switching and X.25 Protocol

  1. 1. Packet Switching (X.25 Protocol) Prepared by: Miles Kevin B. Galario
  2. 2. Packets • Network packet is a formatted unit of data carried by a packet-switched network. • Consist of 2 types of data: – Control information – User data
  3. 3. Packet Format
  4. 4. Asynchronous data transmission
  5. 5. Packet Switching
  6. 6. Packet Switching • Began around early 1960’s • First developed by Paul Baran • Is a digital networking communications method that groups all transmitted data - regardless of content, type, or structure – into suitably-sized blocks, called packets.
  7. 7. Advantages of Packet Switching • Line efficiency • Data rate conversion • Packets are accepted even when network is busy • High data transmission quality • When it comes to billing: – Fee is just the duration of connectivity
  8. 8. Disadvantages of Packet Switching • More complex • Data Transmission Delays • Packets may be lost on their route (Datagram)
  9. 9. Packet Switching Datagram Approach
  10. 10. Datagram Packet Switching • Each packet is treated independently • The packets may take different paths to the destination • The packets might arrive in a different sequence from the order in which they were sent • The packets may have to be reordered at the destination
  11. 11. Datagram Approach
  12. 12. Packet Switching Virtual Circuit Approach
  13. 13. Virtual Circuit Packet Switching • A logical connection is established before any packets are sent • All packets follow the same path through the network • This does not mean that there is a dedicated path, as in circuit switching • There is a call set up before the exchange of data (handshake).
  14. 14. Virtual Circuit Approach
  15. 15. SVC vs. PVC • Switched Virtual Circuit (SVC) • Permanent Virtual Circuit (PVC)
  16. 16. 16 External Virtual Circuit and Datagram Operation
  17. 17. 17 Internal Virtual Circuit and Datagram Operation
  18. 18. Datagram vs. Virtual Circuits Datagram Virtual Circuits  No call setup phase  More flexible  Better if number of packets are not very large  Network can provide sequencing and error control  Packets are forwarded more quickly  Less reliable
  19. 19. Packet Switch vs. Circuit Switching • circuit switching was designed for voice • packet switching was designed for data • transmitted in small packets • packets contains user data and control info – user data may be part of a larger message – control info includes routing (addressing) info • packets are received, stored briefly (buffered) and past on to the next node
  20. 20. Packet Switch vs. Circuit Switching
  21. 21. Packet Switching Service Protocols • There are five protocols in use for packet- switched services: – X.25 – Asynchronous Transfer Mode (ATM) – Frame Relay – Switched Multimegabit Data Service (SMDS) – Ethernet/IP packet networks
  22. 22. X.25 Protocol • ITU-T standard for interface between host and packet switched network • Oldest packet switched service. • Almost universal on packet switched networks and packet switching in ISDN • X.25 offers switched virtual circuit and permanent virtual circuit services.
  23. 23. X.25 Protocol • X.25 is a reliable protocol, meaning it performs error control and retransmits bad packets. • Although widely used in Europe, X.25 is not in widespread use in North America. The primary reason is the low transmission speed, now 2.048 Mbps (up from 64 Kbps) .
  24. 24. PAD • Packet Assembler/Disassembler –is a communications device which provides multiple asynchronous terminal connectivity to an X.25 (packet- switching) network or host computer.
  25. 25. X.25 - Physical • Interface between station node link • Two ends are distinct – Data Terminal Equipment DTE (user equipment) – Data Circuit-terminating Equipment DCE (node) • Physical layer specification is X.21 • Can substitute alternative such as EIA-232
  26. 26. X.25 - Link • Link Access Protocol Balanced (LAPB) • Provides reliable transfer of data over link • Sending as a sequence of frames
  27. 27. X.25 - Packet • Provides a logical connections (virtual circuit) between subscribers • All data in this connection form a single stream between the end stations • Established on demand • Termed external virtual circuits
  28. 28. X.25 Use of Virtual Circuits
  29. 29. Asynchronous Transfer Mode (ATM) • Asynchronous transfer mode (ATM) is a newer technology than X. 25. • ATM for the MAN/WAN environment operates in a similar way to its operation over backbone networks discussed in the last chapter.
  30. 30. X.25 vs. ATM • 4 differences between ATM and X.25 are: –ATM performs encapsulation of packets, so they are delivered unchanged across the network. –ATM is unreliable; i.e., it provides no error control, so error control must be handled at another layer (typically by TCP).
  31. 31. X.25 vs. ATM • ATM provides quality of service information enabling priority setting for different transmissions types (e.g., high for voice, lower for e-mail). • ATM is scalable, since basic ATM circuits are easily multiplexed onto much faster ones.
  32. 32. Issues with X.25 • key features include: – call control packets, in band signaling – multiplexing of virtual circuits at layer 3 – layers 2 and 3 include flow and error control • hence have considerable overhead • not appropriate for modern digital systems with high reliability
  33. 33. User Data and X.25 ProtocolUser Data and X.25 Protocol Control InformationControl Information