🎓 BookMCQ
← Back to 24. Transport Layer Protocols

📝 SCTP services multistream multihoming (14 MCQs)

Independent Streams and Multiple Endpoint Addresses

SCTP is a message-oriented transport protocol that provides reliable delivery within an association. Multistreaming allows multiple independently ordered message sequences to share that association, while multihoming allows an endpoint to advertise multiple IP addresses. These features address application-level blocking and path-failure risks while retaining transport-layer port addressing, checksums, congestion control, and acknowledgments. It defines the boundary between application processes and packet delivery.

Reducing Cross-Stream Blocking and Path Vulnerability

A single ordered stream can delay unrelated messages behind one missing item. Multistreaming separates ordering by stream so a gap in one stream need not block delivery on another. A single-address endpoint can also become unreachable after a path failure; multihoming supplies alternate transport addresses for reachability and failover. These design requirements determine the protocol's state and overhead.

Stream Selection and Path Monitoring

The application assigns each message to a stream identifier, and SCTP uses stream sequence numbers for ordered delivery within that stream. TSNs independently track DATA chunks for association-wide reliability. With multiple peer addresses, SCTP selects a primary destination and monitors paths with heartbeat mechanisms; failures can cause retransmission over an alternate path.

One Association Survives a Primary-Path Failure

Suppose two SCTP endpoints each advertise two IP addresses. They establish one association and use one address pair as the primary path. If heartbeats indicate that the primary destination is unreachable, SCTP can retransmit outstanding data using an alternate destination address, preserving association state if the alternate path works. This example makes the sequence and resulting decision explicit.

Resilience Benefits and Practical Limits

Multistreaming improves application responsiveness when messages are logically independent, and multihoming can improve availability after path failure. Neither feature guarantees simultaneous path bandwidth or eliminates all blocking: messages within a stream remain ordered, and congestion control is maintained per destination path. Applications must still handle association failure and delivery semantics.

Clarifying SCTP Stream and Path Behaviour

'Each SCTP stream has its own network connection' is false: streams share one association. 'Multihoming automatically load-balances all packets' is false: a primary path is generally used unless other behaviour is selected. 'A loss in one stream cannot affect association traffic' is too broad: transport recovery and congestion state remain shared or coordinated.

Exam Focus: Separate Stream Ordering from Path Redundancy

Explain that multistreaming concerns independent message ordering, whereas multihoming concerns multiple transport addresses. Trace what happens when one stream has a gap and another has complete messages. Describe primary-path selection, heartbeat failure detection, and alternate-path retransmission without assuming all paths are active simultaneously. Use the assumptions stated in each question when calculating.

Key Terms for SCTP Services: Multistreaming and Multihoming

  • Multistreaming - Independent message sequences in one association.
  • Multihoming - Multiple IP addresses per endpoint.
  • Primary path - Preferred destination transport address.
  • Heartbeat - Tests reachability of a peer path.
  • Stream ID - Identifies an SCTP stream.
  • Failover - Switches communication to an alternate path.
2
Easy
6
Medium
6
Hard

📝 All SCTP services multistream multihoming MCQs

Q1. In the Stop-and-Wait protocol, what is the size of the send window?

A.0
B.1 ✅
C.2
D.Unlimited
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: The send window in Stop-and-Wait can hold only one unacknowledged packet at a time, so its size is 1. This limitation forces the sender to wait for an acknowledgment before transmitting the next packet, simplifying flow control but reducing throughput compared to sliding‑window protocols.

Q2. When packet 1 is lost and the receiver sends ACK 1 (ackNo = Sf) after receiving packets 2 and 3, what should the sender do?

A.Retransmit packet 1 immediately
B.Ignore the ACK because ackNo is not greater than Sf ✅
C.Increase the send window size
D.Terminate the connection
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Because the acknowledgment number equals the sender’s next expected sequence (Sf) and does not indicate progress, the ACK provides no new information. The sender therefore discards it and relies on the timeout mechanism to trigger retransmission of the missing packet.

Q3. If the timeout expires after the loss of packet 1, which set of packets will be retransmitted by the sender in a Go‑Back‑N scheme?

A.Only packet 1
B.Packets 1 and 2
C.Packets 1, 2, and 3 ✅
D.All packets sent so far
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: Go‑Back‑N requires the sender to resend the lost packet and all subsequent packets that were sent after it, regardless of whether they were received. Hence, after the timeout, packets 1, 2, and 3 are retransmitted to ensure the receiver can obtain a contiguous sequence.

Q4. Suppose packets 2 and 3 are received out of order and discarded. Which logical inference explains why the receiver cannot acknowledge them?

A.The receiver’s buffer is full
B.The receiver only acknowledges the highest in‑order sequence ✅
C.The network uses selective acknowledgment
D.The sender disabled cumulative ACKs
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: The receiver employs cumulative acknowledgment: it acknowledges only up to the last correctly received packet in order. Since packet 1 is missing, the highest in‑order sequence is 0, so packets 2 and 3 cannot be acknowledged until packet 1 arrives.

Q5. Compare Go‑Back‑N and Selective‑Repeat regarding efficiency when the loss probability is high. Which statement is most accurate?

A.Go‑Back‑N wastes bandwidth by retransmitting correctly received packets, while Selective‑Repeat only retransmits missing ones ✅
B.Both protocols retransmit the same number of packets
C.Selective‑Repeat always uses a larger window, making it slower
D.Go‑Back‑N never discards out‑of‑order packets, improving efficiency
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: When loss rates are high, Go‑Back‑N’s strategy of discarding out‑of‑order packets forces the sender to resend many packets that the receiver may already have, wasting bandwidth. Selective‑Repeat buffers out‑of‑order packets and retransmits only the lost ones, giving superior efficiency.

