CN-lecture13 Switching Tech
CN-lecture13 Switching Tech
In large networks, there can be multiple paths from sender to receiver. The switching technique will
decide the best route for data transmission.
Switching technique is used to connect the systems for making one-to-one communication.
CIRCUIT SWITCHING:-
o Circuit switching is a switching technique that establishes a dedicated path between sender and
receiver.
o In the Circuit Switching Technique, once the connection is established then the dedicated path
will remain to exist until the connection is terminated.
o A complete end-to-end path must exist before the communication takes place.
o In case of circuit switching technique, when any user wants to send the data, voice, video, a
request signal is sent to the receiver then the receiver sends back the acknowledgment to ensure
the availability of the dedicated path. After receiving the acknowledgment, dedicated path
transfers the data.
o Circuit switching is used in public telephone network. It is used for voice transmission.
o Circuit establishment
o Data transfer
o Circuit Disconnect
o Once the dedicated path is established, the only delay occurs in the speed of data transmission.
o It takes a long time to establish a connection approx 10 seconds during which no data can be
transmitted.
o It is more expensive than other switching techniques as a dedicated path is required for each
connection.
o It is inefficient to use because once the path is established and no data is transferred, then the
capacity of the path is wasted.
o In this case, the connection is dedicated therefore no other data can be transferred even if the
channel is free.
MESSAGE SWITCHING:-
o The destination address is appended to the message. Message Switching provides a dynamic
routing as the message is routed through the intermediate nodes based on the information
available in the message.
o Message switches are programmed in such a way so that they can provide the most efficient
routes.
o Each and every node stores the entire message and then forward it to the next node. This type of
network is known as store and forward network.
o
Advantages Of Message Switching
o Data channels are shared among the communicating devices that improve the efficiency of using
available bandwidth.
o Traffic congestion can be reduced because the message is temporarily stored in the nodes.
o The size of the message which is sent over the network can be varied. Therefore, it supports the
data of unlimited size.
o The message switches must be equipped with sufficient storage to enable them to store the
messages until the message is forwarded.
o The Long delay can occur due to the storing and forwarding facility provided by the message
switching technique.
PACKET SWITCHING:-
o The packet switching is a switching technique in which the message is sent in one go, but it is
divided into smaller pieces, and they are sent individually.
o The message splits into smaller pieces known as packets and packets are given a unique
number to identify their order at the receiving end.
o Every packet contains some information in its headers such as source address, destination
address and sequence number.
o Packets will travel across the network, taking the shortest path as possible.
o All the packets are reassembled at the receiving end in correct order.
o If any packet is missing or corrupted, then the message will be sent to resend the message.
o If the correct order of the packets is reached, then the acknowledgment message will be sent.
Approaches Of Packet Switching:-
o In the case of Virtual circuit switching, a preplanned route is established before the messages are
sent.
o Call request and call accept packets are used to establish the connection between sender and
receiver.
o In this case, the path is fixed for the duration of a logical connection.
o Call request and call accept packets are used to establish a connection between the sender and
receiver.
o After transmission of data, an acknowledgment signal is sent by the receiver that the message
has been received.
o If the user wants to terminate the connection, a clear signal is sent for the termination.
Node takes routing decisions to forward the packets. Node does not take any routing decision.
Congestion cannot occur as all the packets travel in Congestion can occur when the node is busy, and it d
different directions. packets to pass through.
It is more flexible as all the packets are treated as an It is not very flexible.
independent entity.
o Reliable: If any node is busy, then the packets can be rerouted. This ensures that the Packet
Switching technique provides reliable communication.
o Efficient: Packet Switching is an efficient technique. It does not require any established path
prior to the transmission, and many users can use the same communication channel
simultaneously, hence makes use of available bandwidth very efficiently.
o Packet Switching technique cannot be implemented in those applications that require low delay
and high-quality services.
o The protocols used in a packet switching technique are very complex and requires high
implementation cost.
o If the network is overloaded or corrupted, then it requires retransmission of lost packets. It can
also lead to the loss of critical information if errors are nor recovered.