S10. How are bit errors detected in link vs network vs transport layer protocols? Flashcards

1
Q

What are bit errors?

A

Bit errors occur when bits of a data stream over a communication channel have been altered due to noise, interference, distortion or bit synchronization errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why is bit error detection important?

A

Bit error detection is crucial for ensuring data integrity during transmission.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How are bit errors detected at the link layer?

A

At the link layer, error detection is handled by frame-level error checking mechanisms like Cyclic Redundancy Check (CRC).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does CRC work?

A

When a frame is transmitted, the sender calculates a CRC value, a 32-bit number, based on the frame’s content and includes this value in the frame’s trailer. Upon receiving the frame, the receiver also calculates a CRC value and compares it to the one from the sender. If they match, the frame is considered error-free, otherwise the frame is discarded.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is CRC?

A

Cyclic Redundancy Check, a bit-error detection mechanism used by link-layer protocols like Ethernet and Wi-Fi

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What happens when a bit error is detected at the link layer?

A

The frame is discarded

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How are bit errors detected at the network layer?

A

IPv4 includes a header checksum field. The checksum is calculated by the sender, based only on the packet’s header and not its payload. The checksum is then verified by each router along the packet’s path and the final destination. If the checksum does not match, the packet is considered corrupt and is typically discarded. IPv6 does not include a header checksum, instead relying on other layers’ protocols to detect errors, which reduces overhead and improves network performance, as routers and other network devices don’t need to calculate checksums for each packet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does bit error detecting differ in IPv4 vs IPv6?

A

IPv4 includes a header checksum field, the checksum is then verified by each router along the packet’s path and at the final destination. IPv6 does not include a header checksum, instead relying on other layers’ protocols to detect errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How does IPv6 improve on IPv4 in terms of bit error detection?

A

It reduces overhead and improves network performance, as routers and other network devices don’t need to calculate checksums for each packet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How are bit errors detected at the transport layer?

A

TCP and UDP use checksums to verify data integrity. The checksum covers both headers and payload, and is calculated by the sender and verified by the receiver. If a mismatch is detected, the data will be discarded. TCP will then typically request a retransmission of the segment, ensuring reliable data delivery. UDP, on the other hand, does not guarantee retransmission, making it suitable for applications where speed is more critical than reliability.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How do TCP and UDP differ in their handling of bit errors?

A

TCP will then typically request a retransmission of corrupted segments, ensuring reliable data delivery. UDP, on the other hand, does not guarantee retransmission, making it suitable for applications where speed is more critical than reliability.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the benefits of UDP over TCP in terms of handling of bit errors?

A

UDP does not make the sender retransmit corrupt datagrams, making it suitable for applications where speed is more critical than reliability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly