Internetworking Protocols and Software (COMP416)

Similar documents
THE HONG KONG POLYTECHNIC UNIVERSITY. Department of Computing. This is an open-book examination.

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

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

ECE4110, Internetwork Programming, QUIZ 2 - PRACTICE Spring 2006

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

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

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

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

EE122 MIDTERM EXAM: Scott Shenker, Ion Stoica

TCP Congestion Control

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

TCP Congestion Control

TCP Congestion Control

CSE 473 Introduction to Computer Networks. Midterm Exam Review

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

Overview. Problem: Find lowest cost path between two nodes Factors static: topology dynamic: load

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

RIP V1 with Split Horizon, Route Poisoning, and Poison Reverse. Interpret the contents of the routing table using the show ip route command

Internet Networking recitation #10 TCP New Reno Vs. Reno

DualRTT: Enhancing TCP Performance During Delay Spikes

Overview. TCP congestion control Computer Networking. TCP modern loss recovery. TCP modeling. TCP Congestion Control AIMD

RIP Configuration. RIP Overview. Operation of RIP. Introduction. RIP routing table. RIP timers

Computer Networks. Routing Algorithms

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

ISSN: Index Terms Wireless networks, non - congestion events, packet reordering, spurious timeouts, reduce retransmissions.

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

Problem Set 8 Due: Start of Class, November 16

Outline. CS5984 Mobile Computing

CSE 1 23: Computer Networks

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

CCNA IP ROUTING. Revision no.: PPT/2K605/03

MID-TERM EXAM TCP/IP NETWORKING Duration: 2 hours With Solutions

Tutorial 2 Solutions

15-441: Computer Networks Spring 2017 Homework 3

An Issue in NewReno After Fast Recovery. Yoshifumi Nishida

Comparative Study of Routing Protocols Convergence using OPNET Chapter Three: Simulation & Configuration

Congestion Control in TCP

Computer Networks Spring 2017 Homework 2 Due by 3/2/2017, 10:30am

Impact of transmission errors on TCP performance. Outline. Random Errors

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

MULTICAST ROUTING PROTOCOL COMMUNICATION NETWORKS 2. Draft Document version 0.3

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

CS164 Final Exam Winter 2013

Investigations on TCP Behavior during Handoff

ES623 Networked Embedded Systems

ETSF05/ETSF10 Internet Protocols. Routing on the Internet

TCP congestion control:

Problem Set 7 Due: Start of Class, November 2

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

Question Points Score total 100

PRACTICE QUESTIONS ON RESOURCE ALLOCATION

Advanced Computer Networks

Determining IP Routes. 2000, Cisco Systems, Inc. 9-1

Data Communication Networks Final

Homework 3 1 DNS. A root. A com. A google.com

Topics for This Week

EECS 122, Lecture 16. Link Costs and Metrics. Traffic-Sensitive Metrics. Traffic-Sensitive Metrics. Static Cost Metrics.

Internetworking - We are heterogeneity to our network (variable network technologies, bandwidth, MTU, latency, etc. etc.)

CS 421: COMPUTER NETWORKS SPRING FINAL May 21, minutes

Section 1. General Networking Theory

image 3.8 KB Figure 1.6: Example Web Page

Section #6 Handout. B has processed this packet and updated its position of its sliding window. Everything is in terms of bytes.

TCP Congestion Control

FINAL EXAM - SLOT 2 TCP/IP NETWORKING Duration: 90 min. With Solutions

CS 349/449 Internet Protocols Final Exam Winter /15/2003. Name: Course:

FINAL May 21, minutes

Chapter 7 Routing Protocols

CS 421: COMPUTER NETWORKS SPRING FINAL May 8, minutes

Introduction to Intra-Domain Routing

CS321: Computer Networks Congestion Control in TCP

Prof. Shervin Shirmohammadi SITE, University of Ottawa. Internet Protocol (IP) Lecture 2: Prof. Shervin Shirmohammadi CEG

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

Problem 7. Problem 8. Problem 9

TSIN02 - Internetworking

Chapter 24. Transport-Layer Protocols

CS 421: COMPUTER NETWORKS FALL FINAL January 10, minutes

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

EXAM TCP/IP NETWORKING Duration: 3 hours

CSE 123: Computer Networks

CMPE 257: Wireless and Mobile Networking

Routing. Jens A Andersson Communication Systems

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

ADVANCED COMPUTER NETWORKS

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

under grant CNS This work was supported in part by the National Science Foundation (NSF)

Lecture 15: Transport Layer Congestion Control

TCP OVER AD HOC NETWORK

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

Advanced Computer Networks

Answers to Sample Questions on Transport Layer

Basic Reliable Transport Protocols

TCP over wireless links

UNIT IV -- TRANSPORT LAYER

Performance Analysis of TCP Variants

CS 421: COMPUTER NETWORKS SPRING FINAL May 16, minutes

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

Overview 4.2: Routing

Hybrid Control and Switched Systems. Lecture #17 Hybrid Systems Modeling of Communication Networks

Congestion Control 3/16/09

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

Transcription:

Internetworking Protocols and Software (COMP416) Assignment Three (due on 2 Dec. 2013) Rocky K. C. Chang 1) [10 MARKS] (TCP congestion control I) In this question, we revisit the congestion control problem in assignment 3. Referring to Figure 1 for TCP packet transmissions in a TCP Reno connection, a number of full-sized TCP data segments were sent from a sender to a receiver, and the segments are numbered starting from 0. Each ACK acknowledges only one TCP data segment. The square symbol refers to a TCP data segment transmission, whereas a small dot refers to an ACK transmission. The TCP data segment and its ACK are drawn on the same line for easy reference (an example is shown for segment 10). TCP Reno implements the fast retransmission and fast recovery algorithms that we discussed in class. The figure shows that only segment 14 was lost, and it was fast retransmitted after receiving a third duplicate ACK. Note that there were a number of duplicate ACKs received. The send window was always given by the cwnd, and the sender always had data to send. Answer the following questions about the trace in Figure 1. a) [3 MARKS] Upon receiving the third duplicate ACK (dupack), the sender entered into the fast recovery phase. How many more dupacks were received in order for the sender to send the new segment 29? b) [3 MARKS] Why were only six new segments sent during the fast recovery phase? c) [4 MARKS] After the fast recovery phase was ended, each of the first six ACKs elicited a new data segment, but the seventh ACK elicited two. What is the reason for that?

Segment loss Retransmission 14 Duplicate ACKs ACK for segment 10 Fig. 1. Packet transmission sequence of a TCP Reno connection. 2) [10 MARKS] (TCP congestion control II) In Figure 2, we show a TCP data-ack plot. You may ignore the receiver-side traces (i.e., Rcv Data and Rcv Ack). The two sender-side traces are defined as: Snd Data: TCP data segments sent by the TCP sender Snd Ack: TCP ACKs received by the TCP sender To simulate a packet reordering event, the packet that was supposed to be sent at around 38s (marked as + in the figure) is queued while the succeeding six packets were let through. Then the delayed packet was sent out (indicated by the arrow) with the next packet. There are no packet loss events in this set of traces. a) [3 MARKS] Around what time was the reordered packet recovered (from the sender point-of-view)? b) [3 MARKS] How was the reordered packet recovered? c) [4 MARKS] What happened to the sender s cwnd when the reordered packet was recovered? 2

Fig. 2. A TCP packet reordering scenario. 3) [12 MARKS] Consider the IP network below. A new network segment, to which SUNBETA was attached, was added to improve the network resilience in terms of Internet access. Unfortunately, the network administrator simply duplicated the IP addresses 192.168.3.0 for SUNBETA; as a result, two segments identified themselves with the same network address. All the networks used the same subnet mask of 255.255.255.0, and RIP-1 was used for routing. a) [3 MARKS] If SUNALPHA s forwarding table contained a route to its directly attached segment and a default route to router D, how can it reach SUNGAMA? b) [3 MARKS] If router D fails, can SUNALPHA connect to the Internet? c) [2 MARKS] Can SUNALPHA and SUNBETA reach each other? d) [4 MARKS] Can SUNGAMA, SUNDELTA, and SUNTHETA reach SUNALPHA and SUNBETA? 3

SUNGAMA - 192.168.1.5 router A 192.168.1.1.--------I------------192.168.1.2 router B - 192.168.3.2 192.168.2.1 --SUNDELTA 192.168.3.5 192.168.2.4 --SUNALPHA 192.168.2.2 192.168.3.1 router C - router D 192.168.4.2-202.45.86.1 --SUNTHETRA To Internet 192.168.4.5 192.168.4.1 router E 192.168.3.2 Originally, --SUNBETA this segment 192.168.3.5 did not exist. 192.168.3.1 router F 202.45.86.2 To Internet 4) [8 MARKS] (RIP with split horizon) Consider Figure 3 in which the three routers exchange their routes to an IP network denoted by Dest using RIP-1. Split horizon with poisonous reverse is used and a distance of 16 is interpreted as destination unreachable. H s default router is set to R 1. How does H send a packet to Dest for the following cases: a) [2 MARKS] The distances announced by R 1, R 2, and R 3 are 5, 16, and 16, respectively. b) [2 MARKS] The distances announced by R 1, R 2, and R 3 are 16, 16, and 5, respectively. c) [2 MARKS] The distances announced by R 1, R 2, and R 3 are 16, 5, and 5, respectively. d) [2 MARKS] The distances announced by R 1, R 2, and R 3 are 5, 5, and 16, respectively. 5) [10 MARKS] (Link-state routing) The topology of an OSPF network is given below. There are three routers RT 1, RT 2, and RT 3, and three networks N1, N2, and N3. **FROM** RT RT RT 1 2 3 N1 N2 N3 ----- --- * RT1 2 0 0 * RT2 1 0 0 T RT3 0 0 O N1 1 * N2 1 2 3 * N3 2 3 4

Dest R1 R2 R3 H Fig. 3. Three RIP-1 routers exchange routes for Dest on the LAN. a) [4 MARKS] Draw the topology of the network. b) [3 MARKS] Who is (are) the neighboring router(s) of RT 1? c) [3 MARKS] What is RT 3 s next-hop router for reaching the hosts on N1? 5