×

Computer Network Switching

Switching

Many numbers of connected devices are called the network. Whenever a company has multiple devices, there has a problem of how to connected them to make the one to one communication possible. A better solution to these problems is switching. The chain of an interlink node is called a switched network. Switches are those devices to provide a temporary connection between two or more than two devices linked to the switches.

Computer Network Switching

Advantages of Switching

  1. Switching increases the bandwidth of the network.
  2. It reduces the workload on a single computer.
  3. It increases network performance by reducing the traffic on the network.

Disadvantages of Switching

  1. It's very costly than bridges.
  2. It is very difficult to detect connectivity issues in it.

There are three methods of switching

Normally, there are three methods of switching: circuit switching, packet switching, and message switching. Circuit switching and Packet switching are both commonly used today days. Packet switching can be divided into two types virtual-circuit network and the datagram network. The message switching has been phased out in normal communication but not usable for networking. Sub-categories of Switching are shown in the below diagram.

Computer Network Switching

Circuit switching

In the circuit switching networking, the physical nodes are connected to a set of switches. Circuit switching provides a dedicated route made up of one or more links in which each link is split into n channels. Usually, each link is split into n channels using by FDM or TDM. It is also called as the connection-oriented switching.

Some essential points in circuit switching:

  • Circuit switching occurs work at the physical layer.
  • The data transferred between the sender and receiver are not packed. The data are constantly flow sent by the source node and received by the destination node.

The telephone lines are the best example of circuit switching. The communication in circuit switching needed to three phases: connection established, data transfer, and connection teardown. Firstly, it established the connection between the sender and the receiver. Then it can be transferred to the data for both sides. After complete the data transfer, the connection is disconnected.

Packet Switching

In packet switching, the data is divided into smaller parts. These small parts are known as packets. There are all each package has its own source address and destination address. Each packet is further transmitted to the network based on these addresses. When all the packets reach their own destination address, they are all converted back to the original message. In packet switching, the network accepts the packets based on FCFS (first come first serve), i.e., the packet that first arrives is served first. Packet switching is used as an alternative to circuit switching. Packet switching can be divided into two types:

  1. Virtual-Circuit Network
  2. Datagram Network

Virtual-Circuit Network

In virtual-circuit network switching, one route is selected between the sender and receiver. All the packets are transmitted through this one route. Due to being transmitted through a route in virtual-circuit network switching, all packets reach the destination in systematic and correctly. It is called as the connection-oriented switching. The virtual-circuit network switching is usually done at the data link layer.

Datagram Network

In datagram networks, each packet is transmitted independently in the network, i.e., one packet has no connection with another packet. Packets in this switching network are called as the datagrams. These packets have a destination address from which they are transmitted in the network. Due to the packets being independent in datagram packet switching, they are transmitted through different routes. Which causes the packet to reach the destination poorly. The datagram network switching is usually done at the network layer. It is also called as connectionless switching.

Difference between Virtual Circuit network and Datagram network?

Virtual Circuit networkDatagram network
It is also called as connection-oriented switching.It is also called as connectionless switching.  
Virtual circuit networks are highly reliable than the datagram network. Datagram networks are not reliable than the virtual circuit network.
The implementation of virtual circuits is expensive because a new connection has to be established each time.The implementation of datagram networks is cost-efficient because it is not required a new connection to established each time.
In the virtual circuit network, there is used a fixed path for sending the packets.In the datagram network, there is not used a fixed path for sending the packets.
In the virtual circuit network, packets reach the destination in sequence because the packets follow the same path.In the datagram network, packets reach the destination in random order because the packets do not follow the same path.

Advantages of Packet switching

  1. It can send high data easily.
  2. It is very secure than other switching methods.

Disadvantages of Packet switching

  1. If the heavy data is transmitted in the network, then it takes a lot of time.
  2. There are many possibilities of corrupting data in this switching.

Message Switching

In message switching, when a message is sent, it is accompanied by its destination address. It is not required to establish any special route between the sender and receiver. In this, the message is transmitted from one node to another. When the node receives the complete message, it stores the message, and when the other node is ready to receive the message, it forwards the message. For this reason, it’s also called as store-forward switching. For this reason, its also called as store-forward switching.

Advantages of Message switching

  1. Message switching is efficient for data traffic management.
  2. Message switching reduces network blockages.

Disadvantages of Message switching

  1. It increases the cost due to its intermediate storage.
  2. It isn't suitable for devices in real-time such as data communication.

Difference between Circuit Switching and Packet Switching?

Circuit switchingPacket switching
Circuit switching is a connection-oriented switching technique.The packet switching technique is a connection-less switching technique.
Circuit switching was initially designed for voice communication between one device to another device.Packet switching was initially designed for data transmission between one device to another device.
It is done at the physical layer.It is done at the network layer.
It is not supported to the store and forward transmission.It supports the store and forward transmission.
In the circuit switching technique, bandwidth wastage is more.In the packet switching technique, bandwidth wastage is very low.

