Week 12: TCP & Congestion Control Flashcards

1
Q

TCP is a protocol on which layer?

A

Layer 3 - Transport

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

UDP is a protocol on which layer?

A

Layer 3 - Transport

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

List characteristics of UDP

A
  • Connectionless
  • Low header Overhead
  • No Flow, Error, or Congestion Control
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

True or False: In UDP, the source port number is used in demultiplexing

A

False, in UDP the source port number is not used in demultiplexing

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

List characteristics of TCP

A
  • Reliable
  • Connection-Oriented
  • High header overhead
  • Error, Flow, & Congestion Control
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

List some applications that are used with UDP

A
  • DNS
  • RIP
  • SNMP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

List some applications that are used with TCP

A
  • HTTP
  • SMTP
  • FTP
  • TELNET
  • POP3
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How many tuples is TCP specified by?

A

4 Tuples:

  • Source IP
  • Source Port
  • Destination IP
  • Destination Port
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a Stream Data Transfer?

A

A contiguous stream of bytes across the network with no indication of boundaries

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

What does a Stream Data Transfer do?

A
  • group bytes into segments

- Sequence & Acknowledgement numbers guarantees reliable delivery

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

What is the Sequence number for a segment?

A

the Byte-stream number for the first byte in the segment

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

What is the Acknowledgement number for a segment?

A

The sequence number of the next byte expected from the other side

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

True or False: In TCP Flow Control, the Receiver doesn’t control the sender

A

False, in TCP flow control, the Receiver controls the sender so the receiver’s buffer isn’t overflowed by too much too quickly

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

When does congestion in TCP occur?

A

When total arrival rate from all packet flows exceeds R over a sustained period of time

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

What occurs when TCP congestion occurs?

A

Buffers at multiplexer will fill & packets will be lost

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

In TCP, what maintains the Congestion Window?

A

The sender (determines how many bytes can be sent out at any time)

17
Q

True or False: cwnd is a static function of network congestion

A

False, cwnd is a dynamic function of perceived network congestion

18
Q

How does the TCP Congestion algorithm change the congestion window dynamically?

A
  • Slow Start
  • Congestion Avoidance
  • Fast Retransmit
19
Q

What happens in Slow Start TCP Congestion Control?

A

Congestion Window size is increased by one segment per ACK received

Congestion window increases exponentially until first loss event

20
Q

What happens in Congestion Avoidance for TCP Congestion Control?

A

Algorithm progressively sets a congestion threshold

21
Q

What happens in Fast Retransmit for TCP Congestion Control?

A

When three duplicate ACK’s arrive before timeout expires, retransmit lost segment immediately