SlideShare a Scribd company logo
Switching
• A switched network basically consists of a series of interlinked nodes. These interlinked
nodes are known as switches.
• Thus in a switched network, connectivity is usually provided by making the use of
switches.
• Switches are those devices that are capable of creating temporary connections between
two or more devices that are linked to them.
• In this network, some switches are connected to the end system(like computer systems
or telephones) while other switches are used for routing.
• The network device switch is mainly a layer-2 device of the OSI model.
• Packet forwarding is done by the switch on the basis of the MAC address.
• Thus the Switch mainly transfers the data only to the device that has been addressed
(means having proper mac address). Because verification of destination address is done
by the switch in order to route the packet appropriately.
Switching types-circuit, packet and message
• In the above figure; A, B, C, D, E, F, G, H are end systems or we can say
communicating devices. And there are 4 switches labeled as 1,2,3,4.
Also, you can see that each switch is connected to multiple links.
• The concept of switching is needed for the effective utilization of the
bandwidth. Also whenever two or more devices communicate with
each other then there are many chances for the occurrence of the
collision of data packets in the network; switching is the best solution
for this problem.
Methods of Switching
• In order to decide the best route for data transmission, a switching
technique is used. The switching techniques mainly connect the
systems in such a way to make one-to-one communication easier.
• Given below are three methods used for switching or we can say
there are three switching techniques:
• Circuit Switching
• Packet Switching
• Message Switching
• On the basis of the above-given techniques, switched networks are
broadly classified as follows:
Switching types-circuit, packet and message
Advantages of Switched Networks
• As switches help in creating collision domain for each connection in
the networks. Thus there are fewer chances of frame collision.
• There is an increase in the performance of networks by using
switches.
• There is an increase in the available bandwidth on the network by
using switches.
• The workload on the individual PC gets reduced by using switches in
the network.
• There is a direct connection of the switch with the workstation
Disadvantages of Switched Networks
• As we are using switches in the switched network, so the network
becomes expensive because switches are expensive.
• It is difficult to trace the connectivity issues in the network through a
switch.
• There are chances for the occurrence of trouble in broadcast traffic.
• In order to handle multicast packets, proper design and configuration
are needed.
Circuit-Switched Networks
• A network consists of a set of switches that are connected by the physical
links commonly known as Circuit-Switched Network.
• Whenever one device communicates with another device then a dedicated
communication path is established between them over the network.
• There is only a dedicated channel on each link used by each connection.
Also, each link can be easily divided into n channels by using the TDM(Time
Division Multiplexing)or FDM( Frequency Divison Multiplexing)technique.
• The Circuit Switching technique is mainly used in the public telephone
network for voice communication as well as for data communication.
• Data communication is less efficient than voice communication.
• The Circuit switching technique mainly takes place at the physical
layer.
• In Circuit-switched networks, the data transfer mode mainly involves
a dedicated end-to-end connection. Until the end of the
communication, this dedicated path is maintained. After the
communication is over the link is released.
Switching types-circuit, packet and message
Phases in Circuit Switching
• In order to transfer data using Circuit switching there is a need to
establish a circuit(these circuits can either be permanent or
temporary) so that data transfer can take place smoothly. Given
below are three phases that are used in Circuit Switching for actual
communication:
• Setup Phase
• Data Transfer Phase
• Teardown Phase
• 1.Setup Phase
• It is the first phase of the Circuit switching technique and in this, there is an
establishment of the circuit that simply means a dedicated link is
established between the sender and the receiver with the help of several
switching centers or nodes.
• 2.Data Transfer Phase
• After the establishment of the circuit, the connection is established which
means that data transfer can take place between sender and receiver.
• 3.Teardown Phase
• On the completion of communication between the sender and receiver the
circuit disconnects. In order to disconnect a signal is sent either by the
sender or receiver
Switching types-circuit, packet and message
• One of the best examples of Circuit switching is a telephone. Suppose
there are two persons Person A and Person B; they both want to
communicate with each other and located at a distance far from each
other.
• Person A makes a call to Person B this phase is the setup phase of
circuit switching. After the establishment of the connection and after
call pick up by Person B; they both can communicate with each other.
This is the data transfer phase of Circuit switching
• Once the communication is complete one of them can cut the call or
break the connection. This is a teardown phase.
• Circuit Switching can be further classified into two:
• 1. Space-Division Switching
• 2. Time-Division Switching
• Let us cover the above given two types one by one.
• 1. Space-Division Switching
• Space-Division switching is a technique of Circuit Switching where the paths in the circuits are
separated from each other spatially.
• This technology is used for analog as well as digital networks.
• In this following switches are used for the connection:
• Crossbar Switch: This switch contains n input lines and n output lines and it has n2 intersection points
• Multistage Switch: The Multistage is made just by first splitting the crossbar switches into smaller units and
then interconnecting them. In case of failure of one path, there is the possibility of another path.
• The speed of Space Division switching is high and it has a high capacity.
• Space division switching contains nonblocking switches.
• Time-Division Switching
• It is a digital switching technique. There is no need for crosspoints in this
switching. In Time-Division Switching, the incoming signals, as well as
outgoing signals, are received and re-transmitted in a different time slot.
• One of the main differences between space-division multiplexing and time-
division multiplexing is the sharing of Crosspoints. There are no Crosspoints
shared in space division switching, whereas crosspoints can be shared for
shorter periods in time-division multiplexing.
• The Time-Division switches are used by modern devices.
• In this technique, there is the use of time-division multiplexing inside the
switch and it is known as Time Slot Interchange(TSI).
Examples of Circuit Switched Networks
• Given below are some examples of Circuit-Switched Networks:
• Public Switched Telephone Network(PSTN)
• Optical Mesh Network
• ISDN B-channel
• Circuit-Switched Data(CSD) and High-speed Circuit-Switched
Data(HSCSD) services in the cellular system like GSM
Advantages of Circuit Switching
• 1.Offers Dedicated Transmission
• As there is a dedicated link between the sender and the receiver. Thus
Circuit-Switched network provides a guarantee of dedicated
transmission.
• 2.No Delay in Transmission
• There is a dedicated path between sender and receiver thus there are
no chances for the delay.
• 3. The Circuit Switching technique is best for long transmission
because it facilitates a dedicated link between sender and receiver.
Disadvantages of Circuit Switching
• There are some drawbacks of Circuit Switching and these are as follows:
• One of the main disadvantages of Circuit switching is that as there is a dedicated path
between sender and receiver; thus this path is received for these two particular devices
and cannot be used by any other device.
• There is a need for more bandwidth as a dedicated path requires more bandwidth.
• Utilization of resources is not done properly as resources are allocated to a connection
for the entire duration and thus became unavailable for all other connections.
• It becomes inefficient in the case if the connection is established between sender and
receiver but there is no data transfer between them.
• Sometimes it takes a long time to establish the connection between sender and receiver.
• As there is a dedicated path between sender and receiver; thus, this technique is
expensive.
Message-Switched Networks
• The Message-Switching Technique was mainly developed to act as
an alternative to circuit switching, this was before packet switching was
introduced. Basically, the message is a smaller unit.
• In the Message-Switching technique, the communication between end
users is done by sending and receiving the message, and this message
includes the entire data to be shared.
• In Message-Switching there is no dedicated path between the sender and
receiver like circuit switching.
• The sender and receiver are connected by way of several intermediate
nodes which helps and ensures proper data transfer between them.
• Message-Switched data networks are also known as hop-by-hop systems.
Characteristics of Message Switching
• Store and Forward
• As we have already told you that the sender and the receiver are not directly
connected to each other. Thus intermediate nodes between sender and receiver are,
mainly responsible for transferring the message to the next node in the path.
• Thus in order to transfer the message, intermediate nodes must have the storage
capacity because any message will only be delivered if the next node and the link
between them are available to connect otherwise this message will be stored
indefinitely.
• A store-and-forward switch thus forwards a message only if sufficient resources are
available and the next node is ready to accept the data. The process continues till the
data is delivered to the destination computer. Hence, it is called store-&-forward
property. The store-and-forward property was earlier used in telegraph message
switching centers.
• Message delivery: In the Message Switching the entire information is
compiled into a single message and then that message is transmitted
from source to destination. To successfully reach its destination each
message must contain the routing information in its header section.
Advantages of Message Switching
• In this Switching, data channels are shared among network devices.
• There is Management of traffic in an efficient way by assigning priorities to the
messages.
• There is an improvement in efficiency as a single channel can now be used for
transferring many messages.
• There is a reduction in network traffic congestion because in this technique we
are using store and forward property and also any switching node can store the
messages till the availability of the network.
• With the use of Message Switching, messages of unlimited size can be sent.
• It requires less bandwidth while broadcasting the messages; thus it consumes
less bandwidth than circuit switching.
• In Message switching, if the next node or link is not available then the current
node stores the message
Disadvantages of Message Switching
• For the whole network, message switching requires a large capacity.
• This technique cannot be used for real-time applications because the
storing of messages causes delay.
• The message-switched networks are very slow in nature because the
processing takes place in each and every node and thus it may result
in poor performance.
Packet Switching
• Packet Switching is a technique of switching in which the message is usually
divided into smaller pieces that are known as packets.
• Every packet contains a header that contains the knowledge of the destination.
With the help of this knowledge/information, these packets find the route.
• A unique number is given to each packet in order to identify them at the
receiving end.
• One of the biggest examples of the Packet-switched network is the Internet.
• The header of the Packet mainly comprises of two things: header and payload.
• where the header mainly contains the routing information.
• and the payload contains the data that is to be transferred.
• This switching is also based on the store and forward method.
• In the Packet Switched network, there is no resource reservation, and
resources are allocated on demand.
• As we know that each packet contains the information of source and
destination in their headers. Thus all packets can independently travel in
the network.
• Packets related to the same file might take different paths and it mainly
depends upon the availability of the path. These packets will be then re-
assembled at the destination. It is the responsibility of the receiver node to
re-arrange the received packet in order to get the original data.
• The message of acknowledgment will be sent by the receiver if packets
reach the receiver in the correct order.
• In case of a missing packet or corrupted packet, the message will be sent by
the receiver to the sender to resend the message.
Switching types-circuit, packet and message
• Two different approaches used for Packet switching are as follows:
• Datagram Packet Switching
• Virtual Circuit Switching
Datagram Packet Switching
• In Datagram Switching, the packet is commonly known as a datagram.
• Datagram Packet switching is also known as Connectionless Packet Switching. In
this technique, each packet routed individually by network devices on the basis of
the destination address that is contained within each packet.
• Each packet is basically treated independently of all others.
• Datagram packet switching is done at the network layer.
• This is Connectionless packet switching because the packet switch does not keep
the information about the connection state.
• In the Datagram packet switching the path is not fixed.
• Routing decisions are taken by the intermediate nodes in order to forward the
packets.
•
• Thus all datagrams that belong to the same message may travel
through different paths in order to reach their destination.
• On the receiving node, all the packets are reassembled to get the
message in the original form.
• Due to lack of resources packets may also be lost or dropped.
• In most of the protocols, it is the responsibility of the upper-layer
protocol to reorder the datagrams or to ask for the lost datagrams
before passing them on to the application.
Virtual Circuit Switching
• Virtual Circuit Switching is also known as Connection-Oriented Switching. This switching
contains the characteristics of circuit switching as well as datagram packet switching.
• In this type of packet switching the data-packets are first assembled and then
sequentially numbered. Now they are ready to travel across a predefined route,
sequentially. The information about the address is not required here, because all the
data packets are sent in sequence.
• In addition to the data transfer phase, there are setup and teardown phases.
• The resource allocation is done during the setup phase like it is done in the circuit-
switched network or it can be done on demand like in datagram networks.
• The data is in the form of packets like the datagram network and also each packet carries
the destination address in the header.
• Like the circuit-switched network, all packets in the Virtual network follows the same
path that is established during the connection.
• This switching is normally implemented in the data link layer.
Advantages of Packet Switching
• More efficient utilization of bandwidth.
• Latency in the transmission is minimum in packet switching.
• This technique is cheaper to implement and thus it is cost-effective.
• The same channel can be used by many users simultaneously.
• As there are improved protocols, thus packet switching is used by
many applications like Skype, WhatsApp, etc.
• The fault tolerance in this technique is more in case of any link down
because packets may follow different paths.
• This technique is more reliable than other techniques because it can
easily detect missing packets.
Disadvantages of Packet Switching
• This technique cannot be used by those applications that cannot
afford more delays like applications of high-quality voice calls.
• Protocols used in this technique are complex and thus their
implementation cost is high.
• In the case of an overloaded network, the packet may get lost or
there might occur delay which causes the loss of critical information.
• On the receiver's side sorting of the packets sent by the sender is
required.