Difference between Circuit switching and Message switching?

Circuit switchingMessage switching
Circuit switching is a connection-oriented switching technique.The message switching technique is a connection-less switching technique.
It is geographical addressing in the circuit switching.It is hierarchical addressing in the message switching.
It is more expensive than message switching.It is less expensive than circuit switching.
It does not store the information.It stores the information firstly, then forwards it to the next device.

Related Topics

Computer Network Topology: Bus, Star, Ring, Tree and Hybrid

Network Topology: The Computer network topology refers to the layout of connected devices on a network. The network topology is the combination by which computer or network devices interconnected to...

4 minutes read.

Define Framing in Computer Network

Framing is a function of the data link layer, which provides a way for a sender to transmit a set of bits that should be meaningful to the user. The...

7 minutes read.

Data Link Layer Protocols

 Data Link Layer Protocols Bluetooth Low EnergyZ-WaveZigBee Smart EnergyLoRaWANWirelessHARTLTE-A  1. Bluetooth Low Energy Bluetooth Low Energy or Bluetooth is a short-range communication protocol with the physical layer and medium access control layer. It is widely used in IoT...

3 minutes read.

Network Layer: Logical Address

Network Layer - Logical Address The IP address is a 32 bit long, and it provides us a maximum of 232 addresses. These addresses are known as IPv4 addresses. The IP address...

5 minutes read.

Cyclic Redundancy Check Example

What is Cyclic Redundancy Check? A cyclic redundancy check (CRC) is a type of error-detecting code commonly used in digital networks and storage devices to detect accidental changes to raw data....

5 minutes read.

Differences between IPv4 and IPv6

Introduction In this tutorial, we will discuss the basic differences between IPv4 and IPv6 protocols. Definition of Internet Protocols Vint Cerf and Bob Kahn's initial Transmission Control Program had a connectionless datagram service...

4 minutes read.

Digital Transmission

Line Coding Digital signal is converted in the digital data that process is known as the Line Coding. That data is stored in the computer in the form of text, audio,...

4 minutes read.

Unicast Routing Protocol

Unicast Routing Protocol: Unicast is a point to point communication arrangement that only occurs between the sender and receiver. Routing Information Protocol RIP is an open standard protocol that can work with...

3 minutes read.

Application Layer in OSI Model

This article will help you in getting a better understanding of the Application layer in the OSI model. It is the uppermost layer in the OSI Model. The application layer establishes...

4 minutes read.

FTP: File Transfer Protocol

File Transfer Protocol File transfer protocol is commonly called FTP. The most popular service of the Internet is to download the files. In other words, it is to transfer the files...

3 minutes read.

Advantages and Disadvantages of Fibre Optics Cable

What is Fibre Optics Cable? A fibre optics cable is made of plastic or fibre, which is used to transmit the data. In fibre optics cable, the data is sent along...

3 minutes read.

User Datagram Protocol

User Datagram Protocol: UDP stands for the User Datagram Protocol. UDP was developed by David P Reed in 1980. It is a connection-less and unreliable protocol. In this protocol, when...

2 minutes read.

Supernetting in Network Layer

Introduction Supernetting is one of the main topics in data communication networks or computer networks. The network aggregation goes by many names, such as supernetting, route aggregation, summarization, and so on....

6 minutes read.

Cryptography in Computer Network

Cryptography: Cryptography is derived from the Greek word, which means "Hidden Secrets." In other words, it is an art in which we can protect our data and information. Through cryptography,...

2 minutes read.

Computer Network Architecture

Computer network architecture is a design in which all the computers are organized in a computer network. The architecture defines how computers must communicate with each other to obtain maximum...

4 minutes read.

TCP/IP model in Computer Network

An essential foundation for computer networking is the TCP/IP model. It stands for Transmission Control Protocol and Internet Protocol which are the two major Internet protocols. This model outlines the...

6 minutes read.

Hamming Code Example

What is Hamming Code? Hamming code is an error-detecting and error-correcting code used in computer data storage and transmission to detect and correct errors caused by noise, interference, or data corruption....

4 minutes read.

Fiber Optics and its Types

Fiber Optics is a type of technology that is used to transfer data through the cable with the speed of light. The metal wire is preferred for the transmission of...

3 minutes read.

Advantages and Disadvantages of WAN

Before we move to advantages and disadvantages of WAN, first we discuss about what is WAN and what are its features. A wide area network is a vast network of information...

4 minutes read.

Fixed and Flooding Routing Algorithms

Introduction Before going to study fixed and flooding routing algorithms, we have to take a look back to revisit the topic of routing. Routing can be defined as Routing: What is it? Routing...

3 minutes read.