Switch
Switch
A switch is a multiport bridge with a buffer and a design that can boost its efficiency(a
large number of ports imply less traffic) and performance. A switch is a data link layer
device. The switch can perform error checking before forwarding data, which makes it
very efficient as it does not forward packets that have errors and forward good packets
selectively to the correct port only. In other words, the switch divides the collision
domain of hosts, but the broadcast domain remains the same.
Types of Switch
Gateway
A gateway, as the name suggests, is a passage to connect two networks that may work
upon different networking models. They work as messenger agents that take data from
one system, interpret it, and transfer it to another system. Gateways are also called
protocol converters and can operate at any network layer. Gateways are generally more
complex than switches or routers.
Modems
Modems is also known as modulator/demodulator is a network device that is used to
convert digital signal into analog signal of different frequencies and transmits these signal
to a modem at the receiving location. These converted signals can be transmitted over the
cable systems, telephone lines, and other communication mediums. A modem is also
used to convert analog signal back into digital signal. Modems are generally used to
access internet by customers of an Internet Service Provider (ISP).
Types of Modems
What is Multiplexing?
Multiplexing is a technique used to combine and send the multiple data streams over a
single medium. The process of combining the data streams is known as multiplexing and
hardware used for multiplexing is known as a multiplexer.
Why Multiplexing?
○ The transmission medium is used to send the signal from sender to receiver. The
medium can only have one signal at a time.
○ If there are multiple signals to share one medium, then the medium must be
divided in such a way that each signal is given some portion of the available
bandwidth. For example: If there are 10 signals and bandwidth of medium is100
units, then the 10 unit is shared by each signal.
○ When multiple signals share the common medium, there is a possibility of
collision. Multiplexing concept is used to avoid such collision.
○ Transmission services are very expensive.
History of Multiplexing
○ Multiplexing technique is widely used in telecommunications in which several
telephone calls are carried through a single wire.
○ Multiplexing originated in telegraphy in the early 1870s and is now widely used in
communication.
○ George Owen Squier developed the telephone carrier multiplexing in 1910.
Concept of Multiplexing
○ The 'n' input lines are transmitted through a multiplexer and multiplexer combines
the signals to form a composite signal.
○ The composite signal is passed through a Demultiplexer and demultiplexer
separates a signal to component signals and transfers them to their respective
destinations.
Advantages of Multiplexing:
○ More than one signal can be sent over a single medium.
○ The bandwidth of a medium can be utilized effectively.
Multiplexing Techniques
Multiplexing techniques can be classified as:
Advantages Of FDM:
Disadvantages Of FDM:
Applications Of FDM:
○ Synchronous TDM
○ Asynchronous TDM
Synchronous TDM
○ A Synchronous TDM is a technique in which time slot is preassigned to every
device.
○ In Synchronous TDM, each device is given some time slot irrespective of the fact
that the device contains the data or not.
○ If the device does not have any data, then the slot will remain empty.
○ In Synchronous TDM, signals are sent in the form of frames. Time slots are
organized in the form of frames. If a device does not have data for a particular
time slot, then the empty slot will be transmitted.
○ The most popular Synchronous TDM are T-1 multiplexing, ISDN multiplexing,
and SONET multiplexing.
○ If there are n devices, then there are n slots.
○ The capacity of the channel is not fully utilized as the empty slots are also
transmitted which is having no data. In the above figure, the first frame is
completely filled, but in the last two frames, some slots are empty. Therefore, we
can say that the capacity of the channel is not utilized efficiently.
○ The speed of the transmission medium should be greater than the total speed of the
input lines. An alternative approach to the Synchronous TDM is Asynchronous
Time Division Multiplexing.
Asynchronous TDM
○ An asynchronous TDM is also known as Statistical TDM.
○ An asynchronous TDM is a technique in which time slots are not fixed as in the
case of Synchronous TDM. Time slots are allocated to only those devices which
have the data to send. Therefore, we can say that Asynchronous Time Division
multiplexor transmits only the data from active workstations.
○ An asynchronous TDM technique dynamically allocates the time slots to the
devices.
○ In Asynchronous TDM, total speed of the input lines can be greater than the
capacity of the channel.
○ Asynchronous Time Division multiplexor accepts the incoming data streams and
creates a frame that contains only data with no empty slots.
○ In Asynchronous TDM, each slot contains an address part that identifies the
source of the data.
○ The difference between Asynchronous TDM and Synchronous TDM is that many
slots in Synchronous TDM are unutilized, but in Asynchronous TDM, slots are
fully utilized. This leads to the smaller transmission time and efficient utilization
of the capacity of the channel.
○ In Synchronous TDM, if there are n sending devices, then there are n time slots. In
Asynchronous TDM, if there are n sending devices, then there are m time slots
where m is less than n (m<n).
○ The number of slots in a frame depends on the statistical analysis of the number of
input lines.
In the above diagram, there are 4 devices, but only two devices are sending the data, i.e.,
A and C. Therefore, the data of A and C are only transmitted through the transmission
line.
The above figure shows that the data part contains the address to determine the source of
the data.