Switching
Switching
Switching
Topic – Switching
Model Institute of
Engineering & Technology
Course Outcome 2-Delivery Plan
Course Topics Blooms Taxonomy
Outcomes
• Switching Techniques
• Circuit Switching
• Packet Switching
• Virtual Datagram
The functions of the physical layer are :
1.Bit synchronization: The physical layer provides the synchronization of the bits by
providing a clock. This clock controls both sender and receiver thus providing
synchronization at bit level.
2.Bit rate control: The Physical layer also defines the transmission rate i.e. the number of
bits sent per second.
3.Physical topologies: Physical layer specifies the way in which the different,
devices/nodes are arranged in a network i.e. bus, star or mesh topolgy.
4. Transmission mode: Physical layer also defines the way in which the data flows between
the two connected devices. The various transmission modes possible are: Simplex, half-
duplex and full-duplex.
* Hub, Repeater, Modem, Cables are Physical Layer devices.
** Network Layer, Data Link Layer and Physical Layer are also known as Lower
Layers or Hardware Layers.
A network consists of many switching devices. In order to connect multiple devices, one
solution could be to have a point to point connection in between pair of devices. But this
increases the number of connection. The other solution could be to have a central device and
connect every device to each other via the central device which is generally known as Star
Topology. Both these methods are wasteful and impractical for very large network. The
other topology also can not be used at this stage. Hence a better solution for this situation is
SWITCHING. A switched network is made up of a series of interconnected nodes called
switches.
• In large networks, there may be more than one paths for transmitting data
from sender to receiver. Selecting a path that data must take out of the available
options is called switching. Switching technique is used to connect the systems
for making one-to-one communication.
Switched Communications Networks
Long distance transmission between stations (called “end devices”) is typically done over a
network of switching nodes.
Switching nodes do not concern with content of data. Their purpose is to provide a switching
facility that will move the data from node to node until they reach their destination (the end
device).
In a switched communications network, data entering the network from a station are routed to the
destination by being switched from node to node.
Types of Switching Techniques
There are basically three types of switching methods are made available. Out of three
methods, circuit switching and packet switching are commonly used but the message switching has
been opposed out in the general communication procedure but is still used in the networking
application.
1) Circuit Switching
2) Packet Switching
3) Message Switching
Classification Of Switching Techniques
Circuit Switching
• Circuit switching:
• The path is a connected sequence of links between network nodes. On each physical
link, a logical channel is dedicated to the connection.
• Connection establishment
• Data transfer
• The switches must know how to find the route to the destination and how to allocate
bandwidth (channel) to establish a connection.
• Circuit Switching is generally used in the public networks. It come into existence for handling voice
traffic in addition to digital data. How ever digital data handling by the use of circuit switching methods
are proved to be inefficient. The network for Circuit Switching is shown in figure.
• Here the network connection allows the electrical current and the associated voice with it to flow in
between the two respective users. The end to end communication was established during the duration
of call.
• In circuit switching the routing decision is made when the path is set up across the given network.
After the link has been sets in between the sender and the receiver then the information is forwarded
continuously over the provided link.
• In Circuit Switching a dedicated link/path is established across the sender and the receiver which is
maintained for the entire duration of conversation.
Circuit Switching Properties
• Inefficiency
• Delay
• Low data delay: after the circuit establishment, information is transmitted at a fixed data rate
with no delay other than the propagation delay. The delay at each node is negligible.
• Developed for voice traffic (public telephone network) but can also applied to data traffic.
• For voice connections, the resulting circuit will enjoy a high percentage of utilization
because most of the time one party or the other is talking.
• But how about data connections?
Message Switching
• Each intermediate device receive the message and store it until the next device is ready to
receive it and then this message is forwarded to the next device. For this reason a message
switching network is sometimes called as Store and Forward Switching.
• Message switches can be programmed with the information about the most efficient route as
well as information regarding to the near switches that can be used for forwarding the present
message to their required destination.
• The storing and Forwarding introduces the concept of delay. For this reasons this switching is
not recommended for real time applications like voice and video.
Packet Switching Principles
• For data transmission, much of the time the connection is idle (say, web
browsing)
• Data rate is fixed
• Both ends must operate at the same rate during the entire period of
connection
• For a certain link in the network, the link goes down during transmission the remaining
packet can be sent through the another route.
• Data are transmitted in short packets
Longer messages are split into series of packets
Each packet contains a portion of user data plus some control info
• Control info contains at least
Routing (addressing) info, so as to be routed to the intended destination
•When traversing the network switches, routers or the other network nodes then the packets are
buffered in the queue, resulting in variable delay and throughput depending on the network’s
capacity and the traffic load on network.
•Packet switching contrasts with another principal networking paradigm, circuit switching, a
method which sets up a limited number of dedicated connections of constant bit rate and constant
delay between nodes for exclusive use during the communication session.
Packet Switching Technique
• How will the network handle this stream of packets as it attempts to route them through the
network and deliver them to the intended destination?
• Two approaches
• Datagram approach
• In virtual circuit, a preplanned route is established before any packets are sent, then all packets
follow the same route.
• Each packet contains a virtual circuit identifier instead of destination address, and each node on
the preestablished route knows where to forward such packets.
• The node need not make a routing decision for each packet.
Virtual Circuit
Datagram
No call setup phase
Good for bursty data, such as Web applications
More flexible
If a node fails, packets may find an alternate route
Routing can be used to avoid congested parts of the network
Virtual circuits
Network can provide sequencing (packets arrive at the same order) and error control (retransmission between
two nodes).
Packets are forwarded more quickly
Based on the virtual circuit identifier
No routing decisions to make
Less reliable
If a node fails, all virtual circuits that pass through that node fail.
Thank You