Professional Documents
Culture Documents
Data Packets & Packet Switching
Data Packets & Packet Switching
&
PACKET SWITCHING
Data Packets
֍ A packet is a small segment of a larger message.
A hop number is added to the header of each packet, and this number is reduced by 1 every
time it leaves a router (Figure 2.6).
Sometimes it is possible for packets to get lost because they keep ‘bouncing’ around from router to router
and never actually reach their destination. Eventually the network would just grind to a halt as the
number of lost packets mount up, clogging up the system. To overcome this, a method called hopping is
used.
Hop number
Each packet has a maximum hop number to start with. Once a hop number reaches zero, and the packet
hasn’t reached its destination, then the packet is deleted when it reaches the next router. The missing
packets will then be flagged by the receiving computer and a request to re-send these packets will be
made.
Activity 2.1 Solution:
• Packet Switching transmits data across digital networks by breaking it down into blocks or packets for more
efficient transfer using various network devices. Each time one device sends a file to another, it breaks the
file down into packets so that it can determine the most efficient route for sending the data across the
network at that time. The network devices can then route the packets to the destination where the receiving
device reassembles them for use.
Activity 2.1 Solution:
a. A cyclic redundancy check (CRC) is an error-detecting code commonly used in digital networks
and storage devices to detect accidental changes to digital data. Blocks of data entering these
systems get a short check value attached, based on the remainder of a polynomial division of their
contents.
b. It will use cyclic redundancy check which will add all the 1 bits in the payload and store this value as the
hex number before it is sent. when the data arrives the computer recalculates the 1 bits. the computer
checks this value against the one sent in the payload. if the values match then no error occurred
otherwise the data is resent.
Activity 2.1 Solution:
a. Packet loss occurs when network congestion, hardware issues, software bugs, and a number of other
factors cause dropped packets during data transmission.
c. Each packet takes a different routre, So if anyway, any packet is intercepted, hacker still won’t have the whole message.
Data packets are able to find the destination without the use of a dedicated channel. Reduces lost data packets because packe
switching allows for resending of packets. More cost-effective since there is no need for a dedicated channel for voice or data
traffic.
Activity 2.3
F
T
F
T
F
F
T
F
T