L7. Describe 7 ”bad things” that can happen with a packet on the Internet. What are solutions to those problems? Flashcards
What are 7 bad things that can happen to a packet?
- Packet loss
- Packet corruption
- Packet reordering
- Packet duplication
- Packet fragmentation
- Packet delay
- Packet interception
What is packet loss?
When packets get dropped in transit
What causes packet loss?
Congestion, transmission errors, faulty hardware
What is the solution to packet loss?
Error Detection and Retransmission: Protocols like TCP use acknowledgments (ACKs) and timeouts to detect lost packets and trigger retransmission.
Quality of Service (QoS): Implementing QoS mechanisms to prioritize critical traffic can reduce packet loss during congestion.
Network Redundancy: Using redundant paths and failover mechanisms can mitigate packet loss caused by hardware failures.
What is packet corruption?
When data within a packet is altered due to transmission errors
What causes packet corruption?
Interference or faulty hardware
What is the solution to packet corruption?
Error Detection Codes: Implementing checksums or cyclic redundancy checks (CRC) to detect corrupted packets.
Error Correction: Techniques like Forward Error Correction (FEC) can allow the receiver to detect and correct some errors without needing retransmission.
Reliable Transmission Protocols: Protocols like TCP detect corrupted packets and request retransmission.
What is packet reordering?
When packets arrive out of order, which can cause issues with data integrity and processing
What causes packet reordering?
Different paths being taken through the network
What is the solution to packet reordering?
Sequence Numbers: Protocols like TCP use sequence numbers to reorder packets correctly at the receiver.
Buffering: The receiver can buffer out-of-order packets until missing packets arrive to ensure data is processed in the correct order.
What is packet duplication?
When the same packet is received multiple times
What causes packet duplication?
Network errors or retransmission mechanisms.
What is the solution to packet duplication?
Duplicate Detection: Protocols like TCP use sequence numbers and acknowledgments to detect and discard duplicate packets.
Network Configuration: Ensuring proper network configuration and reducing retransmission attempts can minimize packet duplication.
What is packet fragmentation?
When packets are divided into smaller pieces to accommodate smaller Maximum Transmission Unit (MTU) sizes on intermediate networks. Fragmentation can lead to inefficiencies and potential loss of fragments.
What causes packet fragmentation?
Packet size exceeding Maximum Transmission Unit (MTU) sizes on intermediate networks