More Related Content

PPT
Basic principle and types Static Relays ppt
PDF
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
PPT
Managing Diversity at Workplace
PDF
Data Base Management System.pdf
PPTX
Image compression models
PPTX
Recommender systems for E-commerce
PPTX
Mobile communication
PPTX
Computer software
Basic principle and types Static Relays ppt
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Managing Diversity at Workplace
Data Base Management System.pdf
Image compression models
Recommender systems for E-commerce
Mobile communication
Computer software

What's hot (20)

PDF
Handoff in cellular systems
PPT
Multiple Access in wireless communication
PPTX
wireless sensor network
PPTX
Csma cd and csma-ca
PPT
Topic: ISDN (Integrated Services Digital Network)
PPTX
Wireless LAN
PPT
Introduction to switching & circuit switching
PPTX
Time multiplexed time switch
PPT
csma ca
PPTX
Channel Allocation.pptx
PPTX
Cellular system
PPTX
SPINS: Security Protocols for Sensor Networks
PPTX
Frequency Division Multiplexing Access (FDMA)
PPSX
Mac protocols of adhoc network
PPTX
Switches on Networking
PPT
Error detection and correction
DOCX
16 x 16 banyan switch
PPTX
WSN-IEEE 802.15.4 -MAC Protocol
PPTX
Unit 2 sdr architecture
Handoff in cellular systems
Multiple Access in wireless communication
wireless sensor network
Csma cd and csma-ca
Topic: ISDN (Integrated Services Digital Network)
Wireless LAN
Introduction to switching & circuit switching
Time multiplexed time switch
csma ca
Channel Allocation.pptx
Cellular system
SPINS: Security Protocols for Sensor Networks
Frequency Division Multiplexing Access (FDMA)
Mac protocols of adhoc network
Switches on Networking
Error detection and correction
16 x 16 banyan switch
WSN-IEEE 802.15.4 -MAC Protocol
Unit 2 sdr architecture
Ad

