Homework 3 assignment for ECE374 Posted: 03/13/15 Due: 03/27/15



Similar documents
First Midterm for ECE374 03/24/11 Solution!!

Final for ECE374 05/06/13 Solution!!

First Midterm for ECE374 03/09/12 Solution!!

Computer Networks - CS132/EECS148 - Spring

EINDHOVEN UNIVERSITY OF TECHNOLOGY Department of Mathematics and Computer Science

CS 457 Lecture 19 Global Internet - BGP. Fall 2011

TCP over Wireless Networks

Answers to Sample Questions on Network Layer

Network layer" 1DT066! Distributed Information Systems!! Chapter 4" Network Layer!! goals: "

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

Datagram-based network layer: forwarding; routing. Additional function of VCbased network layer: call setup.

Names & Addresses. Names & Addresses. Hop-by-Hop Packet Forwarding. Longest-Prefix-Match Forwarding. Longest-Prefix-Match Forwarding

CSE 473 Introduction to Computer Networks. Exam 2 Solutions. Your name: 10/31/2013

IP - The Internet Protocol

Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol

Network layer: Overview. Network layer functions IP Routing and forwarding

CS335 Sample Questions for Exam #2

Lecture Computer Networks

Introduction to IP v6

Lecture Objectives. Lecture 07 Mobile Networks: TCP in Wireless Networks. Agenda. TCP Flow Control. Flow Control Can Limit Throughput (1)

Data Networks Summer 2007 Homework #3

Improving the Performance of TCP Using Window Adjustment Procedure and Bandwidth Estimation

Transport Layer Protocols

TCP over Multi-hop Wireless Networks * Overview of Transmission Control Protocol / Internet Protocol (TCP/IP) Internet Protocol (IP)

8.2 The Internet Protocol

Network Layer: Network Layer and IP Protocol

Internet Packets. Forwarding Datagrams

CS 5480/6480: Computer Networks Spring 2012 Homework 3 Due by 1:25 PM MT, Monday March 5 th 2012

Technical Support Information Belkin internal use only

2 TCP-like Design. Answer

15-441: Computer Networks Homework 2 Solution

04 Internet Protocol (IP)

IP addressing and forwarding Network layer

Outline. TCP connection setup/data transfer Computer Networking. TCP Reliability. Congestion sources and collapse. Congestion control basics

CSE 123: Computer Networks

TCP in Wireless Mobile Networks

Internet Protocols Fall Lectures 7-8 Andreas Terzis

Networking Test 4 Study Guide

(Refer Slide Time: 02:17)

Internetworking. Problem: There is more than one network (heterogeneity & scale)

TCP/IP Optimization for Wide Area Storage Networks. Dr. Joseph L White Juniper Networks

Chapter 5. Transport layer protocols

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA)

Transport and Network Layer

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Access Control: Firewalls (1)

Internet Architecture and Philosophy

RARP: Reverse Address Resolution Protocol

First Midterm for ECE374 02/25/15 Solution!!

CS 43: Computer Networks IP. Kevin Webb Swarthmore College November 5, 2013

ECSE-6600: Internet Protocols Exam 2

COMP 3331/9331: Computer Networks and Applications. Lab Exercise 3: TCP and UDP (Solutions)

2. IP Networks, IP Hosts and IP Ports

Prefix AggregaNon. Company X and Company Y connect to the same ISP, and they are assigned the prefixes:

Network Security TCP/IP Refresher

Gary Hecht Computer Networking (IP Addressing, Subnet Masks, and Packets)

Application Note. Windows 2000/XP TCP Tuning for High Bandwidth Networks. mguard smart mguard PCI mguard blade

Network Layer IPv4. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF

Congestions and Control Mechanisms n Wired and Wireless Networks

IP address format: Dotted decimal notation:

A Survey on Congestion Control Mechanisms for Performance Improvement of TCP

Internet Control Protocols Reading: Chapter 3

LESSON Networking Fundamentals. Understand TCP/IP

Chapter 4 Network Layer

ICOM : Computer Networks Chapter 6: The Transport Layer. By Dr Yi Qian Department of Electronic and Computer Engineering Fall 2006 UPRM

Network Basics GRAPHISOFT. for connecting to a BIM Server (version 1.0)

Simulation-Based Comparisons of Solutions for TCP Packet Reordering in Wireless Network

Lecture 15: Congestion Control. CSE 123: Computer Networks Stefan Savage

Internet Working 5 th lecture. Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004

Final Exam. Route Computation: One reason why link state routing is preferable to distance vector style routing.

Internet Firewall CSIS Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS net15 1. Routers can implement packet filtering

SJBIT, Bangalore, KARNATAKA

20-CS X Network Security Spring, An Introduction To. Network Security. Week 1. January 7

Chapter 3. TCP/IP Networks. 3.1 Internet Protocol version 4 (IPv4)

Route Discovery Protocols

Computer Networks UDP and TCP

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP

Computer Networks Homework 1

Architecture and Performance of the Internet

Indian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology

TCP/IP Fundamentals. OSI Seven Layer Model & Seminar Outline

Ethernet. Ethernet. Network Devices

GATE CS Topic wise Questions Computer Network

Chapter 6 Congestion Control and Resource Allocation

Internet Protocol Version 6 (IPv6)

IP Address Classes (Some are Obsolete) Computer Networking. Important Concepts. Subnetting Lecture 8 IP Addressing & Packets

TCP for Wireless Networks

Homework 2 assignment for ECE374 Posted: 02/21/14 Due: 02/28/14

NAT & IP Masquerade. Internet NETWORK ADDRESS TRANSLATION INTRODUCTION. NAT & IP Masquerade Page 1 of 5. Internal PC

A Qos SCHEME TO ADDRESS COMMUNICATION LATENCY ISSUES FOR CRITICAL NETWORK FLOWS IN BEST-EFFORT NETWORKS USING MOBILE AGENTS

Exam 1 Review Questions

IP Subnetting and Addressing

Chapter 5 Customizing Your Network Settings

>>> SOLUTIONS <<< c) The OSI Reference Model has two additional layers. Where are these layers in the stack and what services do they provide?

Exercises TCP/IP Networking. Solution. With Solutions

Application Level Congestion Control Enhancements in High BDP Networks. Anupama Sundaresan

CPS221 Lecture: Layered Network Architecture

Outline. CSc 466/566. Computer Security. 18 : Network Security Introduction. Network Topology. Network Topology. Christian Collberg

Transcription:

1 Homework 3 assignment for ECE374 Posted: 03/13/15 Due: 03/27/15 Note: In all written assignments, please show as much of your work as you can. Even if you get a wrong answer, you can get partial credit if you show your work. If you make a mistake, it will also help the grader show you where you made a mistake. Problem 1 (10 Points): Assume a datagram of size 5000 bytes crosses 5 different networks segments on its way from sender to receiver. The smallest MTU of all network segments is 820 bytes. a. In how many datagrams does the original datagram have to be fragmented in? b. At which point in the network does the fragmentation occur? c. Show the length, ID, fragflag, and offset fields of the IP header of each fragment. d. At which location are the IP fragments reassembled? Explain your answer. a. 7 b. The fragmentation occurs at the router directly ahead of the link with the MTU of 800 bytes. c. Here are the header field for the fragments: 1. Length = 820, ID = x, fragflag = 1, offset = 0; 2. Length = 820, ID = x, fragflag = 1, offset = 100; 3. Length = 820, ID = x, fragflag = 1, offset = 200; 4. Length = 820, ID = x, fragflag = 1, offset = 300; 5. Length = 820, ID = x, fragflag = 1, offset = 400; 6. Length = 820, ID = x, fragflag = 1, offset = 500; 7. Length = 220, ID = x, fragflag = 0, offset = 600; d. All fragments are reassembled at the receiving host. Reassembling at one of the intermediate hosts could result in further fragmentation on other segments towards the destination. Routers have no knowledge of the MTU size other than the one directly connected to them. Problem 2 IP (20 Points): In the figure below, assign an IP address to each of the hosts and routers interfaces and specify the number of subnest.

