Switching
Switching
8.3
Figure 8.1 Switched network
8.4
Circuit Switching
Circuit switching is a switching technique that establishes a dedicated path
between sender and receiver.
In the Circuit Switching Technique, once the connection is established then the
dedicated path will remain to exist until the connection is terminated.
Circuit switching in a network operates in a similar way as the telephone works.
A complete end-to-end path must exist before the communication takes place.
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.
Circuit switching is used in public telephone network. It is used for voice
transmission.
Fixed data can be transferred at a time in circuit switching technology.
Communication through circuit switching has
3 phases:
Circuit establishment
Data transfer
Circuit Disconnect
Phases of Circuit Switching
Circuit Establishment
A dedicated circuit between the source and the
destination is established with the help of numerous
intermediate switching centres. The requesting and
receiving of the communication signals are possible when
the sender and receiver transmit signals across the
circuit.
Data Transfer
The transfer of data and voice signals are possible
between the source and the destination after the
establishment of the circuit. The connection between
both the end parties continues as long as they
communicate.
Circuit Disconnection
The disconnection in the circuit happens when one of the
users initiates to disconnect. When the disconnection
takes place, all the intermediate links between the
Example 8.1
8.8
Figure 8.4 Circuit-switched network used in Example 8.1
8.9
Advantages Of Circuit Switching:
•In the case of Circuit Switching technique, the
communication channel is dedicated.
•It has fixed bandwidth.
Disadvantages Of Circuit Switching:
•Once the dedicated path is established, the only delay occurs in the
speed of data transmission.
•It takes a long time to establish a connection during which no data
can be transmitted.
•It is more expensive than other switching techniques as a dedicated
path is required for each connection.
•It is inefficient to use because once the path is established and no
data is transferred, then the capacity of the path is wasted.
•In this case, the connection is dedicated therefore no other data can
be transferred even if the channel is free.
Message Switching
Message Switching is a switching technique in which a message is
transferred as a complete unit and routed through intermediate
nodes at which it is stored and forwarded.
In Message Switching technique, there is no establishment of a
dedicated path between the sender and receiver.
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.
Message switches are programmed in such a way so that they can
provide the most efficient routes.
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.
Message switching treats each message as an independent entity.
Advantages Of Message Switching
8.16
Note
The destination address in the header of a packet in a datagram network
remains the same during the entire journey of the packet.
8.17
Figure 8.9 Delay in a datagram network
8.18
Note
Switching in the Internet is done by using the datagram approach
to packet switching at
the network layer.
8.19
Virtual Circuit Switching
Virtual Circuit Switching is also known as connection-oriented switching.
In the case of Virtual circuit switching, a preplanned route is established before the messages
are sent.
Call request and call accept packets are used to establish the connection between sender
and receiver.
In this case, the path is fixed for the duration of a logical connection.
In the above diagram, A and B are the sender and receiver respectively. 1 and 2 are the
nodes.
Call request and call accept packets are used to establish a connection between the
sender and receiver.
When a route is established, data will be transferred.
After transmission of data, an acknowledgment signal is sent by the receiver that the
message has been received.
If the user wants to terminate the connection, a clear signal is sent for the termination.
Note
In virtual-circuit switching, all packets belonging to the same source and
destination travel the same path;
but the packets may arrive at the destination with different delays
if resource allocation is on demand.
8.22
Figure 8.16 Delay in a virtual-circuit network
8.23
Note
Switching at the data link layer in a switched WAN is normally
implemented by using
virtual-circuit techniques.
8.24
Differences b/w Datagram approach and Virtual Circuit approach
Message and Packets There is one big entire data There is one big entire data stream The big message is divided
stream called a message. called a message. into a small number of
packets.
Routing One single dedicated path exists Messages follow the independent Packets follow the
between the source and route to reach a destination. independent path to hold the
destination. destination.
Addressing and Messages need not be addressed Messages are addressed as Packets are addressed, and
sequencing as there is one dedicated path. independent routes are established. sequencing is done as all the
packets follow the
independent route.
Sequence Order Message arrives in Sequence. Message arrives in Sequence. Packets do not appear in
sequence at the destination.
Use Bandwidth Wastage Bandwidth is used to its maximum Bandwidth is used to its
extent. maximum extent.