NET ID. CS519, Prelim (March 17, 2004) NAME: You have 50 minutes to complete the test. 1/17

Similar documents
CSE 473 Introduction to Computer Networks. Exam 2. Your name here: 11/7/2012

EC441 Midterm Two Fall 2017

CS 421: COMPUTER NETWORKS SPRING FINAL May 24, minutes. Name: Student No: TOT

Review problems (for no credit): Transport and Network Layer

King Fahd University of Petroleum and Minerals College of Computer Sciences and Engineering Department of Computer Engineering

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

Student ID: CS457: Computer Networking Date: 3/20/2007 Name:

PLEASE READ CAREFULLY BEFORE YOU START

CS519: Computer Networks. Lecture 5, Part 1: Mar 3, 2004 Transport: UDP/TCP demux and flow control / sequencing

6.033 Lecture 12 3/16/09. Last time: network layer -- how to deliver a packet across a network of multiple links

Computer Networks. Homework #4: No Grading

CS 138: Communication I. CS 138 V 1 Copyright 2012 Thomas W. Doeppner. All rights reserved.

UNIVERSITY OF TORONTO FACULTY OF APPLIED SCIENCE AND ENGINEERING

EECS 122, Lecture 19. Reliable Delivery. An Example. Improving over Stop & Wait. Picture of Go-back-n/Sliding Window. Send Window Maintenance

interface Question 1. a) Applications nslookup/dig Web Application DNS SMTP HTTP layer SIP Transport layer OSPF ICMP IP Network layer

Chapter 3 Review Questions

Data Communication Networks Final

LS Example 5 3 C 5 A 1 D

COMPUTER NETWORK. Homework #3. Due Date: May 22, 2017 in class

UNIVERSITY OF TORONTO FACULTY OF APPLIED SCIENCE AND ENGINEERING

School of Engineering Department of Computer and Communication Engineering Semester: Fall Course: CENG415 Communication Networks

TCP Strategies. Keepalive Timer. implementations do not have it as it is occasionally regarded as controversial. between source and destination

CS519: Computer Networks

Problem 7. Problem 8. Problem 9

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. October 11, 2018

Computer Science 461 Midterm Exam March 14, :00-10:50am

TCP/IP Performance ITL

FINAL May 21, minutes

STEVEN R. BAGLEY PACKETS

CS 421: COMPUTER NETWORKS SPRING FINAL May 16, minutes

CS164 Final Exam Winter 2013

COM-208: Computer Networks - Homework 6

Network Management & Monitoring

IT 341: Introduction to System

Just enough TCP/IP. Protocol Overview. Connection Types in TCP/IP. Control Mechanisms. Borrowed from my ITS475/575 class the ITL

Computer Networks Principles

CS4700/CS5700 Fundamentals of Computer Networks

Reliable Transport I: Concepts and TCP Protocol

Internetworking Part 2

Question Score 1 / 19 2 / 19 3 / 16 4 / 29 5 / 17 Total / 100

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat not true in practice

Computer Science 461 Final Exam May 22, :30-3:30pm

A Whirlwind Introduction to the Internet Overview

User Datagram Protocol

CSC 401 Data and Computer Communications Networks

Examination 2D1392 Protocols and Principles of the Internet 2E1605 Internetworking. Date: June 1 st 2007 at 14:00 19:00 SOLUTIONS

Lecture 15: TCP over wireless networks. Mythili Vutukuru CS 653 Spring 2014 March 13, Thursday

II. Principles of Computer Communications Network and Transport Layer

Inter-Domain Routing: BGP

SC250 Computer Networking I. Review Exercises. Prof. Matthias Grossglauser. School of Computer and Communication Sciences EPFL.

ECEN Final Exam Fall Instructor: Srinivas Shakkottai

CS419: Computer Networks. Lecture 10, Part 3: Apr 13, 2005 Transport: TCP performance

Networking: Network layer

Written examination in TDTS06 Computer Networks at 8 12

ECE 428 Internet Protocols (Network Layer: Layer 3)

c) With the selective repeat protocol, it is possible for the sender to receive an ACK for a packet that falls outside of its current window.

CS244a: An Introduction to Computer Networks

14-740: Fundamentals of Computer and Telecommunication Networks

2.993: Principles of Internet Computing Quiz 1. Network

EECS 3214: Computer Network Protocols and Applications. Final Examination. Department of Computer Science and Engineering

CS 421: COMPUTER NETWORKS SPRING FINAL May 21, minutes

Lecture 21: Congestion Control" CSE 123: Computer Networks Alex C. Snoeren

ECE 158A: Lecture 7. Fall 2015

Lecture 16: Network Layer Overview, Internet Protocol

Introduction to Networks and the Internet

Routing. Advanced Computer Networks: Routing 1

Carnegie Mellon Computer Science Department Spring 2015 Midterm Exam

ETSF10 Internet Protocols Transport Layer Protocols

Fundamental Questions to Answer About Computer Networking, Jan 2009 Prof. Ying-Dar Lin,

CSCI-GA Operating Systems. Networking. Hubertus Franke

ECE 544 Computer Networks II Mid-Term Exam March 29, 2002 Profs. D. Raychaudhuri & M. Ott

Announcements. IP Forwarding & Transport Protocols. Goals of Today s Lecture. Are 32-bit Addresses Enough? Summary of IP Addressing.

NWEN 243. Networked Applications. Layer 4 TCP and UDP

PRACTICE QUESTIONS ON RESOURCE ALLOCATION

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

===================================================================== Exercises =====================================================================

Example questions for the Final Exam, part A

Chapter 4: network layer. Network service model. Two key network-layer functions. Network layer. Input port functions. Router architecture overview

CS 3516: Computer Networks

Da t e: August 2 0 th a t 9: :00 SOLUTIONS

Introduction to Internet. Ass. Prof. J.Y. Tigli University of Nice Sophia Antipolis

CSCI Networking Name:

CPE 448 Exam #2 (50 pts) April Name Class: 448

Answers to Sample Questions on Transport Layer

Inter-AS routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley

Solution to Question 1: ``Quickies'' (25 points, 15 minutes)

Applied Networks & Security

Network Layer/IP Protocols

CS 43: Computer Networks. 24: Internet Routing November 19, 2018

Inter-Domain Routing: BGP

Internet Protocol (IP)

CS419: Computer Networks. Lecture 10, Part 2: Apr 11, 2005 Transport: TCP mechanics (RFCs: 793, 1122, 1323, 2018, 2581)

CSE 473 Introduction to Computer Networks. Exam 1. Your name: 9/26/2013

CSE 473 Introduction to Computer Networks. Final Exam. Your name here: 12/17/2012

CSE/EE 461 Lecture 13 Connections and Fragmentation. TCP Connection Management

CS 5520/ECE 5590NA: Network Architecture I Spring Lecture 13: UDP and TCP

ECSE-6600: Internet Protocols Spring 2007, Exam 1 SOLUTIONS

Data Communication & Networks G Session 7 - Main Theme Networks: Part I Circuit Switching, Packet Switching, The Network Layer

Overview. TCP & router queuing Computer Networking. TCP details. Workloads. TCP Performance. TCP Performance. Lecture 10 TCP & Routers

Midterm Review. EECS 489 Computer Networks Z. Morley Mao Monday Feb 19, 2007

Transcription:

CS519, Prelim (March 17, 2004) NAME: You have 50 minutes to complete the test. 1/17

Q1. 2 points Write your NET ID at the top of every page of this test. Q2. X points Name 3 advantages of a circuit network over a packet network: 1 2 3 Q3. X points Name 3 advantages of a packet network over a circuit network: 1 2 3 Q4. X points Which of the following best characterizes a long fat pipe (i.e. high delay x bandwidth product)? Check one: OC12 link from between the east and west coasts of the USA 1Mbps link from New York City to Tokyo Japan 100 Gbps LAN 2/17

