Error Control Flashcards

1
Q

What are the four types of packet errors and what causes them?

A

Loss - due to uncorrectable bit errors/overflow.
Duplication - same packet received twice.
Insertion - Packet from another convosation received.
Reordering - packets receieved in the wrong order.

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

How many sequence numbers are needed?

A

R(T + MPL + A + MPL) = R(T + 2MPL + A)
R - Transmission Rate
T - Time before sender gives up on resending
MPL - Maximum packet lifetime
A - time for which receiver daddles before sending ACK.

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

What is the packet insertion problem? What are some solutions?

A

A host can terminate its connection and subsequently create a new one with the same (source IP, dest. IP, source port, dest. port) tuple.

Some solutions are:

  • Per-connection incarnation number.
  • Reassign port numbers only after 1MPL.
  • Assign port numbers serially.
  • Assign initial sequence numbers serially.

But all the solutions listed so far require stable storage.

A better solution is to wait 1MPL on startup, so that all previous packets expire.

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

Why is a three-way handshake used?

A

This protects against delayed SYNs.

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

How can we set the timeout value?

A

Exponentially sample the RTT. Even better is to sample the error as well.

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

What is Go-Back-N retransmission?

A

On a timeout, we resumbit the entire error control window. The receiver only accepts in order packets.

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

What is selective retransmission?

A

Each ack has a bitmap of received packets, so that the sender can deduce which packets are lost.

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

What is fast retransmit?

A

The ack contains the sequence number of the last packet that was recieved in order.

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

What is SMART?

A

SMART sends the packet number causing the ACK as well as the last packet receieved in order.

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