Similar to Switching types-circuit, packet and message (20)

PPTX
Switch networking
PPTX
Unit 1 Circuit and Packet Switching.pptx
PPTX
CSC 424 -Lecture 5n8 2022.pptx
PPTX
switchigng.pptx switching to a lab where a common lab
PDF
7Multiplexing.pdf
PPTX
Unit -1 Circuit Switch and Data gram Switch
PPTX
Computer network switches & their structures
PPTX
Routing and switching
PPT
switching.ppt
PPT
switchingtechniquesin computer trams.ppt
PPTX
Switching Techniques - Unit 3 notes aktu.pptx
PPT
switchingtechniques.ppt
PPT
SwitchingTechniques.ppt
PPT
Switching techniques
PPT
Switching Techniques, Circiut switching.ppt
PPT
Switching techniques
PPTX
unit 3 computer networks-switching,packet switching,internet protocol.
PPT
Chapter 4
PPTX
DATA COMMUNICATION BY BP. ...
PPTX
Topology,Switching and Routing
Switch networking
Unit 1 Circuit and Packet Switching.pptx
CSC 424 -Lecture 5n8 2022.pptx
switchigng.pptx switching to a lab where a common lab
7Multiplexing.pdf
Unit -1 Circuit Switch and Data gram Switch
Computer network switches & their structures
Routing and switching
switching.ppt
switchingtechniquesin computer trams.ppt
Switching Techniques - Unit 3 notes aktu.pptx
switchingtechniques.ppt
SwitchingTechniques.ppt
Switching techniques
Switching Techniques, Circiut switching.ppt
Switching techniques
unit 3 computer networks-switching,packet switching,internet protocol.
Chapter 4
DATA COMMUNICATION BY BP. ...
Topology,Switching and Routing
Ad

Recently uploaded (20)

PPTX
figurative-languagepowerpoint-150309132252-conversion-gate01.pptx
PPTX
STEEL- intro-1.pptxhejwjenwnwnenemwmwmwm
PPTX
5. MEASURE OF INTERIOR AND EXTERIOR- MATATAG CURRICULUM.pptx
DOCX
A PROPOSAL ON IoT climate sensor 2.docx
PPTX
Syllabus Computer Six class curriculum s
PPT
Hypersensitivity Namisha1111111111-WPS.ppt
PPTX
ATL_Arduino_Complete_Presentation_AI_Visuals.pptx
PDF
How NGOs Save Costs with Affordable IT Rentals
PPT
Lines and angles cbse class 9 math chemistry
PPTX
kvjhvhjvhjhjhjghjghjgjhgjhgjhgjhgjhgjhgjhgjh
PDF
Core Components of IoT, The elements need for IOT
PPTX
Sem-8 project ppt fortvfvmat uyyjhuj.pptx
PDF
Cableado de Controladores Logicos Programables
PDF
Chapter -24-By Dr Sajid Ali Ansari 2021.pdf
PPTX
sdn_based_controller_for_mobile_network_traffic_management1.pptx
PDF
Smarter Security: How Door Access Control Works with Alarms & CCTV
PDF
YKS Chrome Plated Brass Safety Valve Product Catalogue
PPTX
"Fundamentals of Digital Image Processing: A Visual Approach"
PPTX
PROGRAMMING-QUARTER-2-PYTHON.pptxnsnsndn
PPTX
1.pptxsadafqefeqfeqfeffeqfqeqfeqefqfeqfqeffqe
figurative-languagepowerpoint-150309132252-conversion-gate01.pptx
STEEL- intro-1.pptxhejwjenwnwnenemwmwmwm
5. MEASURE OF INTERIOR AND EXTERIOR- MATATAG CURRICULUM.pptx
A PROPOSAL ON IoT climate sensor 2.docx
Syllabus Computer Six class curriculum s
Hypersensitivity Namisha1111111111-WPS.ppt
ATL_Arduino_Complete_Presentation_AI_Visuals.pptx
How NGOs Save Costs with Affordable IT Rentals
Lines and angles cbse class 9 math chemistry
kvjhvhjvhjhjhjghjghjgjhgjhgjhgjhgjhgjhgjhgjh
Core Components of IoT, The elements need for IOT
Sem-8 project ppt fortvfvmat uyyjhuj.pptx
Cableado de Controladores Logicos Programables
Chapter -24-By Dr Sajid Ali Ansari 2021.pdf
sdn_based_controller_for_mobile_network_traffic_management1.pptx
Smarter Security: How Door Access Control Works with Alarms & CCTV
YKS Chrome Plated Brass Safety Valve Product Catalogue
"Fundamentals of Digital Image Processing: A Visual Approach"
PROGRAMMING-QUARTER-2-PYTHON.pptxnsnsndn
1.pptxsadafqefeqfeqfeffeqfqeqfeqefqfeqfqeffqe