Q5. X points Two hosts with private addresses 10.9.8.7 and 10.9.8.8 respectively both have LAN interfaces. Do you know for sure that they are connected to the same LAN? (Assume that they are properly connected and addressed etc.) YES NO Why or why not? Q6. X points Two hosts with global addresses 20.9.8.7 and 20.9.8.8 respectively both have LAN interfaces. Do you know for sure that they are connected to the same LAN? (Assume that they are properly connected and addressed etc.) YES NO Why or why not? Q7. X points Why isn t Internet routing run as one huge unified routing domain (rather than the 2-tier intra-domain and inter-domain architecture we have today)? Check each reason that is true for the 2-tier architecture, but would not be true for a unified routing domain architecture. Routing convergence would be too slow (i.e. after a change) Sites want to run different routing protocols External routing errors may effect routes within a site (i.e. between two hosts in the same site) ISPs do not want to receive routing updates showing the internals of sites (i.e. the subnets in a site) 3/17

C 6 A 1 4 4 E D 2 B 4 Figure 1: A network with five routers, A - E. Assume that the costs shown are for both directions of the link. Q8. X points In the space below, write two RIBs for router E in Figure 1, one of them assuming a Distance Vector (DV) protocol, and the other assuming a Link State (LS) protocol. Clearly label which is which. 4/17

Q9. X points Fill in the contents of the confirmed and tentative lists for each step of a shortest path spanning tree algorithm for Router E in Figure 1 using the (Dest, cost, nexthop) notation. Steps 1 and 2 already been filled in. Note there may be fewer than 12 steps. Step Confirmed Tentative Step Confirmed Tentative 1 (E,0,-) 2 (E,0,-) (A,1,A) (B,4,B) 3 4 5 6 7 8 9 10 11 12 5/17

Q10. X points Name 3 advantages of TCP over UDP: 1 2 3 Q11. X points Name 3 advantages of UDP over TCP: 1 2 3 Q12. X points In a sliding window protocol, normally the receive window is as big as or bigger than the send window. What happens if the send window is bigger than the receive window? Check one: It can no longer be guaranteed that all bytes will be received. It can no longer be guaranteed that all bytes will arrive in order. It can no longer be guaranteed that all bytes will be received or will arrive in order. None of the above 6/17

Q13. X points In class we saw that a small packet (and corresponding small ACK) can be introduced into the TCP control loop when the sending application does a send of only a few bytes (and the TCP layer subsequently sends the bytes after a short time waiting for another send). Using only the space provided below, describe another way in which a small packet can be introduced. Q14. X points What are the three defining characteristics of quality or performance in packet networks? 7/17

50ms RTT (with no error on links) H1 R R R R H2 Figure 2: Q15. X points In the network of Figure 2, each of the five links exhibits a high error rate (5% packet loss). The RTT between the two hosts is 50ms. The two hosts are running TCP. Imagine that, by introducing a link-level reliable sliding window protocol on each link, you can reduce the error rate to 0% of each link, but in doing so you add 5ms of latency to each link, increasing the RTT to 75ms. Given that the two hosts are running TCP, does the introduction of the link level reliability protocols violate the End-to-end principle? YES NO Why or why not? 8/17

Q16. X points From the point of view of a router in a backbone ISP (i.e. one that does not participate in any site routing), what is the structure of the IP address? Please check one of the following: prefix suffix ISP Site suffix ISP Site Subnet Host Class A/B/C Network Host Q17. X points Image a very large network (thousands of destinations) where only a small fraction of destinations need to be reachable. For instance, this might be the case for a large sensor network where a few locations gather data from the sensors. As a result, the routing algorithm only needs to keep track of a few destinations. Given this, would it make more sense to use a link state routing algorithm or a distance vector routing algorithm? Q18. X points What is the primary cause of large routing tables in BGP? Check one: Large address size Site multihoming Increasing number of home networks Increased NAT usage 9/17

Q19. X points When an application does a send()on a TCP socket, and the send()returns with no errors, what does the application know for sure about the sent data. Check one: The data has been written into the local TCP s send buffer The data has been transmitted onto the network The data has been received by the remote host s TCP layer The data has been received by the remote host s application Q20. X points Of the following TCP socket calls, check those that are used by the client and/or by the server. Used by client Used by server Socket call connect() listen() accept() recv() send() close() Q21. X points With that fast retransmit method of TCP retransmission (i.e. after three duplicate ACKs), is it possible for a retransmit to happen sooner than one RTT from the time the lost packet was sent? YES NO Why or why not? 10/17