Q6. How does increasing the send window size (m) affect throughput in a Go‑Back‑N protocol over a high‑delay link?

A.Throughput decreases because more packets may be lost
B.Throughput remains unchanged because loss dominates
C.Throughput increases up to the point where the pipeline fills the bandwidth‑delay product ✅
D.Throughput is independent of m in Go‑Back‑N
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: A larger window allows more packets to be in flight before waiting for ACKs, which better utilizes the available bandwidth on high‑delay paths. The throughput grows until the window size matches the bandwidth‑delay product; beyond that, additional packets do not improve performance.

Q7. In Go‑Back‑N, sequence numbers are computed modulo 2m2^m. If m=2m = 2, what is the next sequence number after 33?

A.0 ✅
B.1
C.2
D.3
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: With m=2m = 2, the sequence space contains 22=42^2 = 4 numbers: 0, 1, 2, 3. Arithmetic modulo 4 means that after the highest number 3, the count wraps around to 0, so the next sequence number is 0.

Q8. Which principle explains why SCTP uses cumulative ACKs rather than individual ACKs for every packet?

A.Minimizing header overhead ✅
B.Ensuring strict ordering of data
C.Reducing the chance of ACK loss
D.Providing immediate feedback for each packet
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: Cumulative ACKs acknowledge the highest in‑order sequence received, allowing a single acknowledgment to cover many packets. This reduces the number of ACK packets transmitted, saving bandwidth and decreasing processing overhead compared with sending an individual ACK for every data segment.

Q9. If a designer wants to reduce unnecessary retransmissions in Go‑Back‑N without adopting full Selective‑Repeat, which modification is most effective?

A.Introduce selective ACKs that report missing sequence numbers ✅
B.Increase the timeout interval dramatically
C.Disable the retransmission timer after the first loss
D.Limit the send window to size 1
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: Adding selective ACKs (SACKs) lets the receiver inform the sender exactly which packets were missed, allowing the sender to retransmit only those gaps. This hybrid approach retains Go‑Back‑N’s simplicity while mitigating its primary inefficiency of resending correctly received packets.

Q10. How does the timer mechanism interact with packet loss to trigger retransmission in Go‑Back‑N?

A.The timer starts only after the first packet is sent
B.The timer is reset after every ACK, and expires if an expected ACK does not arrive, causing retransmission ✅
C.Timers are irrelevant because retransmission is driven solely by duplicate ACKs
D.Each packet has its own independent timer
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: In Go‑Back‑N, a single retransmission timer is started when the first unacknowledged packet is sent. Each time a new cumulative ACK arrives, the timer is restarted. If the timer expires before the expected ACK is received, the sender assumes loss and retransmits the outstanding packets.

Q11. Assume packets 0‑4 are sent, packet 2 is lost, and the receiver acknowledges up to packet 1. After a timeout, which sequence of packets will the sender transmit next?

A.0, 1, 2, 3, 4
B.2, 3, 4 ✅
C.3, 4
D.Only packet 2
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: The sender has already received ACKs for packets 0 and 1, so its next expected sequence (Sf) is 2. After the timeout, Go‑Back‑N dictates retransmission of the missing packet 2 and all subsequent packets that were sent after it, i.e., packets 2, 3, and 4.

Q12. What is the primary difference in state variables maintained by the receiver in Go‑Back‑N versus Stop‑and‑Wait?

A.Go‑Back‑N tracks multiple out‑of‑order packets, Stop‑and‑Wait tracks none
B.Go‑Back‑N maintains only one expected sequence number, Stop‑and‑Wait also maintains a single expected number
C.Go‑Back‑N requires a buffer for out‑of‑order packets, Stop‑and‑Wait does not ✅
D.Both protocols maintain identical state variables
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: Go‑Back‑N’s receiver discards any out‑of‑order packets and therefore does not need to buffer them, keeping only the next expected sequence number. In contrast, Stop‑and‑Wait, being a special case of Go‑Back‑N with window 1, also maintains a single expected number but does not involve buffering either; the key distinction is the potential for buffering in Selective‑Repeat, not in Go‑Back‑N.

Q13. If the sequence number space is defined by m=2m = 2 (window size 3) and packet 3 is lost, what behavior does the receiver exhibit when packet 4 arrives?

A.It acknowledges packet 4 and discards packet 3
B.It discards packet 4 and sends cumulative ACK for the last in‑order packet ✅
C.It buffers packet 4 for later delivery
D.It sends a selective ACK indicating the missing packet
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: With a window of 3, the receiver expects packets 0‑2 in order. When packet 3 is lost and packet 4 arrives out of order, the receiver discards packet 4 (since it cannot be delivered) and sends a cumulative ACK for the highest contiguous sequence received, which is the last correctly received packet before the gap.

Q14. When evaluating the trade‑off between buffering out‑of‑order packets (Selective‑Repeat) and discarding them (Go‑Back‑N), which factor most strongly favors Go‑Back‑N?

A.Very low packet‑loss environments
B.Highly variable round‑trip times
C.Large receiver memory constraints ✅
D.Need for strict in‑order delivery
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: Go‑Back‑N avoids the need to store out‑of‑order packets, making it attractive when the receiver has limited memory resources. While Selective‑Repeat improves efficiency in lossy networks, it requires a buffer for potentially many out‑of‑order segments, which can be prohibitive in constrained devices.

🔗 Related Topics (MCQs)