
Packet switching is a fundamental concept in computer networking that allows data to be transmitted efficiently over the internet. It breaks down data into small packets, each with a header containing routing information.
Each packet is sent independently through the network, following its own path to reach the destination. This allows for faster and more reliable data transmission.
Packet switching was first proposed by Paul Baran in 1964 as a way to create a reliable and efficient network. He envisioned a network that could survive even if some nodes failed.
The key benefit of packet switching is that it allows multiple packets to share the same network path, reducing congestion and increasing overall network capacity.
You might like: Buy Chex Mix Seasoning Packets
History of Packet Switching
Donald Davies of the National Physical Laboratory (NPL) designed a national commercial data network based on packet switching in 1965. This proposal was not taken up nationally, but Davies went on to design a local network using "interface computers", today known as routers, to serve the needs of NPL and prove the feasibility of packet switching.
A unique perspective: National Airspace System Voice Switch
By 1968, Davies had begun building the NPL network, which became operational in 1969, making it one of the first two networks to use packet switching. The NPL network was replaced in 1986, but not before it had grown to include 12 computers and 75 terminal devices.
The NPL network was the first to use high-speed links, and its design inspired numerous packet switching networks in the decade following.
Early Networks
Research into packet switching began at the National Physical Laboratory (NPL) in 1965 with a proposal for a wide-area network.
The NPL network, designed by Donald Davies, was the first to use packet switching and became operational in 1969. This was followed by the ARPANET, which was also designed to use packet switching and became operational in 1969.
The ARPANET was a progenitor network of the Internet and one of the first networks to run the TCP/IP suite using packet switching technologies.
Discover more: ARPANET
Donald Davies' original 1965 design was similar to many packet switching networks built in the 1970s. The ARPANET and Louis Pouzin's CYCLADES were the primary precursor networks of the modern Internet.
Before the introduction of X.25 in 1976, about twenty different network technologies had been developed. Two fundamental differences existed between the division of functions and tasks between the hosts at the edge of the network and the network core.
Merit Network, an independent nonprofit organization, was formed in 1966 to explore computer networking between three of Michigan's public universities. The packet-switched network was first demonstrated in December 1971 with an interactive host-to-host connection between the IBM mainframe systems at the University of Michigan and Wayne State University.
Here's a brief timeline of early networks:
Datex P
Datex-P was a significant development in the history of packet switching. It was operated by Deutsche Bundespost in Germany and was acquired from Northern Telecom.
Datex-P was a precursor to modern packet switching technologies. The technology was used to build a national network in Germany, demonstrating its potential for widespread adoption.

