CS 421: COMPUTER NETWORKS FALL FINAL January 12, minutes

Similar documents
CS 421: COMPUTER NETWORKS FALL FINAL January 10, minutes

CS 421: COMPUTER NETWORKS SPRING FINAL May 16, minutes

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

CS 421: COMPUTER NETWORKS SPRING FINAL May 21, minutes

CS 421: COMPUTER NETWORKS SPRING FINAL May 8, minutes

CS 421: COMPUTER NETWORKS FALL FINAL January 5, minutes. Name: Student No: TOT

FINAL May 21, minutes

CS 421: Computer Networks SPRING MIDTERM II May 5, minutes

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

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

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.

CPE 548 Exam #1 (50 pts) February 17, 2016

Transport Layer PREPARED BY AHMED ABDEL-RAOUF

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

CS 421: Computer Networks SPRING MIDTERM I April 7, minutes

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

Problem 7. Problem 8. Problem 9

CS 349/449 Internet Protocols Midterm Exam Winter /21/2003

Question Points Score total 100

Washington State University CptS 455 Sample Final Exam (corrected 12/11/2011 to say open notes) A B C

Test2: Solutions. Silvia Giordano ICA, EPFL. t2-1

EE 122 Fall st Midterm. Professor: Lai Stoica

Chapter 3 Review Questions

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

PRACTICE QUESTIONS ON RESOURCE ALLOCATION

Review Questions for Midterm Exam-2 Fall 2016

EE122 MIDTERM EXAM: Scott Shenker, Ion Stoica

ECE4110, Internetwork Programming, QUIZ 2 - PRACTICE Spring 2006

ECEN Final Exam Fall Instructor: Srinivas Shakkottai

Department of EECS - University of California at Berkeley EECS122 - Introduction to Communication Networks - Spring 2005 Final: 5/20/2005

UNIT IV -- TRANSPORT LAYER

a. (4pts) What general information is contained in a LSR-PDU update that A might send?

Department of Computer Science and Engineering. Final Examination. Instructor: N. Vlajic Date: April 15, 2011

EXAM TCP/IP NETWORKING Duration: 3 hours

Homework 3 50 points. 1. Computing TCP's RTT and timeout values (10 points)

ECS 152A Computer Networks Instructor: Liu. Name: Student ID #: Final Exam: March 17, 2005

CPE 448/548 Exam #1 (100 pts) February 14, Name Class: 448

TCP Congestion Control

TCP Congestion Control

Data Communication Networks Final

ECE 610: Homework 4 Problems are taken from Kurose and Ross.

Answers to Sample Questions on Transport Layer

COMP 361 Computer Communications Networks. Spring Semester Final Examination Solution Key

Midterm Exam CSCE 232: Computer Networks Fall Instructions:

EXAM TCP/IP NETWORKING Duration: 3 hours With Solutions

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

Transmission Control Protocol. ITS 413 Internet Technologies and Applications

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

TCP over Wireless PROF. MICHAEL TSAI 2016/6/3

cs/ee 143 Communication Networks

COMP3331/9331 XXXX Computer Networks and Applications Final Examination (SAMPLE SOLUTIONS)

UNIVERSITY OF TORONTO FACULTY OF APPLIED SCIENCE AND ENGINEERING

FACULTY OF COMPUTING AND INFORMATICS

First Exam for ECE671 Spring /22/18

FINAL Tuesday, 20 th May 2008

Computer Networks. 19 December This exam consists of 6 questions with subquestions. Every subquestion counts for 10 points.

Tutorial 2 Solutions

There are 10 questions in total. Please write your SID on each page.

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2014

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2015

CS 344/444 Computer Network Fundamentals Final Exam Solutions Spring 2007

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2014

Name Student ID Department/Year. Final Examination. Introduction to Computer Networks Class#: 901 E31110 Fall 2008

Homework #4. Due: December 2, 4PM. CWND (#pkts)

file:///c:/users/hpguo/dropbox/website/teaching/fall 2017/CS4470/H...

Transport Over IP. CSCI 690 Michael Hutt New York Institute of Technology

CS164 Final Exam Winter 2013

CS 3516: Computer Networks

ECE 461 Internetworking. Problem Sheet 6

