



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




0.5 each and round-up (3 pts total) Throughput, delay, loss, cost, mobility, robustness, and secrecy
0.5 each and round-up (4 pts total) Message formatting, error detection and recovery, addressing, routing, flow control, system management, security, and QoS
0.5 each and round-up (3 pts total) A protocol is a complete set of rules regarding information exchange between same level layers between sites. An interface is a complete set of rules regarding information exchange between adjacent layers in a single site.
0.5 each and round-up (3 pts total) +------------------+ | Application | 7 – Provides access to applications +------------------+ | Presentation | 6 – Provides data independence +------------------+ | Session | 5 – Manages end-to-end connections +------------------+ | Transport | 4 – Provides reliable end-to-end data transfer +------------------+ | Network | 3 – Maintains point-to-point connections +------------------+ | Data link | 2 – Provides reliable error-free point-to-point data transfer +------------------+ | Physical | 1 – Transmission of bit stream (cabling, voltages, etc.) +------------------+
1 each (3 pts total) IETF – Internet standards (called RFCs). Entirely open, anyone welcome to come and present, everything posted on the web. Build it, standardize it. IEEE – Ethernet and WiFi standards. Mostly open, mostly anyone can present, most stuff presented on the web. ITU – Telephony standards. Closed. Invited by special permission. Only final standard is available (and at a non-trivial cost). Standardize it, build it. ISO and FCC are other possible answers.
t (^) pr = d / p 2 pt
t (^) fr = S / r 2 pt
( d p ) + ( S r ) 3 pts
The last bit is just leaving Host A. 3 pts
The first bit is on the link and has not reached Host B. 3 pts
The first bit has reached (and likely received by) Host B. 3 pts
0.5 each and round-up (4 pts total) The HyperText Transfer Protocol is a stateless application layer protocol. HTTP is used to transfer web content between a browser application (client) and an HTTP server. All web content is identified by a URL. HTTP is a request response protocol that uses TCP for assured delivery. HTTP uses ASCII encoded headers. The HTTP GET command retrieves HTML files and other objects. The GET header includes the URL of the object and other optional fields such as capability, language, and so on. The response includes a response header with a response code (code 200 is OK and 404 is page not found). Other commands include POST and HEAD.
1 each (4 pts total) In a non-persistent connection each HTTP request/response pair has its own TCP connection. A persistent connection supports multiple request/response pairs over a single TCP connection. HTTP 1.0 supports only non- persistent connection, HTTP 1.1 supports both types. The HTTP GET header specifies the type of connection to be used.
1 each (4 pts total) An optimum RTO value should be just slightly longer than the pending RTT. TCP samples RTT values (i.e., measures them) and then uses exponential smoothing to get a “smoothed” SRTT value. The SRTT value is then multiplied by a constant to get RTO. Sampling of RTT values only occurs on non-retry transmissions. On retry transmissions, RTO is backed-off (doubled) with each successive time-out until a successful transmission occurs (i.e., an ACK is received). Exponential smoothing is implemented as SRTT ( k + 1 ) =α ⋅ SRTT ( ) k +( 1 −α) ⋅ RTT _ sample ( ) k. And then, RTO^ (^ k + 1 ) = β ⋅ SRTT (^ k + 1 ).
2 each round (4 pts total) First round gives everyone 10 / 2 = 2, so 1, 2, 2, 2, 2 (for D, C, A, B, and E, respectively). This leaves 1 Mb/s leftover to distribute to A, B and E. The final distribution is then 1, 2, 2.33, 2.33, 2.33 for D, C, A, B, and E.
2 each (4 pts total) To deliver packets end to end.
2 each (6 pts total) Cost metrics include hops, link capacity, throughput, congestion, and delay. Any metric that is a measurement of a realtime function of traffic is prone to causing stability problems. This is because the routing algorithm directly affects these measures.
A
B D
C E
F
1
2
5
3
2 3 1
5
2
1
1 each step (6 pts total) One possible solution is:
Another possible solution is:
1 for each state, 1 for timer, and 2 for each transition (10 pts total)
Wait_1 Wait_
| Receive a CONNECT | Connected |-------------------------------------------->| -------- | Send an ACK, reset and start timer | Receive an ACK | | |--------------------->| | timer expires | | |<--------------------------------------------| | Send a RST | | |
Note: The timer is set to 10 seconds on reset