Computer Network Tutorial

Introduction of Computer Network Types of Computer Network Network Topology Computer Networking Architecture Transmission Modes (Data Flow) Basic Networking Devices Integrate Services Digital Network (ISDN)


OSI Model TCP/IP Model

Physical Layer

Digital Transmission Analog Transmission Transmission Media Switching

Data Link Layer

Error detection and Error correction Data Link Control Multiple Access Aloha

Network Layer

Network Layer - Logical Address Address Mapping Unicast Routing Protocol

Transport Layer

Process to Process Delivery User Datagram Protocol Transmission Control Protocol Stream Control Transmission Protocol Session Layer and Presentation Layer

Application Layer

Domain Name System Application Protocol E-mail Cryptography


Classes of Routing Protocols Classification of Routing Algorithms Controlled Access Protocols in Computer Networks Differences between IPv4 and IPv6 Fixed and Flooding Routing Algorithms Advantages and Disadvantages of Fibre Optics Cable APIPA Difference between Active and Passive FTP Fiber Optics and its Types Method of Joining and Fusion of Fiber Optic Cable Define Framing in Computer Network Disadvantages of Computer Network Mesh Topology Diagram in Computer Network Ring Topology in Computer Network Star Topology in Computer Networks 4G Mobile Communication Technology Advantages and Disadvantages of LAN Advantages and Disadvantages of MAN Advantages and Disadvantages of WAN Application Layer in OSI Model Cyclic Redundancy Check Example Data link layer in OSI model Difference between Transport and Network Layer Hamming Code Example Network Layer in OSI Model Session Layer in OSI Model Transport Layer in OSI Model Two Port Network in Computer Networks Uses of Computer Networks What is Computer Network What is Framing in a Computer Network Advantages and Disadvantages of Bus Topology Difference between Star Topology and Bus Topology Subnetting in Computer Network Subnetting Questions and Answers What is Bus Topology What is Network Topology and Types in Computer Networks Access Control in Networking Basic Characteristics of Computer Network Benefits of SOCKS5 Proxy in Computer Networks Computer Network viva Questions Difference between BOOTP and RARP Difference Between Network Topologies and Network Protocols Difference between NFC and RFID Difference Between Point-to-Point Link and star Topology Network Differences Between MSS and MTU Differences Between Trunk Port and Access Port Different Modes of Communication in Computer Networks MIME Protocol in Computer Networks Modes of Communication in Computer Networks Network Attack in Computer Network Port Address in Networking Simplest Protocol in Computer Network Sliding Window Protocol in Computer Network Stop And Wait Protocol in Computer Networks TCP 3-Way Handshake Process in Computer Networks What is a Proxy Server What is APPN What is ICMP Protocol What is Point-to-Point Protocol What is Port Address in Networking What is the HDLC Protocol What is VRRP Protocol Difference Between Analog and Digital Signals Difference Between Hub and Repeater Difference between Repeater and Switch Difference Between Transparent Bridge and Source Routing Bridge Source Routing Bridge in Computer Networks Transparent Bridge in Computer Networks Transport Protocol in Computer Networks Types of CSMA in Computer Networks What is Wired and Wireless Networking Network Security in Computer Network Disadvantages of Extranet Difference Between TELNET and FTP Define Protocol in Computer Networks Guided Transmission Media in Computer Network What is a Gateway in a Computer Network IGMP in Computer Networks LAN Protocols in Computer Networks MAN Meaning in Computer Modulation Techniques in Computer Networks Switching in DCN TCP/IP Applications What is IGMP? What is Modem in Networking What is Non-Persistent CSMA Difference between Cell Splitting and Cell Sectoring Forouzen Computer Network Open Loop and Closed Loop Congestion Control Types of Cluster Computing WAP-Wireless Access Point What are the elements of the Transport Protocol Difference between Gateway and Switch Flow Control in Data Link Layer Body Area Network Flooding in Computer Network Token Ring in Computer Networks VoIP in Computer Networks What is Infrared Transmission Congestion Control Techniques Forward Error Correction (FEC) Switching Techniques What is Telnet in Computer Network What are the Types of IPv4 Addresses IEEE 802.6 (DQDB) IEEE 802.15.4 Technology What is HDLC (High-level Data Link Control)? What is SMS Hubbing in Telecom? Circuit Switching in Computer Networks Communication Satellites in Computer Networks Features of HTTP Protocol IMAP4 (Internet Message Access Protocol) Internet Services How to Set up a Wireless Router Internetwork Routing in Computer Networks Distributed Computing System Features of GSM The 802.11 MAC Sublayer Protocol What is IEEE 802.3? What are Hubs and Switches in Computer Networks? What is Modem in a Computer Network? What is multicasting in Computer Networks? GSM -The Mobile Station What is Network Server? Slotted Aloha in Computer Network What is Ethernet in Computer Networks What is Arpanet?

Switching Techniques


There may be more than one path connecting the sender and the recipient in big networks. The optimal path for data transmission will be determined by the switching strategy.

Systems are connected via switching mechanism to provide one-to-one communication.

Categorization of Switching Methods:

Switching Techniques

1. Circuit Switching

A dedicated path between the sender and the recipient is established by the switching technique known as circuit switching.

With the Circuit Switching Technique, the dedicated path will stay in place until the link is broken once it has been established.

In a network, circuit switching functions similarly to how a phone does.

Before any communication may occur, the entire path must be present.

When using the circuit switching technique, a request signal is sent to the recipient whenever a user wishes to transfer data, voice, or video. The recipient then responds with an acknowledgment to confirm that the dedicated way is available. The data is transferred via a dedicated path upon acknowledgment.

In public telephone networks, circuit switching is utilized. It is employed for voice communication.

Circuit switching technique allows for the transport of fixed data one bit at a time.