TCP Congestion Control 65KB W

PLEASE READ CAREFULLY BEFORE YOU START

TCP Performance. EE 122: Intro to Communication Networks. Fall 2006 (MW 4-5:30 in Donner 155) Vern Paxson TAs: Dilip Antony Joseph and Sukun Kim

CS 716: Introduction to communication networks. - 9 th class; 19 th Aug Instructor: Sridhar Iyer IIT Bombay

Transport Protocols and TCP: Review

TCP Congestion Control in Wired and Wireless Networks

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

8. TCP Congestion Control

CSCI 466 Midterm Networks Fall 2011

Problem Set 7 Due: Start of Class, November 2

CS3516 B10 Computer Networks Final Exam December 14, 2010

Exercises TCP/IP Networking With Solutions

Q23-5 In a network, the size of the receive window is 1 packet. Which of the follow-ing protocols is being used by the network?

CS244a: An Introduction to Computer Networks

TCP. Second phase of the project. Connection management. Flow control and congestion. Emphasizing on the followings: Three parameters: At any time

Name Student ID Department/Year. Midterm Examination. Introduction to Computer Networks Class#: 901 E31110 Fall 2007

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

Enhancing TCP Throughput over Lossy Links Using ECN-Capable Capable RED Gateways

CSCI Topics: Internet Programming Fall 2008

Expected Time: 90 min PART-A Max Marks: 42

cs144 Midterm Review Fall 2010

Student ID: CS457: Computer Networking Date: 5/8/2007 Name:

15-441: Computer Networks Spring 2017 Homework 3

(a) Client server model (b) MAN (c) Interfaces and services. [4+6+6] FirstRanker

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2015

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

CSCI 1680 Computer Networks Fonseca. Exam - Midterm. Due: 11:50am, 15 Mar Closed Book. Maximum points: 100

c. If the sum contains a zero, the receiver knows there has been an error.

PROBLEMSAND EXERCISES

Congestion Control 3/16/09

CS CS COMPUTER NETWORKS CS CS CHAPTER 6. CHAPTER 6 Congestion Control

Transcription:

CS 421: COMPUTER NETWORKS FALL 2011 FINAL January 12, 2012 150 minutes Name: Student No: Show all your work very clearly. Partial credits will only be given if you carefully state your answer with a reasonable justification. Q1 Q2 Q3 TOT

1) a) (7 pts) Assume that the bandwidth of a connection is 10 Mbits/sec (10x10 6 bits/sec) and the round-trip propagation delay for the connection is 20 msec. Each data segment is 1250 Bytes long including the headers and the ACK packets are 25 Bytes long. Assuming that no packets are lost, what should be the minimum window size (in integer units of data segments) in order to achieve full bandwidth utilization for this connection? b) (5 pts) Explain the differences between flow control and congestion control. c) (6 pts) The following figure shows the evolution of the Congestion Window for a TCP connection as a function of time. The x-axis denotes the Transmission Round (TR), where each tick corresponds to one round-trip-time (RTT) (assume that all packets have negligible transmission times). The y-axis is the Congestion Window in segments at the beginning of each TR. Use the table below in order to identify the time intervals during which Congestion Control algorithm is in a certain phase, i.e., Slow Start (SS) or Congestion Avoidance (CA), the value of the Slow Start threshold (ssthresh) parameter during that time interval and the reason for the phase/parameter change which ends that time interval, for TR = 1,,36. CongWin, segments 16 14 12 10 8 6 4 2 0 1 2 3 4 5 6 7 8 9 101112131415161718192021222324252627282930313233343536 Tranmission Round (TR) Time Interval [starting TR,ending TR] Phase (SS or CA) ssthresh (in segments) Event causing phase or parameter change [ 1, ] [, 36 ]

d) (6 pts) Suppose that there are 16 packets (sequence numbers from 1 to 16) to be sent using the Go-Back-N protocol with a window size of N = 6 packets. Assume that the first transmissions of data packet with sequence number 5 and ACK packet with acknowledgement number 15 are lost during transmission and no other data or ACK packets are lost or errored. The timeout period is sufficiently large and the ACK for a packet is received within a very small delay after the completion of the transmission of the packet. How many packets are retransmitted during this transmission and what are their sequence numbers? e) (6 pts) Answer d) assuming that Selective Repeat with N = 6 packets is used instead.