Switching types-circuit, packet and message

  • 2. • A switched network basically consists of a series of interlinked nodes. These interlinked nodes are known as switches. • Thus in a switched network, connectivity is usually provided by making the use of switches. • Switches are those devices that are capable of creating temporary connections between two or more devices that are linked to them. • In this network, some switches are connected to the end system(like computer systems or telephones) while other switches are used for routing. • The network device switch is mainly a layer-2 device of the OSI model. • Packet forwarding is done by the switch on the basis of the MAC address. • Thus the Switch mainly transfers the data only to the device that has been addressed (means having proper mac address). Because verification of destination address is done by the switch in order to route the packet appropriately.
  • 4. • In the above figure; A, B, C, D, E, F, G, H are end systems or we can say communicating devices. And there are 4 switches labeled as 1,2,3,4. Also, you can see that each switch is connected to multiple links. • The concept of switching is needed for the effective utilization of the bandwidth. Also whenever two or more devices communicate with each other then there are many chances for the occurrence of the collision of data packets in the network; switching is the best solution for this problem.
  • 5. Methods of Switching • In order to decide the best route for data transmission, a switching technique is used. The switching techniques mainly connect the systems in such a way to make one-to-one communication easier. • Given below are three methods used for switching or we can say there are three switching techniques: • Circuit Switching • Packet Switching • Message Switching • On the basis of the above-given techniques, switched networks are broadly classified as follows:
  • 7. Advantages of Switched Networks • As switches help in creating collision domain for each connection in the networks. Thus there are fewer chances of frame collision. • There is an increase in the performance of networks by using switches. • There is an increase in the available bandwidth on the network by using switches. • The workload on the individual PC gets reduced by using switches in the network. • There is a direct connection of the switch with the workstation
  • 8. Disadvantages of Switched Networks • As we are using switches in the switched network, so the network becomes expensive because switches are expensive. • It is difficult to trace the connectivity issues in the network through a switch. • There are chances for the occurrence of trouble in broadcast traffic. • In order to handle multicast packets, proper design and configuration are needed.
  • 9. Circuit-Switched Networks • A network consists of a set of switches that are connected by the physical links commonly known as Circuit-Switched Network. • Whenever one device communicates with another device then a dedicated communication path is established between them over the network. • There is only a dedicated channel on each link used by each connection. Also, each link can be easily divided into n channels by using the TDM(Time Division Multiplexing)or FDM( Frequency Divison Multiplexing)technique. • The Circuit Switching technique is mainly used in the public telephone network for voice communication as well as for data communication.
  • 10. • Data communication is less efficient than voice communication. • The Circuit switching technique mainly takes place at the physical layer. • In Circuit-switched networks, the data transfer mode mainly involves a dedicated end-to-end connection. Until the end of the communication, this dedicated path is maintained. After the communication is over the link is released.
  • 12. Phases in Circuit Switching • In order to transfer data using Circuit switching there is a need to establish a circuit(these circuits can either be permanent or temporary) so that data transfer can take place smoothly. Given below are three phases that are used in Circuit Switching for actual communication: • Setup Phase • Data Transfer Phase • Teardown Phase
  • 13. • 1.Setup Phase • It is the first phase of the Circuit switching technique and in this, there is an establishment of the circuit that simply means a dedicated link is established between the sender and the receiver with the help of several switching centers or nodes. • 2.Data Transfer Phase • After the establishment of the circuit, the connection is established which means that data transfer can take place between sender and receiver. • 3.Teardown Phase • On the completion of communication between the sender and receiver the circuit disconnects. In order to disconnect a signal is sent either by the sender or receiver
  • 15. • One of the best examples of Circuit switching is a telephone. Suppose there are two persons Person A and Person B; they both want to communicate with each other and located at a distance far from each other. • Person A makes a call to Person B this phase is the setup phase of circuit switching. After the establishment of the connection and after call pick up by Person B; they both can communicate with each other. This is the data transfer phase of Circuit switching • Once the communication is complete one of them can cut the call or break the connection. This is a teardown phase.
  • 16. • Circuit Switching can be further classified into two: • 1. Space-Division Switching • 2. Time-Division Switching • Let us cover the above given two types one by one. • 1. Space-Division Switching • Space-Division switching is a technique of Circuit Switching where the paths in the circuits are separated from each other spatially. • This technology is used for analog as well as digital networks. • In this following switches are used for the connection: • Crossbar Switch: This switch contains n input lines and n output lines and it has n2 intersection points • Multistage Switch: The Multistage is made just by first splitting the crossbar switches into smaller units and then interconnecting them. In case of failure of one path, there is the possibility of another path. • The speed of Space Division switching is high and it has a high capacity. • Space division switching contains nonblocking switches.
  • 17. • Time-Division Switching • It is a digital switching technique. There is no need for crosspoints in this switching. In Time-Division Switching, the incoming signals, as well as outgoing signals, are received and re-transmitted in a different time slot. • One of the main differences between space-division multiplexing and time- division multiplexing is the sharing of Crosspoints. There are no Crosspoints shared in space division switching, whereas crosspoints can be shared for shorter periods in time-division multiplexing. • The Time-Division switches are used by modern devices. • In this technique, there is the use of time-division multiplexing inside the switch and it is known as Time Slot Interchange(TSI).
  • 18. Examples of Circuit Switched Networks • Given below are some examples of Circuit-Switched Networks: • Public Switched Telephone Network(PSTN) • Optical Mesh Network • ISDN B-channel • Circuit-Switched Data(CSD) and High-speed Circuit-Switched Data(HSCSD) services in the cellular system like GSM
  • 19. Advantages of Circuit Switching • 1.Offers Dedicated Transmission • As there is a dedicated link between the sender and the receiver. Thus Circuit-Switched network provides a guarantee of dedicated transmission. • 2.No Delay in Transmission • There is a dedicated path between sender and receiver thus there are no chances for the delay. • 3. The Circuit Switching technique is best for long transmission because it facilitates a dedicated link between sender and receiver.
  • 20. Disadvantages of Circuit Switching • There are some drawbacks of Circuit Switching and these are as follows: • One of the main disadvantages of Circuit switching is that as there is a dedicated path between sender and receiver; thus this path is received for these two particular devices and cannot be used by any other device. • There is a need for more bandwidth as a dedicated path requires more bandwidth. • Utilization of resources is not done properly as resources are allocated to a connection for the entire duration and thus became unavailable for all other connections. • It becomes inefficient in the case if the connection is established between sender and receiver but there is no data transfer between them. • Sometimes it takes a long time to establish the connection between sender and receiver. • As there is a dedicated path between sender and receiver; thus, this technique is expensive.
  • 21. Message-Switched Networks • The Message-Switching Technique was mainly developed to act as an alternative to circuit switching, this was before packet switching was introduced. Basically, the message is a smaller unit. • In the Message-Switching technique, the communication between end users is done by sending and receiving the message, and this message includes the entire data to be shared. • In Message-Switching there is no dedicated path between the sender and receiver like circuit switching. • The sender and receiver are connected by way of several intermediate nodes which helps and ensures proper data transfer between them. • Message-Switched data networks are also known as hop-by-hop systems.
  • 22. Characteristics of Message Switching • Store and Forward • As we have already told you that the sender and the receiver are not directly connected to each other. Thus intermediate nodes between sender and receiver are, mainly responsible for transferring the message to the next node in the path. • Thus in order to transfer the message, intermediate nodes must have the storage capacity because any message will only be delivered if the next node and the link between them are available to connect otherwise this message will be stored indefinitely. • A store-and-forward switch thus forwards a message only if sufficient resources are available and the next node is ready to accept the data. The process continues till the data is delivered to the destination computer. Hence, it is called store-&-forward property. The store-and-forward property was earlier used in telegraph message switching centers.
  • 23. • Message delivery: In the Message Switching the entire information is compiled into a single message and then that message is transmitted from source to destination. To successfully reach its destination each message must contain the routing information in its header section.
  • 24. Advantages of Message Switching • In this Switching, data channels are shared among network devices. • There is Management of traffic in an efficient way by assigning priorities to the messages. • There is an improvement in efficiency as a single channel can now be used for transferring many messages. • There is a reduction in network traffic congestion because in this technique we are using store and forward property and also any switching node can store the messages till the availability of the network. • With the use of Message Switching, messages of unlimited size can be sent. • It requires less bandwidth while broadcasting the messages; thus it consumes less bandwidth than circuit switching. • In Message switching, if the next node or link is not available then the current node stores the message
  • 25. Disadvantages of Message Switching • For the whole network, message switching requires a large capacity. • This technique cannot be used for real-time applications because the storing of messages causes delay. • The message-switched networks are very slow in nature because the processing takes place in each and every node and thus it may result in poor performance.
  • 26. Packet Switching • Packet Switching is a technique of switching in which the message is usually divided into smaller pieces that are known as packets. • Every packet contains a header that contains the knowledge of the destination. With the help of this knowledge/information, these packets find the route. • A unique number is given to each packet in order to identify them at the receiving end. • One of the biggest examples of the Packet-switched network is the Internet. • The header of the Packet mainly comprises of two things: header and payload. • where the header mainly contains the routing information. • and the payload contains the data that is to be transferred. • This switching is also based on the store and forward method.
  • 27. • In the Packet Switched network, there is no resource reservation, and resources are allocated on demand. • As we know that each packet contains the information of source and destination in their headers. Thus all packets can independently travel in the network. • Packets related to the same file might take different paths and it mainly depends upon the availability of the path. These packets will be then re- assembled at the destination. It is the responsibility of the receiver node to re-arrange the received packet in order to get the original data. • The message of acknowledgment will be sent by the receiver if packets reach the receiver in the correct order. • In case of a missing packet or corrupted packet, the message will be sent by the receiver to the sender to resend the message.
  • 29. • Two different approaches used for Packet switching are as follows: • Datagram Packet Switching • Virtual Circuit Switching
  • 30. Datagram Packet Switching • In Datagram Switching, the packet is commonly known as a datagram. • Datagram Packet switching is also known as Connectionless Packet Switching. In this technique, each packet routed individually by network devices on the basis of the destination address that is contained within each packet. • Each packet is basically treated independently of all others. • Datagram packet switching is done at the network layer. • This is Connectionless packet switching because the packet switch does not keep the information about the connection state. • In the Datagram packet switching the path is not fixed. • Routing decisions are taken by the intermediate nodes in order to forward the packets. •
  • 31. • Thus all datagrams that belong to the same message may travel through different paths in order to reach their destination. • On the receiving node, all the packets are reassembled to get the message in the original form. • Due to lack of resources packets may also be lost or dropped. • In most of the protocols, it is the responsibility of the upper-layer protocol to reorder the datagrams or to ask for the lost datagrams before passing them on to the application.
  • 32. Virtual Circuit Switching • Virtual Circuit Switching is also known as Connection-Oriented Switching. This switching contains the characteristics of circuit switching as well as datagram packet switching. • In this type of packet switching the data-packets are first assembled and then sequentially numbered. Now they are ready to travel across a predefined route, sequentially. The information about the address is not required here, because all the data packets are sent in sequence. • In addition to the data transfer phase, there are setup and teardown phases. • The resource allocation is done during the setup phase like it is done in the circuit- switched network or it can be done on demand like in datagram networks. • The data is in the form of packets like the datagram network and also each packet carries the destination address in the header. • Like the circuit-switched network, all packets in the Virtual network follows the same path that is established during the connection. • This switching is normally implemented in the data link layer.
  • 33. Advantages of Packet Switching • More efficient utilization of bandwidth. • Latency in the transmission is minimum in packet switching. • This technique is cheaper to implement and thus it is cost-effective. • The same channel can be used by many users simultaneously. • As there are improved protocols, thus packet switching is used by many applications like Skype, WhatsApp, etc. • The fault tolerance in this technique is more in case of any link down because packets may follow different paths. • This technique is more reliable than other techniques because it can easily detect missing packets.
  • 34. Disadvantages of Packet Switching • This technique cannot be used by those applications that cannot afford more delays like applications of high-quality voice calls. • Protocols used in this technique are complex and thus their implementation cost is high. • In the case of an overloaded network, the packet may get lost or there might occur delay which causes the loss of critical information. • On the receiver's side sorting of the packets sent by the sender is required.