Lesson 05
Lesson 05
Why is it All?
❖ 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.
● A switch doesn’t just broadcast data to every device in the network. Instead, it acts
intelligently, only sending data to the specific device that’s supposed to receive it. This
makes data transfer faster and more efficient.
● Each device connected to a switch has a unique hardware identifier called a MAC address.
The switch builds a table of these addresses to know which port each device is connected.
1. Circuit Switching: Establishes a dedicated communication path between two devices for
the entire duration of the transmission.(Traditional telephone networks.)
2. Packet Switching:Data is divided into packets, each sent independently through the
network without a dedicated path.
3. Message Switching: Entire messages are sent to intermediate devices, where they are
stored and then forwarded to the next destination.
Circuit Switching
● Circuit switching is a method of communication where a dedicated communication
path is established between the source node (sender) and the destination node
(receiver) for the entire duration of the connection.
● A circuit-switched network is excellent for data that needs a constant link from
end-to-end.
● For example real-time video.
Characteristics:
❖ Predefined Path
❖ Dedicated Connection(no other connections can
use this path until the communication is
complete.)
Packet Switching
● Data is divided into smaller units called packets before transmission. Unlike circuit switching,
there is no dedicated path established for the entire duration of the communication.
● The packets can be routed, combined or fragmented, as required to get them to their
eventual destination.
● On the receiving end, the process is reversed—the data is read from the packets and
re-assembled into the form of the original data.
● Each packet is sent with a ‘header address’. This tells it where its final destination is, so
it knows where to go.
● The header address also describes the sequence for reassembly at the destination
computer so that the packets are put back into the correct order.
● One packet also contains details of how many packets should be arriving so that the
recipient computer knows if one packet has failed to turn up. If a packet fails to arrive,
the recipient computer sends a message back to the computer which originally sent
the data, asking for the missing packet to be resent.