2) a) The network below uses the distance-vector routing algorithm without poisoned reverse. Assume the following: Links have the same cost in both directions. Nodes exchange their routing info once every second, in perfect synchrony and with negligible transmission delays. Specifically, at every t = k, k = 0, 1, 2, 3,..., each node sends and receives routing info instantaneously, and updates its routing table; the update is completed by time t = k+0.1. At time t = 0, link costs are as shown below and routing tables have been stabilized. At time t = 0.5, the cost of the link (Y,Z) becomes 10. There are no further changes in the link costs. Route advertisements are only exchanged periodically, i.e., there are no immediate route advertisements after a link cost change. Hence the first route advertisement after the link cost change at t = 0.5 occurs at t = 1.0. Note: However, whenever a link cost change occurs, two nodes at the endpoints of this link immediately make corresponding changes in their tables. i. (10 pts) Give the evolution of the distance tables with respect to destination Z. Specifically, give the distance table entries for destination Z at nodes U, W, X, Y, for t = 0.1, 0.5, 1.1, 2.1,..., until all distance vectors stabilize. Present your final answer in the table given below where D i (j) is the distance vector denoting the distance from i to j. X 1 Y 1 Z 5 3 6 W 2 U Time, t 0.1 0.5 1.1 2.1 3.1 4.1 5.1 6.1 7.1 8.1 9.1 10.1 U W X Y D ( Z) via D ( Z) via D ( Z) via D ( Z) via W Y Z U X W Y U X Z

ii. (3 pts) Suppose you have a packet generated by node Y at t = 6 sec which is destined for node Z. Determine the path traversed by this packet using the forwarding tables valiad at t=6 sec. iii. (3 pts) Suppose you have a packet generated by node W at t = 6 sec which is destined for node Z. Determine the path traversed by this packet using the forwarding tables valiad at t=6 sec. b) (6 pts) Assume a university has the network prefix 141.168.192.0/18 (i.e., this is the network address space of the university that it can use to generate subnets and assign IP addresses to hosts). Assume the university has 5 campuses, each campus having the number of hosts indicated in the table below. Assume you are the network administrator and you will generate subnets, one subnet per campus. Show in the table below the subnets that you will generate. Campus Host Count 1 5000 Subnet Number (i.e. Prefix) (in form 141.168 /x) 2 3000 3 2000 4 1000 5 1000 c) (5 pts) Why does Network Address Translation (NAT) protocol violate the end-to-end principle of the transport layer? d) (5 pts) Give an advantage of the link state routing algorithm compared with the distance vector routing algorithm. e) (5 pts) Does intra-as routing algorithm play any role in determining the route that will be used by a packet destined for another autonomous system (AS)? Why or why not?

3) a) (7 pts) Suppose the data sequence 10110011 is transmitted using the generator sequence 10001001. Compute the CRC bits and the transmitted bit sequence. If the 4th, 8th and 11th bits starting from the highest order (leftmost) bit in the received sequence are errored, determine whether this error can be detected by the receiver. b) (6 pts) Consider an Ethernet LAN using CSMA/CD running at 100 Mbits/sec. The propagation speed for the signal over the cable is 2x10 8 m/sec. There are three network adapters (A, B and C) on this LAN and the distances between these adapters are d A-B =100 m, d B-C =200 m and d A-C =300 m. Compute the minimum Ethernet frame size such that the CSMA/CD algorithm will work properly on this Ethernet LAN. c) Suppose that nodes A, B and C are connected to the same Ethernet. Assume that nodes A, B and C are involved in a collision, which is the 1 st, 2 nd and 3 rd collisions for nodes A, B and C, respectively. S1 i. (5 pts) What is the probability that the next transmission after the initial collision will be made by node A and this will be a successful transmission? ii. (5 pts) What is the probability that the next transmission after the initial collision will be made by node C and this will be a successful transmission? iii. (5 pts) What is the probability that the next transmission after the initial collision will be another collision? d) (5 pts) Why does the efficiency of the CSMA/CD MAC protocol used in the Ethernet decrease when the frame size (i.e., frame transmission time) decreases?