| environment where all traffic is between a single server and N “clients.” Because all traffic must still traverse the server—switch link, nominally there is no improvement in bandwidth. (A) Would you expect any improvement in bandwidth? Justify. (B) What other advantages and drawbacks might a switch offer versus a hub? 11 = What aspect of IP addresses makes it necessary to have one address per network interface, rather than just one per host? In light of your answer, why does IP tolerate point- to-point interfaces that have nonunique addresses or no addresses? 06 CO 1 L2 [OR] Consider a simple UDP-based protocol for requesting files (based somewhat loosely on the Trivial File Transport Protocol, TFTP). The client sends an initial file request, and the server answers (if the file can be sent) with the first data packet. Client and server then continue with a stop-and-wait transmission mechanism. (A) Describe a scenario by which a client might request one file but get another; you may allow the client application to exit abruptly and be restarted with the same port. (B) Propose a change in the protocol that will make this situation much less likely. 08 CO 2 L2 11(b) (ii) Suppose a host wants to establish the reliability of a link by sending packets and measuring the percentage that is received; routers, for example, do this. Explain the difficulty doing this over a TCP connection. 05 CoO 1 L2 12 (a) (i) Host A is sending an enormous file to Host B over a TCP connection. Over this connection there is never any packet loss and the timers never expire. Denote the transmission rate of the link connecting Host A to the Internet by R bps. Suppose that the process in Host A is capable of sending data into its TCP socket at a rate 5 bps, where S = 10 - R. Further suppose that the TCP receive buffer is large enough to hold the entire file, and the send buffer can hold only one percent of the file. What would prevent the process in Host A from continuously passing data to its TCP socket at rate S bps? TCP flow control? TCP congestion control? Or something else? Elaborate. 08 CO 3 L5 12 (a) (ii) Host A and B are directly connected with a 100 Mbps link. There is one TCP connection between the two hosts, and Host A is sending to Host B an enormous file over this connection. Host A can send its application data into its TCP socket at a rate as high as 120 Mbps but Host B can read out of its TCP receive buffer at a maximum rate of 50 Mbps. Describe the effect of TCP flow control. 05 CO 3 ட5 [OR] 12 (b) Consider a simplified TCP’s additive increase multiplicative decrease (AIMD) algorithm where the congestion window size is measured in number of segments, not in bytes. In additive increase, the congestion window size increases by one segment in each RTT. In multiplicative decrease, the congestion window size decreases by half (if the result is not an integer, round down to the nearest integer). Suppose that the two TCP connections, C; and சே, have the same RTT of 100 msec. Assume that at time to, ே5 congestion window size is 15 segments but C2’s congestion window size is 10 segments. (A) What are their congestion window sizes after 2200 msec? (B) In the long run, will these two connections get about the same share of the bandwidth of the congested link? (C) We say that two connections are synchronized, if both connections reach their maximum window sizes at the same time and reach their minimum window sizes at the same time. In the long run, will these two connections get synchronized eventually? If so, what are their maximum window sizes? (D) Will this synchronization help to improve the utilization of the shared link? Why? Sketch some idea to break this synchronization. 13 CO 3 LS 13 (a) (i) Suppose you are interested in detecting the number of hosts behind a NAT. You observe that the IP layer stamps an identification number sequentially on each IP packet. The identification number of the first IP packet generated by a host is a random number, and the identification numbers of the subsequent IP packets are sequentially assigned. Assume all IP packets generated by hosts behind the NAT are sent to the outside world. (A) Based on this observation, and assuming you can sniff all packets sent by the NAT to the outside, can you outline a simple technique that detects the number of unique hosts [---:==}:-~., ZAR behind a NAT? Justify your answer. 08 CO 2 L3 (B) If the identification numbers are not sequentially assigned but randomly assigned, would your technique work? Justify your answer. 13 | Consider the implementation of NAT mechanism in P2P applications. Suppose a peer with | 05 (00315 (a) username Arnold discovers through querying that a peer with username Bernard has a file (ii) | jt wants to download. Also suppose that Bernard and Arnold are ‘both behind a NAT. Try to’ devise a technique that will allow Arnold to establish a TCP connection with Bernard without application-specific NAT configuration. If you have difficulty devising such a technique, discuss why. [OR] 13 | IP hosts that are not designated routers are required to drop packets misaddressed 1௦0 | 6 (03 3 (b) them, even if they would otherwise be able to forward them correctly. In the absence of this (i) requirement, what would happen if a packet addressed to IP address A were inadvertently broadcast at the link layer? What other justifications for this requirement can you think of? 13 | Suppose two subnets share the same physical LAN; hosts on each subnet will see the 7 60315 (0) | other subnet’s broadcast packets. (ii) | (A) How will DHCP fare if two servers, one for each subnet, coexist on the shared LAN? What problems might arise? (B) Will ARP be affected by such sharing? Explain. 4 | Consider the network depicted in Figure-14.a. 13 (05103 (a) | Using Dijkstra’s algorithm, and showing your work using a table, compute the shortest path for the following nodes: (A) Node 710 all network nodes (B) Node u to all network nodes (C) Node v to all network nodes (D) Node w to all network nodes (E) Node y to all network nodes (F) Node z to all network nodes Figure-14.a [OR] 14 | Consider the network shown below. Suppose AS3 and AS2 are running OSPF for their | 04 |CO5 |L3 (b) (i) intra-AS routing protocol. Suppose AS1 and AS4 are running RIP for their intra-AS routing protocol. Suppose eBGP and iBGP are used for the inter-AS routing protocol. Initially suppose there is no physical link between AS2 and AS4. (A) Router 3c learns about prefix x from which routing protocol: OSPF, RIP, eBGP, or iBGP? (B) Router 3a learns about x from which routing protocol? (C) Router 1௦ learns about x from which routing protocol? (D) Router 1d learns about x from which routing protocol? 14 (b) (ii) Referring to the previous problem (Q.14(b)(i)), once router 1d learns about x it will put an entry (x, /) in its forwarding table. (A) Will / be equal to /7 or /2 for this entry? Explain. (B) Now suppose that there is a physical link between AS2 and AS4, shown by the dotted line. Suppose router 1d learns that'x is accessible via AS2 aswell as via AS3. Will / be set to /1 or 12? Explain. (C) Now suppose there is another AS, called AS5, which lies on the path between AS2 and AS4 (not shown in diagram). Suppose router 1d learns that x is accessible via AS2 AS5 AS4 as well as via AS3 AS4. Will / be set to /1 or /2? Explain. 09 COs iB 15 (a) Suppose the round-trip propagation delay for Ethernet is 46.4 ys. This yields a minimum packet size of 512 bits (464 bits corresponding to propagation delay+48 bits of jam signal). (A) What happens to the minimum packet size if the delay time is held constant, and the signalling rate rises to 100 Mbps? (B) What are the drawbacks to so large a minimum packet size? (C) If compatibility were not an issue, how might the specifications be written so as to permit a smaller minimum packet size? . 13 CO 4 OR ம் 15 (6) Suppose the Ethernet transmission algorithm is modified as follows: After each successful transmission attempt, a host waits one or two slot times before attempting to transmit again, and otherwise backs off the usual way. (A) Explain why the capture effect of the previous exercise is now much less likely. (B) Show how the strategy above can now lead to a pair of hosts capturing the Ethernet, alternating transmissions, and locking out a third. (C) Propose an alternative approach, for example, by modifying the exponential backoff. What aspects of a station’s history might be used as parameters to the modified backoff? 13 04
Other Or UnclassifiedSource quality review required