The use of packet switching in Datex-P paved the way for the development of different types of packet switching methods. These methods include datagram packet switching and virtual circuit packet switching.
Datagram packet switching and virtual circuit packet switching are two distinct approaches to packet switching. Here's a brief comparison:
- Datagram packet switching: Each packet is treated independently, like a postcard taking a different route.
- Virtual circuit packet switching: A pre-determined path is set up before any packets are sent, like a train following a track.
How Packet Switching Works
Packet switching is a method of data transmission where data is divided into small packets, each containing a portion of the information and necessary headers. These packets then hop from one router to another across the network, making the network super flexible because even if one path is busy or down, the packets can take a different route, ensuring your data still gets through.
Each packet has a destination address, a sequence number, and a small piece of the overall data. This allows routers to examine the packet headers to determine the best path toward the destination.
The key steps in packet transmission include:
- Packet Creation: Data is divided into packets, each containing a portion of the information and necessary headers.
- Routing: Routers examine the packet headers to determine the best path toward the destination.
- Forwarding: Packets hop through multiple network nodes, avoiding congestion where possible.
- Reassembly: Once all packets arrive at the destination, they are reassembled into the original data.
This method is highly dynamic, allocating channel capacity based on usage instead of explicit reservations, which can reduce wasted capacity caused by underutilized reservations at the cost of removing bandwidth guarantees.
Ddx-1
DDX-1 was an experimental network from Nippon PTT that combined circuit switching and packet switching.
It's interesting to note that DDX-1 was a precursor to more advanced networks, as it was eventually succeeded by DDX-2.
Recommended read: How to Switch Apple Phone to Esim 1
Pss
PSS, or Packet Switch Stream, was the Post Office Telecommunications national X.25 network with a DNIC of 2342. It was later renamed to British Telecom's Global Network Service (GNS), but the PSS name has remained better known.
PSS also included public dial-up PAD access, and various InterStream gateways to other services such as Telex.
How Messages are Transmitted Over a Network
Messages are transmitted over a network through a process called packet switching. Here's how it works: data is divided into small units called packets, each containing a portion of the information and necessary headers.
These packets then hop from one router to another across the network, a process called routing. At each hop, the router examines the packet's destination address and decides the best path to send it along.
The key steps in packet transmission include packet creation, routing, forwarding, and reassembly. Packet creation involves breaking down data into packets, each containing a portion of the information and necessary headers.
Routing is the process of determining the best path for a packet to take through the network. Routers examine the packet's destination address and decide the best route to send it along.
Forwarding is the process of sending packets through multiple network nodes, avoiding congestion where possible. This is done using various network protocols.
Once all packets arrive at the destination, they are reassembled into the original data. This process is called reassembly.
Here's a breakdown of the key steps in packet transmission:
- Packet Creation: Data is divided into packets, each containing a portion of the information and necessary headers.
- Routing: Routers examine the packet headers to determine the best path toward the destination.
- Forwarding: Packets hop through multiple network nodes, avoiding congestion where possible.
- Reassembly: Once all packets arrive at the destination, they are reassembled into the original data.
This process allows data to be transmitted efficiently and reliably over a network, making it possible for us to send and receive messages, files, and videos over the internet.
Types of Delays
Packet switching is a complex process that involves several types of delays that can affect the overall transmission time of data from source to destination. These delays occur at different stages during packet processing and transmission.
Transmission Delay is the time required by the sender's station to transmit data to the link. This delay is crucial in ensuring that data is sent efficiently.
Propagation Delay is the time it takes for data to propagate through the link, and it depends on the distance and the propagation speed of the medium, such as fiber optic or copper.
Queueing Delay occurs when packets are waiting to be processed at the destination's queue, and it varies depending on network congestion and traffic load. This delay can be frustrating, especially when you're waiting for a file to download.
Processing Delay is the time spent processing data at the destination, including error checking and protocol handling. This delay can be significant if the destination is overwhelmed with traffic.
The total time it takes for a packet to travel from the source to the destination is known as End-to-End Delay. This delay is the sum of all the above delays: End-to-End Delay= Processing + Queuing + Transmission + Propagation.
Broaden your view: When Did Iphones Switch to Usb C
Network Protocols and Types
Packet switching uses a variety of network protocols to optimize channel capacity and increase robustness. The Internet Protocol Suite, for example, implements packet switching using link layer technologies like Ethernet and Frame Relay.
Datagram packet switching treats each packet independently, allowing them to take different routes and arrive at different times. This is in contrast to virtual circuit packet switching, which sets up a pre-determined path for all packets to follow.
Some common network protocols used for packet switching include X.25, which provides flow-controlled virtual circuits, and Asynchronous Transfer Mode (ATM), which uses small fixed-length packets. These technologies have been used in various networks, including the SITA Data Transport Network, which adopted X.25 in 1981.
Here are the main types of packet switching:
- Datagram Packet Switching: Each packet is treated independently, taking different routes and arriving at different times.
- Virtual Circuit Packet Switching: A pre-determined path is set up before any packets are sent, with all packets following this path and arriving in order.
Rcp
RCP was an experimental network created by the French PTT to gain experience with packet switching technology. It was used before the specification of the TRANSPAC public network was frozen.
RCP was a virtual-circuit network, in contrast to CYCLADES which was based on datagrams. It emphasized terminal-to-host and terminal-to-terminal connection.
RCP influenced the X.25 specification, which was deployed on TRANSPAC and other public data networks. This is a significant development in the history of packet switching.
Here are some key characteristics of RCP:
RCP played a crucial role in the development of packet switching technology. Its influence on the X.25 specification helped shape the course of network development.
Xns
XNS was a protocol suite developed by Xerox, providing routing and packet delivery, as well as higher level functions such as a reliable stream, and remote procedure calls. It was built from PARC Universal Packet (PUP).
XNS was a significant development in the history of network protocols, and it's still studied today. The protocol suite was designed to work with packet-switched networks, which are a type of network that sends data in packets.
Curious to learn more? Check out: Internet Protocol Suite
Here are some key features of XNS:
XNS was developed from PARC Universal Packet (PUP), which was one of the earliest internetworking protocol suites. The development of XNS marked an important milestone in the evolution of network protocols.
Tymnet
Tymnet was an international data communications network headquartered in San Jose, CA, that began installing a network based on minicomputers in 1969 to connect timesharing terminals to its central computers.
The network used store-and-forward and voice-grade lines to transmit data.
Routing was not distributed, rather it was established by a central supervisor on a call-by-call basis.
Connection-Oriented Virtual Circuit
Connection-oriented packet switching, also known as virtual circuit switching, establishes a dedicated path for packets before data transmission begins. This path is like a train track, where all packets follow the same route and arrive at the destination in the correct order and at similar times.
This type of packet switching is commonly used in scenarios where order and timing are crucial, like in voice-over-IP (VoIP) calls or video conferencing. It's more efficient than circuit switching, which establishes a dedicated channel for the entire duration of a message or call transmission.
Here's an interesting read: Circuit Switched Data
The connection-oriented virtual circuit approach involves three main phases: setup, data transfer, and tear down. During the setup phase, a path is established between the sender and receiver, and address information is exchanged and recorded.
Some popular protocols that use the virtual circuit switching approach are X.25, Frame-Relay, ATM, and MPLS (Multi-Protocol Label Switching). These protocols are widely used in various networking applications.
Here's a brief overview of the connection-oriented virtual circuit phases:
- Setup Phase: Establish a path between sender and receiver, exchange address information, and record it.
- Data Transfer Phase: Packets are transmitted along the established route, with headers containing local information like length, timestamp, and sequence number.
- Tear Down Phase: Release the virtual circuit after transmission is complete.
This approach ensures that packets arrive at the destination in the correct order, making it ideal for applications that require timely and accurate data transmission.
Connectionless (Datagram)
Connectionless (Datagram) packet switching treats each packet independently, with all addressing and control information included. This means no connection setup is needed, and packets may take different paths, possibly arriving out of order.
Reliability and data integrity are handled by higher-layer protocols like TCP, providing flexibility and speed. As a result, connectionless packet switching is often used when speed is more critical than order, such as in the transmission of internet protocol (IP) data.
In connectionless packet switching, packets are treated like postcards, each one could take a different route and arrive at different times, but they all eventually get there. This is in contrast to virtual circuit packet switching, where a pre-determined path is set up before any packets are sent.
Here's a comparison of connectionless and virtual circuit packet switching:
Connectionless packet switching is used in IP networks, which is why you can browse the internet quickly without worrying about the order of packets. However, this type of packet switching may not be suitable for applications that require guaranteed delivery, such as file transfers.
In summary, connectionless packet switching is a flexible and fast method of data transmission, but it may not provide the reliability and order that some applications require.
Network Protocols
Packet switching is used in the Internet and most local area networks, allocating channel capacity based on usage instead of explicit reservations.
The Internet Protocol Suite uses a variety of link layer technologies, such as Ethernet and Frame Relay, to implement packet switching.
X.25, the international CCITT standard of 1976, is a notable use of packet switching that provides a service of flow-controlled virtual circuits.
Datagram packet switching treats each packet independently, allowing them to take different routes and arrive at different times.
Virtual circuit packet switching, on the other hand, sets up a pre-determined path before any packets are sent, ensuring they arrive in order and without reordering at the destination.
UDP (User Datagram Protocol) is a connectionless protocol that does not establish a connection before sending data, making it suitable for applications that require fast transmission but don't require reliability.
Here are the main differences between datagram and virtual circuit packet switching:
The key steps in packet transmission include packet creation, routing, forwarding, and reassembly, which ensure data is delivered efficiently and reliably.
Packet Switching in Networks
Packet switching is a fundamental concept in networking that allows for efficient and robust data transmission over a network. It's used in the Internet and most local area networks, including Ethernet and Frame Relay.
Packet switching is highly dynamic, allocating channel capacity based on usage instead of explicit reservations, which can reduce wasted capacity caused by underutilized reservations. This approach is used in IP networks, where congestion control is generally used to dynamically negotiate capacity between connections.
The X.25 protocol suite, introduced in 1976, is a notable use of packet switching that provides a service of flow-controlled virtual circuits. These virtual circuits reliably carry variable-length packets with data order preservation.
Donald Davies' work in the late 1960s on data communications and computer network design inspired numerous packet switching networks in the decade following. His work can be divided into three overlapping eras: early networks before the introduction of X.25, the X.25 era, and the Internet era.
If this caught your attention, see: Designing Virtual Worlds
The first two networks to use packet switching were the NPL network and the ARPANET, which became operational in 1969. The ARPANET and Louis Pouzin's CYCLADES were the primary precursor networks of the modern Internet.
Here's a summary of the key steps in packet transmission:
- Packet Creation: Data is divided into packets, each containing a portion of the information and necessary headers.
- Routing: Routers examine the packet headers to determine the best path toward the destination.
- Forwarding: Packets hop through multiple network nodes, avoiding congestion where possible.
- Reassembly: Once all packets arrive at the destination, they are reassembled into the original data.
Packet switching has been used in various networks, including SITA's High Level Network, which became operational in 1969, and UNINETT, a wide-area Norwegian packet-switched network established in the 1970s.
VENUS-P was an international X.25 network that operated from April 1982 through March 2006, connecting 207 networks in 87 countries at its peak in 1999.
Handling Loss and Errors
Packet loss can occur due to various reasons, including network congestion, hardware issues, transmission errors, and security threats.
To mitigate packet loss, different protocols handle lost packets in different ways. TCP (Transmission Control Protocol) detects lost packets using acknowledgments from the receiver and resends missing packets to ensure complete and correct data delivery.
Readers also liked: Packet Loss Concealment
TCP is used in applications where accuracy is critical, such as email, web browsing, and file downloads. In contrast, UDP prioritizes speed over reliability, making it ideal for real-time applications like video calls and online gaming.
Here's a brief comparison of how TCP and UDP handle packet loss:
In a packet-switched network, packets can take different routes, encounter congestion, or fail to reach their destination, which is known as packet loss.
Reexpac
Reexpac was the nationwide experimental packet switching data network in Brazil, developed by the research and development center of Telebrás, the state-owned public telecommunications provider.
Handling errors and losses in data transmission was a major challenge for Reexpac, as it was an experimental network and not a commercial one.
In the case of Reexpac, the development center of Telebrás had to design and implement error correction mechanisms to ensure reliable data transmission over the network.
The experimental nature of Reexpac meant that it was a testing ground for new technologies and approaches to data transmission, which often came with a high risk of errors and losses.
For another approach, see: Internet Data Center
Lost Data Handling in Networks
Lost data handling in networks can be a real challenge. In a packet-switched network, packets don't always travel in a straight line, they can take different routes, encounter congestion, or even fail to reach their destination, known as packet loss.
Packet loss can occur due to network congestion, hardware issues, transmission errors, or security threats. For example, too much data being transmitted at once can cause packets to be dropped.
To handle lost packets, different protocols have different approaches. TCP (Transmission Control Protocol) detects lost packets using acknowledgments from the receiver and resends missing packets to ensure complete and correct data delivery.
However, other protocols like UDP don't request retransmission of lost packets and prioritize speed over reliability. This can cause lag, buffering, or audio glitches if a packet is lost.
In general, lost packets can cause a slight delay as the data is reassembled, which can be noticeable in real-time services like video calls. To mitigate this, protocols like TCP use acknowledgments to ensure data delivery.
Here's a summary of how protocols handle lost packets:
Frequently Asked Questions
What are the two types of packet switches?
There are two main types of packet switches: connectionless (datagram) and connection-oriented (virtual circuit) switching. Understanding the difference between these two types is crucial for optimizing network performance and efficiency.
What is the difference between circuit switching and packet switching?
Circuit switching creates a dedicated path for data transfer, while packet switching breaks data into smaller packets that take different routes to the destination. This fundamental difference affects how data is transmitted and received in network communication.
Featured Images: pexels.com


