01100110
01100110
Let’s go through each answer and explain the reasoning behind it so you
understand why we’re doing what we’re doing—not just the final result.
🕒 1. RTT Estimation
Q: Estimated RTT = 120 ms, Sample RTT = 150 ms, α = 0.25. What’s the new RTT?
📘 Explanation:
We’re using Exponential Weighted Moving Average (EWMA) to smooth out RTT fluctuations.
The formula is:
So:
📌 Why?
This helps TCP gradually adjust RTT rather than overreacting to spikes.
We calculate the RTT for each segment by subtracting Sent Time from ACK Received Time.
1 150
2 124
3 165
4 178
5 153
📘 For Segment 2:
=0.65×150+0.35×124=140.9 ms= 0.65 \times 150 + 0.35 \times 124 = 140.9 \text{ ms}
📦 3. MSS Calculation
Given:
a. Effective MSS?
🚀 4. Propagation Delay
📌 Why?
Propagation delay is only about distance and speed—nothing to do with file size.
💾 5. Transmission Delay
📌 Why?
This is how long it takes to push all bits onto the wire—not how long they take to reach the
other end.
i. GET requests
Two GETs seen in the capture = \boxed{2}
HTTP/
∗StatusCodes∗∗−∗∗100∗∗:Continuesending(notanerror)
1.1⇒Allows∗∗persistentconnections∗∗(reusethesameTCPconnectionformultiplerequests)iii.∗
−∗∗200∗∗:Success−∗∗404∗∗:Pagenotfoundiv.∗∗ServerIPAddress∗∗\[128.119.245.12\
boxed{HTTP/1.1} \Rightarrow Allows **persistent connections** (reuse the same TCP
connection for multiple requests) iii. **Status Codes** - **100**: Continue sending (not an
error) - **200**: Success - **404**: Page not found iv. **Server IP Address** \[ \
boxed{128.119.245.12}
i. IP Addresses:
Source = 172.19.2.146
Destination = 8.8.8.8 (Google DNS)
Base: 512
Shows how much data the receiver can handle without ACK.
iii. Flags:
📌 Why?
Flags are used to manage TCP’s stateful connection lifecycle.
🌐 8. DNS Response
i. Port Numbers:
Port 63487 → Random high port from the client (used to match the response to the
request)
ii. DNS Answer: The client asked for the IP of gaia.cs.umass.edu, and the server replied:
128.119.245.12\boxed{128.119.245.12}
📌 Why?
This is how domain names are resolved to IPs using DNS.
Would you like me to prepare this in a document format or slide deck too?