Unit12
Unit12
Unit12
Switching
A network is a set of connected devices. Whenever we have multiple devices, we have
the problem of how to connect them to make one-to-one communication possible.
One solution is to make a point-to-point connection between each pair of devices (a mesh
topology) or between a central device and every other device (a star topology).
These methods, however, are impractical and wasteful when applied to very large
networks.
The number and length of the links require too much infrastructure to be cost-efficient,
and the majority of those links would be idle most of the time.
A better solution is switching. A switched network consists of a series of interlinked
nodes, called switches. Switches are devices capable of creating temporary connections
between two or more devices linked to the switch.
In a switched network, some of these nodes are connected to the end systems (computers
or telephones, for example). Others are used only for routing. Figure shows a switched
network.
Advantages of Switching:
Switch increases the bandwidth of the network.
It reduces the workload on individual PCs as it sends the information to only that device
which has been addressed.
It increases the overall performance of the network by reducing the traffic on the
network.
There will be less frame collision as switch creates the collision domain for each
connection.
We can then divide today's networks into three broad categories: circuit switched
networks, packet-switched networks, and message-switched. Packetswitched
networks can further be divided into two subcategories-virtual-circuit networks and
datagram networks as shown in Figure.
CIRCUIT-SWITCHED NETWORKS
A circuit-switched network consists of a set of switches connected by physical links. A
connection between two stations is a dedicated path made of one or more links.
However, each connection uses only one dedicated channel on each link. Each link is
normally divided into n channels by using FDM or TDM.
In circuit switching, the resources need to be reserved during the setup phase; the
resources remain dedicated for the entire duration of data transfer until the teardown
phase
Three Phases
The actual communication in a circuit-switched network requires three phases:
connection setup, data transfer, and connection teardown.
Setup Phase
Before the two parties (or multiple parties in a conference call) can communicate, a
dedicated circuit (combination of channels in links) needs to be established.
Connection setup means creating dedicated channels between the switches.
For example, in Figure, when system A needs to connect to system M, it sends a setup
request that includes the address of system M, to switch I. Switch I finds a channel
between itself and switch IV that can be dedicated for this purpose. Switch I then sends
the request to switch IV, which finds a dedicated channel between itself and switch III.
Switch III informs system M of system A's intention at this time.
In the next step to making a connection, an acknowledgment from system M needs to be
sent in the opposite direction to system A.
Only after system A receives this acknowledgment is the connection established.
Teardown Phase
When one of the parties needs to disconnect, a signal is sent to each switch to release the
resources.
Efficiency:
It can be argued that circuit-switched networks are not as efficient as the other two types
of networks because resources are allocated during the entire duration of the connection.
These resources are unavailable to other connections.
Delay:
Although a circuit-switched network normally has low efficiency, the delay in this type
of network is minimal. During data transfer the data are not delayed at each switch; the
resources are allocated for the duration of the connection. The total delay is due to the
time needed to create the connection, transfer data, and disconnect the circuit.
Switching at the physical layer in the traditional telephone network uses the circuit-
switching approach.
MESSAGE SWITCHING
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 Message switching treats each message as an independent entity.
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 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.
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 In the above diagram, A and B are the sender and receiver respectively. 1 and 2 are the
nodes.
o Call request and call accept packets are used to establish a connection between the sender
and receiver.
o If the user wants to terminate the connection, a clear signal is sent for the termination.
Efficiency
Delay
There may be greater delay in a datagram network than in a virtual-circuit network.
Although there are no setup and teardown phases, each packet may experience a wait at a
switch before it is forwarded. In addition, since not all packets in a message necessarily
travel through the same switches, the delay is not uniform for the packets of a message.
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.
Node takes routing decisions to forward Node does not take any routing decision.
the packets.
Congestion cannot occur as all the Congestion can occur when the node is busy, and it
packets travel in different directions. does not allow other packets to pass through.
Multiplexing
It means multiple sources but one link. An alternative approach to it is Direct Point to
Point Connection but it has a number of problems as it requires an I/O port for each
device, a need line for each device, and also a large amount of wiring is needed if on
different floors.
But instead, if we use a multiplexer approach then all devices are connected to MUX
and one line to host, the link carries multiple channels of information and a number of
lines equal to the number of lines out.
Types of Multiplexers:
1. Frequency Division Multiplexing (FDM) –
The frequency spectrum is divided among the logical channels and each user has
exclusive access to his channel. It sends signals in several distinct frequency ranges
and carries multiple video channels on a single cable.
Each signal is modulated onto a different carrier frequency and carrier frequencies
are separated by guard bands.
The bandwidth of the transmission medium exceeds the required bandwidth of all
the signals. Usually, for frequency division multiplexing analog signaling is used in
order to transmit the signals, i.e. more susceptible to noise.
Assignment of non-overlapping frequency ranges to each user or signal on a
medium. Thus, all signals are transmitted at the same time, each using different
frequencies.
A multiplexer accepts inputs and assigns frequencies to each device. The
multiplexor is attached to the high-speed communication line.
A corresponding multiplexor or de-multiplexor is on the end of the high-speed line
and separates the multiplexed signals.
The frequency spectrum is divided up among the logical channels where each user
hangs onto a particular frequency.
The radio spectrum is an example of the media and the mechanism for extracting
information from the medium.
It is the same as FDM but applied to fibers, only the difference is that here the
operating frequencies are much higher actually they are in the optical range.
There’s great potential for fibers since the bandwidth is so huge. Fibers with
different energy bands are passed through a diffraction grating prism.
Combined on the long-distance link and then split at the destination. It has got high
reliability and very high capacity.
It multiplexes multiple data streams onto a single fiber optic line. Different
wavelength lasers (called lambdas) transmit multiple signals. Each signal carried on
the fiber can be transmitted at a different rate from the other signals.
Dense wavelength division multiplexing combines many (30, 40, 50, or more)
channels onto one fiber. DWDM channels have a very high capacity and it keeps on
improving.
Coarse wavelength division multiplexing combines only a few lambdas. In this,
channels are more widely spaced and are a cheaper version of DWDM.
Integrated Services Digital Network (ISDN)
These are a set of communication standards for simultaneous digital
transmission of voice, video, data, and other network services over the
traditional circuits of the public switched telephone network.
Before Integrated Services Digital Network (ISDN), the telephone system was
seen as a way to transmit voice, with some special services available for data.
The main feature of ISDN is that it can integrate speech and data on the same
lines, which were not available in the classic telephone system.
ISDN is a circuit-switched telephone network system, but it also provides
access to packet-switched networks that allows digital transmission of voice and
data. This results in potentially better voice or data quality than an analog phone
can provide. It provides a packet-switched connection for data in increments of
64 kilobit/s. It provided a maximum of 128 kbit/s bandwidth in both upstream
and downstream directions. A greater data rate was achieved through channel
bonding. Generally, ISDN B-channels of three or four BRIs (six to eight 64
kbit/s channels) are bonded.
In the context of the OSI model, ISDN is employed as the network in data-link
and physical layers but commonly ISDN is often limited to usage to Q.931 and
related protocols.
These protocols introduced in 1986 are a set of signaling protocols establishing
and breaking circuit-switched connections, and for advanced calling features for
the user. ISDN provides simultaneous voice, video, and text transmission
between individual desktop videoconferencing systems and group
videoconferencing systems.
ISDN Interfaces:
The following are the interfaces of ISDN:
There are two data-bearing channels (‘B’ channels) and one signaling channel
(‘D’ channel) in BRI to initiate connections.
The B channels operate at a maximum of 64 Kbps while the D channel operates
at a maximum of 16 Kbps.
The two channels are independent of each other. For example, one channel is
used as a TCP/IP connection to a location while the other channel is used to
send a fax to a remote location. In iSeries ISDN supports a basic rate interface
(BRl).
The basic rate interface (BRl) specifies a digital pipe consisting of two B
channels of 64 Kbps each and one D channel of 16 Kbps.
This equals a speed of 144 Kbps. In addition, the BRl service itself requires an
operating overhead of 48 Kbps. Therefore a digital pipe of 192 Kbps is
required.
3. Broadband-ISDN (B-ISDN) –
Narrowband ISDN has been designed to operate over the current communications
infrastructure, which is heavily dependent on the copper cable however B-ISDN relies
mainly on the evolution of fiber optics. According to CCITT B-ISDN is best described
as ‘a service requiring transmission channels capable of supporting rates greater than
the primary rate.
ISDN Services:
ISDN provides a fully integrated digital service to users. These services fall into 3
categories- bearer services, teleservices, and supplementary services.
1. Bearer Services –
Transfer of information (voice, data, and video) between users without the network
manipulating the content of that information is provided by the bearer network. There
is no need for the network to process the information and therefore does not change the
content. Bearer services belong to the first three layers of the OSI model. They are well
defined in the ISDN standard. They can be provided using circuit-switched, packet-
switched, frame-switched, or cell-switched networks.
2. Teleservices –
In this, the network may change or process the contents of the data. These services
correspond to layers 4-7 of the OSI model. Teleservices rely on the facilities of the
bearer services and are designed to accommodate complex user needs. The user need
not be aware of the details of the process. Teleservices include telephony, teletex,
telefax, videotext , telex, and teleconferencing. Though the ISDN defines these
servicesby name yet they have not yet become standards.
3. Supplementary Service –
Additional functionality to the bearer services and teleservices are provided by
supplementary services. Reverse charging, call waiting, and message handling are
examples of supplementary services which are all familiar with today’s telephone
company services.
Principle of ISDN:
The ISDN works based on the standards defined by ITU-T (formerly CCITT). The
Telecommunication Standardization Sector (ITU-T) coordinates standards for
telecommunications on behalf of the International Telecommunication Union (ITU)
and is based in Geneva, Switzerland. The various principles of ISDN as per ITU-T
recommendation are:
To support switched and non-switched applications
Variety of configurations
Advantages of ISDN:
ISDN channels have a reliable connection.
ISDN is used to facilitate the user with multiple digital channels.
It has faster data transfer rate.
Disadvantages of ISDN:
ISDN lines costlier than the other telephone system.
It requires specialized digital devices.
It is less flexible.