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

Similar documents
CS 421: COMPUTER NETWORKS SPRING FINAL May 16, minutes

CS 421: COMPUTER NETWORKS FALL FINAL January 12, minutes

CS 421: COMPUTER NETWORKS FALL FINAL January 10, minutes

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

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

FINAL May 21, minutes

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

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

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

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

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

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

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

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

Transport Layer PREPARED BY AHMED ABDEL-RAOUF

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

Question Points Score total 100

Your Name: Your student ID number:

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

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

PLEASE READ CAREFULLY BEFORE YOU START

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

ECE4110, Internetwork Programming, QUIZ 2 - PRACTICE Spring 2006

ECSE 414 Fall 2014 Final Exam Solutions

CS164 Final Exam Winter 2013

1. (10 points): For each of the following, choose exactly one best answer.

UNIT IV -- TRANSPORT LAYER

cs144 Midterm Review Fall 2010

The Transmission Control Protocol (TCP)

CSCI Networking Name:

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.

CPSC 441 COMPUTER COMMUNICATIONS MIDTERM EXAM SOLUTION

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

Transmission Control Protocol. ITS 413 Internet Technologies and Applications

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

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

Review Questions for Midterm Exam-2 Fall 2016

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

EXAM TCP/IP NETWORKING Duration: 3 hours

CS/ECpE 5516, Spring 1998, Midterm Exam 75 minutes, 120 points Prof. Abrams

Problem 7. Problem 8. Problem 9

CCNA 1 Chapter 7 v5.0 Exam Answers 2013

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences

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

COMP 361 Computer Communications Networks. Fall Semester Final Examination: Solution key

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 2014

First Exam for ECE671 Spring /22/18

PRACTICE QUESTIONS ON RESOURCE ALLOCATION

UNIVERSITY OF TORONTO FACULTY OF APPLIED SCIENCE AND ENGINEERING

Vorlesung Kommunikationsnetze

EXAM TCP/IP NETWORKING Duration: 3 hours

Question Points Score total 100

FINAL Tuesday, 20 th May 2008

Problem Set 7 Due: Start of Class, November 2

EXAM TCP/IP NETWORKING Duration: 3 hours With Solutions

TCP Congestion Control

TCP Congestion Control

CSE 473 Introduction to Computer Networks. Midterm Exam Review

Network Layer, Link Layer, and Network Security Summary

User Datagram Protocol

8. TCP Congestion Control

University of Toronto Faculty of Applied Science and Engineering. Final Exam, December ECE 461: Internetworking Examiner: J.

Chapter 3 Review Questions

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

ECE 650 Systems Programming & Engineering. Spring 2018

EE122 MIDTERM EXAM: Scott Shenker, Ion Stoica

Tutorial 2 Solutions

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

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

b. Suppose the two packets are to be forwarded to two different output ports. Is it

Position of IP and other network-layer protocols in TCP/IP protocol suite

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

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

Programming Assignment 3: Transmission Control Protocol

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

CSE 473 Introduction to Computer Networks. Exam 1. Your name here: 10/3/2012

Intro to LAN/WAN. Transport Layer

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

EE 122: IP Forwarding and Transport Protocols

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

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

EE 122 Fall st Midterm. Professor: Lai Stoica

CSC 634: Networks Programming

ECE 461 Internetworking Fall Quiz 1

Introduction to Networks and the Internet

Paper solution Subject: Computer Networks (TE Computer pattern) Marks : 30 Date: 5/2/2015

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

STEVEN R. BAGLEY PACKETS

6.1 Internet Transport Layer Architecture 6.2 UDP (User Datagram Protocol) 6.3 TCP (Transmission Control Protocol) 6. Transport Layer 6-1

Congestion Control 3/16/09

Tutorial 9. SOLUTION Since the number of supported interfaces is different for each subnet, this is a Variable- Length Subnet Masking (VLSM) problem.

Internetworking/Internetteknik, Examination 2G1305 Date: August 18 th 2004 at 9:00 13:00 SOLUTIONS

II. Principles of Computer Communications Network and Transport Layer

NETWORK PROBLEM SET Due Date 6/28/2014

Final Exam Computer Networks Fall 2015 Prof. Cheng-Fu Chou

Computer Communication EDA344, EDA343, DIT 420

Transcription:

CS 421: COMPUTER NETWORKS SPRING 2012 FINAL May 24, 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 1500 Bytes long including the headers and the ACK packets are 40 Bytes long. Assuming that no packets are lost, what should be the minimum window size (in data segments) in order to achieve full bandwidth utilization for this connection? b) (6 pts) Suppose that the TCP congestion window, CongWin, at a TCP sender is currently 6 KB and the slow start threshold, ssthresh, is 10 KB (assume for simplicity that 1KB=1000 Bytes). The maximum segment size, MSS, is 1000 Bytes. After the sender sends 6 segments for a total of 6 KB of data and receives all the ACKs for the transmitted segments, what will be the final values of CongWin and ssthresh in units of KB? c) (6 pts) There are two loss events in TCP: timeout and fast retransmission. TCP congestion control algorithm reacts differently in response to these two loss events. What is the rationale behind this difference? d) (5 pts) What is the difference between flow control and congestion control? e) An application is using a UDP socket in order to transfer data to another application running on a remote host. Suppose the sending application calls the send() method of the DatagramSocket 5 times. i. (4 pts) Is it possible that the underlying network layer at the sending host, e.g., IPv4, transmits more than 5 data packets? ii. (4 pts) Is it possible that the underlying network layer at the sending host, e.g., IPv4, transmits less than 5 data packets? Justify your answers by giving an example scenario if the given event is possible or by explaining why it is not possible.

2) a) (10 pts) 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, the link costs are as shown below and the routing tables have been stabilized. At time t = 0.5, the cost of the link (D,E) 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 distance tables. Give the evolution of the distance tables with respect to destination E. Specifically, give the distance table entries for destination E at nodes A, B, C, D 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. B 4 D 2 3 1 A C 5 12 E t D A (E), via D B (E), via D C (E), via D D (E), via B C A D A D E B C E 0.1 0.5 1.1 2.1 3.1 4.1 5.1 6.1

b) (8 pts) Suppose host A transmits a 2100 Byte IP packet (including the 20 Byte IP header) over a 2-hop path to host B. The MTU of the first link (A to router) is 740 Bytes (IP header plus data), and the MTU of the second link (router to B) is 500 Bytes (IP header plus data). Assuming that IP header does not contain any options, indicate the length (in Bytes), more flag, and offset field values (specify the offset values in units of 8 bytes) of the fragment(s) transmitted over each link in the tables below. First link Second link Fragment Length Offset Flag Fragment Length Offset Flag 1 1 2 2 3 3 4 4 5 5 6 6 c) (8 pts) An IP packet carrying an HTTP request is going from a home network into the Internet through a NAT router. Name all header fields in the transport and network layer headers that the NAT router needs to change in the given packet. d) (8 pts) Consider the following network composed of 3 subnets, A, B and C, interconnected via two routers, R1 and R2. For each of the address assignments, 1-4, to subnets A, B, C given in the following table, determine whether the given assignment is feasible or infeasible. If the address assignment is infeasible, explain the reason why it is not feasible. R1 R2 Ass. CIDR Blocks Subnets A B C Feasible or infeasible Reason if not feasible 1 139.179.128.0/18 139.179.160/19 139.179.64.0/18 2 139.179.72.0/21 139.179.0.0/16 139.179.96.0/19 3 139.179.0.0/18 139.179.128.0/18 139.179.64.0/18 4 139.179.0.0/24 139.179.1.0/24 139.179.16.0/20

3) a) (7 pts) Given the following 8-bit data sequence 11001010 and the generator sequence 10001001, compute the CRC bits and the transmitted bit sequence. b) (6 pts) Consider an Ethernet LAN with four nodes, A, B, C and D, using CSMA/CD running at 100 Mbits/sec. The propagation speed for the signal is 2x10 8 m/sec and the distances, in meters, between adapter pairs on the Ethernet LAN are given in the following table. Calculate the minimum Ethernet frame size such that the CSMA/CD algorithm will work properly. A B C D A - 150 350 150 B 150-400 200 C 350 400-400 D 150 200 400 - c) Suppose that nodes A, B and C are connected to the same Ethernet. Assume that each of these three nodes is trying to retransmit a collided frame. The frames have already experienced 1, 2 and 3 collisions, respectively, i.e., collision counters are 1, 2 and 3 for nodes A, B and C. Assume further that all other nodes on the Ethernet are inactive and all three nodes detected the last collision simultaneously. i. (5 pts) What is the probability that the first retransmission attempt after the last collision is a successful transmission? ii. (5 pts) What is the probability that the first retransmission attempt after the last collision is another collision? iii.(5 pts) Given that the first retransmission attempt after the last collision is a successful transmission, what is the probability that this successful transmission is made by node A? d) (6 pts) Since nearly all Ethernet networks carry IP traffic today, a networking expert makes a proposal for changing the Ethernet standard by eliminating the MAC address and using only the IP address to refer to network interfaces. List two advantages of this proposal.