There are three stages to circuit switching communication:

  • Circuit configuration
  • Data transmission
  • Disconnect Circuit

Circuit switching utilizes two technologies:

  • Space Division Switches:

Space Division Switching is a circuit switching technology where a physically distinct collection of crosspoints is used in a switch to accomplish a single transmission line.

Crossbar switches can be used to implement space division switching. A control unit can enable or disable a crossbar switch, which is a semiconductor gate or metallic crosspoint.

Semiconductors are used in the construction of the Crossbar switch. Consider the FPGA-based Xilinx crossbar switch.

Space Division Switching features nonblocking switches, great capacity, and fast speed.

There are two types of Space Division Switches:

Crossbar Switch: A switch with n input lines and n output lines is called a Crossbar switch. There are n2 crosspoints—intersection points—in the crossbar switch.

Drawbacks of the Crossbar switch:

As the number of stations rises, so does the number of crosspoints. Thus, for a huge transition, it becomes very expensive. Using a multistage switch is the answer to this problem.

  • Multistage Switch:

The crossbar switch is divided into smaller components and then connected to create a multistage switch.

There are fewer crosspoints as a result.

There will always be another route available in case the first one fails.

Advantages of Circuit Switching:

  • The communication channel is set aside for the Circuit Switching method.       
  • Its bandwidth is fixed.

Drawbacks of Circuit Switching:

  • The pace of data transmission is the only thing that delays once the dedicated connection is established.
  • The connection establishment process takes a lengthy time—roughly 10 seconds—during which no data may be sent.
  • Since each link needs its own path, it is more expensive than other switching methods.
  • It is inefficient to use since the path's capacity is squandered as soon as it is created and no data is conveyed.
  • Even though the channel is free in this instance, no further data may be exchanged because the connection is devoted.
  • Message Switching

A message is sent as a whole unit and routed through intermediary nodes where it is stored and transmitted. This switching approach is known as message switching.

There is no dedicated path established between the sender and the recipient when using the message switching mechanism.

The message's destination address is attached. Because the message is routed through the intermediary nodes according to the information included in the message, message switching offers dynamic routing.

The most effective routes are provided by message switches because of the way they are programmed.

Every node saves the complete message before forwarding it to the subsequent node. The term "store and forward network" refers to this kind of network.

Switching between messages considers each one as a separate message.

Benefits of Message Switching:

  • Devices that communicate with each other exchange data channels, which increases the effectiveness of utilizing available bandwidth.
  • It is possible to change the message size that is sent over the network. As a result, it can handle data of any magnitude.
  • The network can be controlled by message priority.
  • Due to the message being briefly stored in the nodes, traffic congestion can be decreased.

Drawbacks of Message Switching:

Enough storage must be included in the message switching so that they can hold messages until they are forwarded.

The message switching technique's ability to store and transfer data may be the cause of the long delay.

  • Packet Switching

A switching approach called packet switching sends the message all at once, but breaks it up into smaller parts that are transmitted separately.

The message breaks up into smaller units called packets, and at the receiving end, each packet is assigned a unique number that allows it to be sorted in sequence.

The headers of every packet include information such as the sequence number, source address, and destination address.

Across the network, packets will move in the quickest direction.

At the receiving end, every package is put back together in the right order.

The message will be transmitted again if there are any missing or corrupted packets.

The acknowledgment message is delivered if the packets are received in the correct order.

Methods Used in Packet Switching:

Two methods exist for packet switching:

  • Datagram packet switching:

This technology uses packets, known as datagrams, each of which is regarded as a separate entity. Every packet includes destination information, which the switch uses to route the packet to the intended recipient.

At the receiving end, the packets are put back together in the right order.

The path is not fixed when using the Datagram Packet Switching approach.

To forward the packets, intermediate nodes make the routing decisions.

Another name for Datagram Packet Switching is connectionless switching.

  • Virtual Circuit Switching:

Another name for virtual circuit switching is connection-oriented switching.

When using virtual circuit switching, communications are sent down a prearranged path first.

The connection between the sender and the recipient is established through the usage of call request and call accept packets.

In this instance, the path remains fixed while a logical link is in place.

Benefits of Packet Switching:

  • Expense-effective: A certain amount of expense is reduced when using the packet switching technique since switching devices do not need a large amount of secondary storage to hold the packets. As a result, we may declare that the packet switching method is economical.
  • Reliable: Packets can be diverted if a node is busy. This guarantees dependable communication through the use of the Packet Switching technology.
  • Effective: The technology of packet switching is effective. It makes excellent use of the available bandwidth because it doesn't require any pre-established paths and allows multiple users to use the same communication channel at once.

Drawbacks of Packet Switching:

  • It is necessary to retransmit lost packets if the network is damaged or overcrowded
  • Applications that demand high-quality, low-latency services cannot be implemented using the packet switching technique.
  • If mistakes are not fixed, it may also result in the loss of important data.
  • A packet switching technique uses extremely sophisticated protocols that are expensive to implement.


Through analyzing various strategies like circuit switching, packet switching, and message exchanging, it's obvious that every method offers particular benefits and disadvantages.

Circuit switching lays out a correspondence way among source and collector, guaranteeing low idleness and reliable data transmission. In any case, it's less adaptable and less effective in using network assets contrasted with bundle exchanging. On the other hand, packet switching allows for better resource utilization and scalability by splitting data into smaller packets. It works well in taking care of explosions of information yet may experience packets misfortune.

Message switching, albeit more uncommon today, includes sending the whole message all in all. It's more straightforward yet experiences longer transmission times and higher possibilities of mistakes. Utilizing the strengths of each, combining these methods or implementing hybrid models frequently improves network performance.

At last, the selection of switching strategy relies upon factors like information volume, traffic designs, and required speed.