1.7 Circuit Switching - 1.8 Packet Switching
1.7 Circuit Switching - 1.8 Packet Switching
COMPUTER NETWORKS
UNIT NO 1
INTRODUCTION TO PHYSICAL LAYER
SWITCHING
1.7 CIRCUIT SWITCHING
III V 1.8 PACKET SWITCHING
III V
CS8591
CS8591
COMPUTER NETWORKS
COMPUTER NETWORKS
(Common to CSE & IT)
CS8591
COMPUTER NETWORKS - (Common to CSE & IT)
SWITCHING
What is Switching?
• In modern world, we are connected with
everyone, either by internet or by a telephone
connection. In this huge network, when a
phone call is made, or when we access some
website, the data get transferred from one
network to the other network.
• Whether you are inside a closed network or
in a large network segment, Switching is the
most important mechanism which
exchanges the information between
different networks or different
computer(s). Switching is the way which
directs data or any digital information towards
your network till the end point.
CS8591
COMPUTER NETWORKS - (Common to CSE & IT)
The end systems (communicating devices) are labeled A, B, C, D, and so on, and the switches are
labeled I, II, III, IV, and V. Each switch is connected to multiple links.
CS8591
COMPUTER NETWORKS - (Common to CSE & IT)
● Telegraph Networks
Message switching & store-and-forward
● Telephone Networks
Circuit Switching and connection oriented
● Computer Networks and the Internet
Packet switching
Virtual circuit switching
● Next-Generation Internet
???
CS8591
COMPUTER NETWORKS - (Common to CSE & IT)
CS8591
COMPUTER NETWORKS - ( Common to CSE & IT)
CIRCUIT SWITCHING
• However, each connection uses only one dedicated channel on each link.
•Each link is normally divided into n channels by using Frequency Division Multiplexing and Time
Division Multiplexing.
•A circuit-switched network is made of a set of switches connected by physical links, in which each
link is divided into n channels.
CS8591
COMPUTER NETWORKS - ( Common to CSE & IT)
CIRCUIT SWITCHING
•Circuit switching takes place at the physical layer.
•Before starting communication, the stations must make a reservation for the resources to be used
during the communication.
Teardown Phase
When one of the parties needs to disconnect, a signal is sent to each switch to release the resources.
CS8591
COMPUTER NETWORKS - ( Common to CSE & IT)
CIRCUIT SWITCHING
Advantages of Circuit Switching
●The data rate is fixed and dedicated because the connection is established using dedicated physical
connection or circuits.
●As there are dedicated transmission routing paths involved, it is a good choice for continuous transmission
over a long duration.
●The data transmission delay is negligible. No waiting time is involved in switches. So, the data gets
transmitted without any prior delay in the transmission. This is definitely a positive advantage of Circuit
Switching method.
●It requires more bandwidth, and continuous transmission offers wastage of bandwidth when there is a
silence period.
●It is highly inefficient when utilizing the system resource. We cannot use the resource for other connection
as it is allocated for the entire conversation.
●It takes huge time during the establishment of physical links between senders and receivers.
CS8591
COMPUTER NETWORKS - ( Common to CSE & IT)
PACKET SWITCHING
CS8591
COMPUTER NETWORKS - (Common to CSE & IT)
PACKET SWITCHING
Packet switching method uses two routing methods:
●In datagram network, each packet is routed independently through the network.
●Each packet carries a header that contains the full information about the destination.
●When the switch receives the packet, the destination address in the header of the packet is examined;
the routing table is consulted to find the corresponding port through which the packet should be
forwarded.
CS8591
COMPUTER NETWORKS - (Common to CSE & IT)
PACKET SWITCHING
Virtual Circuit Packet Switching
A source and destination have to go through three phases in a virtual circuit packet switching:
I. Setup phase
ii. Data transfer phase
iii. Connection release phase
MESSAGE SWITCHING
Message switching is a connectionless network switching technique
where the entire message is routed from the source node to the
destination node, one hop at a time. It was a precursor of packet
switching.
CS8591
COMPUTER NETWORKS - (Common to CSE & IT)
MESSAGE SWITCHING
Advantages and Disadvantages of Message Switching
Advantages
● Sharing of communication channels ensures better bandwidth usage.
● It reduces network congestion due to store and forward method. Any switching node can
store the messages till the network is available.
● Broadcasting messages requires much less bandwidth than circuit switching.
● Messages of unlimited sizes can be sent.
● It does not have to deal with out of order packets or lost packets as in packet switching.
Disadvantages
● In order to store many messages of unlimited sizes, each intermediate switching node
requires large storage capacity.
● Store and forward method introduces delay at each switching node. This renders it
unsuitable for real time applications
CS8591
COMPUTER NETWORKS - (Common to CSE & IT)