Q22. X points With streaming media, the media is downloaded for a while into a local buffer (often for many seconds) before the media starts to play on the local player. This occurs even if the average throughput between the media server and the player is higher than that required for the media player. Why is this necessary? Check one only (the one which most drives the need for buffering). The buffer eliminates traffic jitter The buffer allows the player to read data in a uniform way regardless of how the stream was received (i.e. UDP, TCP, or even HTTP) The buffer hides the fact that throughput may vary considerably over the length of the stream The buffer allows the player to request retransmissions of lost packets and deliver them in order Q23. X points Imagine that an IP layer sends two packets, one fragmented and the other not fragmented. Suppose also that two simultaneous bit errors on the unfragmented packet cause its ID field to match that of the fragmented packet in such a way that the checksum is still correct (admittedly a low probability event, but possible). Finally assume that at the receiver, the unfragmented packet is received after the first fragment of the fragmented packet, but before the last fragment of the fragmented packet (see below). Does the receiver receive the packets correctly or not? Received correctly Not received correctly Why or why not? 11/17

Q24. X points 20/8 ISP B 30/8 CS519 20.1/16 20.2/16 X ISP A 20.1/16 Y 20.1/16 ISP C Z 20.3/16 Figure 3 Describe the AS path (assume that all Sites X, Y, and Z, and ISPs are ASs) from each ISP to each Site, using the table below. If there is no path from the ISP to the Site, write none. From-to AS-path From-to AS-path A X B Z A Y A Z B X C X C Y C Z B Y 12/17

Q25. X points Referring to the following figure (which is identical to Figure 1), imagine that there is a lot of traffic from router E to router D, so much so that the E-B and B-D links are saturated with traffic. Modify the link costs so that all traffic except the E to D traffic avoids the two saturated links. C 6 A 1 4 4 E D 2 B 4 Q26. X points Given current IP address assignment policies, what is the theoretical smallest routing table size in the backbone ISP routers. Check one: Number of class A addresses (256) Number of large sites Number of backbone ISPs Number of ISPs of all types 13/17

Q27. X points Consider the two traffic sequence diagrams in Figure 4 below. Assume identical time scales, and assume that the same sized data packets are being sent. Assume a send window of 4 packets. Assume that the sender is sending as fast as it can, within the limits of the send window. Of these two sequences, which has higher bandwidth (select one)? Left sequence Right sequence Of these two sequences, which has longer latency (select one)? Left sequence Right sequence T=0 S C S C data data ack ack T=t Figure 4 14/17

Q28. X points Describe up to five ways by which an application can either close an open TCP socket, or learn that the other end has closed the socket. 1. 2. 3. 4. 5. Q29. X points For each of the following two scenarios, what contributes most to the total delay, queuing, propagation, or transmit? A 1500 byte packet transmitted over a lightly loaded 10Mbps Ethernet A 10Gbps transmission from Boston to Los Angeles over a high-speed network Q30. X points To which of the following blocks of addresses does the address 64.65.24.7 belong? Check all that apply: 64.65.24.0/28 64.65.16/21 64.64/12 1/0 0/0 15/17

Q31. X points The following question applies to Figure 1. Assuming a distance vector routing protocol, which node s RIBs do not change if link C-D goes down. Which node s FIBs do not change? RIBs that don t change FIBs that don t change Q32. X points What effect does BGP policies have on paths in the Internet? Check all that apply: Paths are longer than the shortest possible Paths have low latency Paths are asymmetric Paths cannot always be trace routed. Q33. X points Assuming a Go-Back-N acknowledgement scheme (with no selective acknowledgement), if a sender sends two packets (1 and 2), and receives back an ACK for the bytes in packet 2, but not for the bytes in packet 1, what does the sender know for sure? Check one: The receiver has not received packet 1 Either packet 1 was dropped, or the ACK to packet 1 was dropped The ACK to packet 1 was dropped None he above 16/17

Q34. X points Assume 1000 byte packets being send over TCP. Assume that the sender has sent 10 packets constituting bytes 10000 through 19999. Assume further that the sender receives a TCP packet with an acknowledgement of 13000, and with a SACK option indicating the ranges 15000-15999, and 18000-19999. Which bytes can the sender remove from its send buffer? Ans: 17/17