ECE374: Homework 1 2 Figure 1 Problem 3 (16 Points): Consider the network setup shown in Figure 2. Suppose that the ISP instead assigns the router the address 24.34.112.235 and that the network address of the home network is 192.168.1/24. a. Assign addresses to all interfaces in the home network. b. Suppose each host has two ongoing TCP connections, all to port 80 at host 128.119.40.186. Provide the six corresponding entries in the NAT translation table.

3 Figure 2 a) Home addresses: 192.168.1.1, 192.168.1.2, 192.168.1.3 with the router interface being 192.168.1.4 b) NAT Translation Table WAN Side LAN Side 24.34.112.235, 4000 192.168.1.1, 3345 24.34.112.235, 4001 192.168.1.1, 3346 24.34.112.235, 4002 192.168.1.2, 3445 24.34.112.235, 4003 192.168.1.2, 3446 24.34.112.235, 4004 192.168.1.3, 3545 24.34.112.235, 4005 192.168.1.3, 3546 Problem 4 (20 Points): To calculate the timeout value the TCP sender uses to trigger a retransmission (if an acknowledgement is not received) an exponential weighted moving average is uses. For this problem you should familiarize yourself with how TCP calculates Estimated RTT. a. Capture 20 individual RTTs from your host to www.umass.edu and store them in an Excel table. SUBMIT the resulting Excel file as additional material with your homework! b. For each of these RTTs calculate EstimatedRTT (α = 0.125) and enter these values also in the table. c. Plot the values for RTT and EstimatedRTT. d. Repeat steps b. and c. for α = 0.25 and α = 0.5.

ECE374: Homework 1 4 a. ping c 20 www.umass.edu ping -c 20 www.umass.edu awk -F " " '{split($7,a,"="); print a[2]}' b. One possible outcome is the one shown below. c. d. Problem 5 (20 Points):

5 Consider the following network. With the indicated link costs, use Djikstra s shortest- path algorithm to compute the shortest path from A to all network nodes. Show how the algorithm works by computing a table below. Figure 3 St ep 0 1 2 3 4 5 6 7 8 9 N D(A),p(A) D(B),p(B) D(C),p(C) D(D),p(D) D(E),p(E) D(F),p(F) D(G),p(G) D(H),p(H) St N D(A),p(A) D(B),p(B) D(C),p(C) D(D),p(D) D(E),p(E) D(F),p(F) D(G),p(G) D(H),p(H)

ECE374: Homework 1 6 ep 0 0, - 1 A - A, 1 A, 4 A, 8 2 AB - A, 1 B, 3 A, 4 B, 7 B, 7 3 ABC - A, 1 B, 3 C, 4 A, 4 B, 7 C, 5 4 ABCD - A, 1 B, 3 C, 4 A, 4 B, 7 C, 5 D, 8 5 ABCDG - A, 1 B, 3 C, 4 A, 4 B, 7 C, 5 D, 8 6 ABCDGF - A, 1 B, 3 C, 4 A, 4 B, 7 C, 5 G, 6 7 ABCDGF - A, 1 B, 3 C, 4 A, 4 B, 7 C, 5 G, 6 E 8 ABCDGF - A, 1 B, 3 C, 4 A, 4 B, 7 C, 5 G, 6 H 9 - A, 1 B, 3 C, 4 A, 4 B, 7 C, 5 G, 6 Problem 6: (14 Points) For this problem consider Figure 4 and answer the following questions. In all cases provide a short discussion justifying your answer. a. For the TCP 1 transmission, identify the time intervals when TCP slow start is operating. b. For the TCP 1 transmission, identify the time intervals when TCP slow start is operating. c. For TCP 1 transmission, identify the time intervals when congestion avoidance is operating. d. For TCP 2 transmission, is the segment loss detected by triple duplicate ACK or by timeout? e. What is the initial value of ssthresh? f. What TCP flavor is shown by the TCP 1 transmission? g. What TCP flavor is shown by the TCP 1 transmission?

7 Figure 5 Network layout for problem 5. Figure 4 a. 0-500 & 1000-1300 b. 0-200 c. 500-900 d. triple duplicate ACK e. 32 f. Tahoe g. Reno