Exam 1 Review Questions



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

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

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

Internet Packets. Forwarding Datagrams

Answers to Sample Questions on Network Layer

ECE 358: Computer Networks. Solutions to Homework #4. Chapter 4 - The Network Layer

Introduction to IP v6

Final for ECE374 05/06/13 Solution!!

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

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

8.2 The Internet Protocol

IP Addressing Introductory material.

Chapter 9. IP Secure

IP address format: Dotted decimal notation:

Computer Networks - CS132/EECS148 - Spring

Network Layer: Network Layer and IP Protocol

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

IP Addressing. IP Addresses. Introductory material.

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

Internet Protocols Fall Lectures 7-8 Andreas Terzis

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

PART OF THE PICTURE: The TCP/IP Communications Architecture

CS335 Sample Questions for Exam #2

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above

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

Internet Architecture and Philosophy

Lecture Computer Networks

Computer Networks. Lecture 3: IP Protocol. Marcin Bieńkowski. Institute of Computer Science University of Wrocław

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

Homework Assignment #3 Due 11/20 at 5:00pm EE122 Fall 2012

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

IP - The Internet Protocol

Technical Support Information Belkin internal use only

Operating Systems and Networks Sample Solution 1

What is VLAN Routing?

Internetworking II: MPLS, Security, and Traffic Engineering

Dynamic Host Configuration Protocol (DHCP) 02 NAT and DHCP Tópicos Avançados de Redes

netkit lab MPLS VPNs with overlapping address spaces 1.0 S.Filippi, L.Ricci, F.Antonini Version Author(s)

UPPER LAYER SWITCHING

Computer Networks and the Internet

Assignment #3 Routing and Network Analysis. CIS3210 Computer Networks. University of Guelph

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

Referring to the above question, the end-to-end delay (transmission delay plus propagation delay) is

04 Internet Protocol (IP)

Supporting ZDOs with the XBee API

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

CE363 Data Communications & Networking. Chapter 6 Network Layer: Logical Addressing

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

RARP: Reverse Address Resolution Protocol

IP Subnetting and Addressing

Understanding Slow Start

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

CS 457 Lecture 19 Global Internet - BGP. Fall 2011

Network Layer. Introduction Datagrams and Virtual Circuits Routing Traffic Control. Data delivery from source to destination.

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

Guide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP

Transport and Network Layer

Understanding and Configuring NAT Tech Note PAN-OS 4.1

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

20. Switched Local Area Networks

Future Internet Technologies

Transport Layer Protocols

CS 5480/6480: Computer Networks Spring 2012 Homework 4 Solutions Due by 1:25 PM on April 11 th 2012

Internet Protocol Version 6 (IPv6)

IP addressing and forwarding Network layer

Lecture 8. IP Fundamentals

Cisco Configuring Basic MPLS Using OSPF

2. IP Networks, IP Hosts and IP Ports

Network Security TCP/IP Refresher

The Internet. Internet Technologies and Applications

Internet Peering, IPv6, and NATs. Mike Freedman V Networks

Introduction. Abusayeed Saifullah. CS 5600 Computer Networks. These slides are adapted from Kurose and Ross

EECS 489 Winter 2010 Midterm Exam

Vocia MS-1 Network Considerations for VoIP. Vocia MS-1 and Network Port Configuration. VoIP Network Switch. Control Network Switch

Quality of Service in the Internet. QoS Parameters. Keeping the QoS. Traffic Shaping: Leaky Bucket Algorithm

NETWORK LAYER/INTERNET PROTOCOLS

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

Interconnection of Heterogeneous Networks. Internetworking. Service model. Addressing Address mapping Automatic host configuration

Configuring a Load-Balancing Scheme

WAN Data Link Protocols

CS101 Lecture 19: Internetworking. What You ll Learn Today

CompTIA Exam N CompTIA Network+ certification Version: 5.1 [ Total Questions: 1146 ]

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

Savera Tanwir. Internet Protocol

Scaling 10Gb/s Clustering at Wire-Speed

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

1. How many unique network IDs are there in class A addresses? # of unique hosts?

Quality of Service Analysis of site to site for IPSec VPNs for realtime multimedia traffic.

DG Forwarding Algorithm

CSE 123: Computer Networks Fall Quarter, 2014 MIDTERM EXAM

Getting started with IPv6 on Linux

ProCurve Networking IPv6 The Next Generation of Networking

Introduction to IPv6 and Benefits of IPv6

CONTROL MICROSYSTEMS DNP3. User and Reference Manual

Objectives of Lecture. Network Architecture. Protocols. Contents

Chapter 19 Network Layer: Logical Addressing 19.1

Computer Networks Homework 1

How Routers Forward Packets

ICS 351: Today's plan

IPv6 Advantages. Yanick Pouffary.

Transcription:

CSE 473 Introduction to Computer Networks Exam 1 Review Questions Jon Turner 10/2013 1. A user in St. Louis, connected to the internet via a 20 Mb/s (b=bits) connection retrieves a 250 KB (B=bytes) web page from a server in Seattle, where the page references 4 images of 1 MB each. Assume that the one way propagation delay is 25 ms. Approximately how long does it take for the page (including images) to appear on the user s screen, assuming non-persistent HTTP using a single connection at a time (for this part, you should include transmission delay on the user s access link, but you may ignore delays at other network links)? How long does it take if the connection uses persistent HTTP (single connection)? Suppose that the path from the server to the user passes through a 1 Gb/s link at a router R, and that the rate at which packets arrive at router R that must be sent on this link is 475,000 packets per second. If the average packet length is 2,000 bits, what is the average queueing delay at this link? - 1 -

2. Consider a packet with a total length of 250 bytes (including IPv4 header, with no options) and an id field equal to 17, sent from a host A to a host B, passing through routers X and Y. Assume that the subnet where host A is connected has an MTU of 500 bytes, the subnet where host B is connected has an MTU of 80 bytes and the subnet between X and Y has an MTU of 120 bytes. Assuming that the don t fragment flag is not set, how many fragments does router X divide the packet into? What is the length of each fragment? Complete the diagram below so that it represents the first two fragments forwarded by router Y (not X). Fill in all the blanks. id= MF= offset= payload length= bytes id= MF= offset= payload length= bytes Suppose host A sends a 100 byte packet with the don t fragment flag set. Explain what happens to this packet at each of the two routers. - 2 -

3. The table at right represents a forwarding table for an IP router (for simplicity, we are using 8 bit addresses). If a packet arrives with destination address 1010 0110, what output is it sent to, and what is the IP address of the next network-level component to receive the packet? next hop prefix output address 101* 2 1010 1111 0100* 4 0100 0110 0010 0* 6-1010 1* 7-0101 0* 5 0101 0011 1011 00* 3 1011 0000 0101 11* 1 0101 1100 0010 01* 9 - If a packet arrives with destination address 0010 0110, what output is it sent to, and what is the IP address of the next network-level component to receive the packet? If a packet arrives with destination address 1011 0010, what output is it sent to, and what is the IP address of the next network-level component to receive the packet? Draw a diagram of a binary trie that could be used as a lookup data structure for the prefixes in the table. Mark each node that corresponds to a prefix in the table with an X. Be sure to label all edges with 0 or 1. - 3 -

4. The diagram below shows a network with 3 routers (shown as hexagons) connected by an Ethernet switch. The routing table for the left-hand router is shown. Complete the routing table for the right-hand router, so that packets will be delivered appropriately (use no more than 5 route table entries). 1.2.2.9 1.2.2.2 1.2.3.9 1.2.3.8 1 2 3 1.2.5.4 1.2.3.1 1.2.2.8 1 2 1.2.2.1 3 1.2.5.2 1.2.1.8 2 1 1.2.5.1 3 1.2.1.1 1.2.1.9 1.2.3.2 next hop prefix output ip 1.2.2.0/24 2 1.2.5.2 1.2.1.0/24 2 1.2.5.1 1.2.5.0/24 2-1.2.3.0/29 3-1.2.3.8/29 1-1.2.5.3 prefix 1.2.2.0/24 1.2.3.0/24 1.2.5.0/24 1.2.1.2 next hop output ip 1.2.1.0/29 1.2.1.8/29 If a switch was inserted between the host with IP address 1.2.3.2 and its router, how many hosts could be added to that switch, without having to change the routing table entries? What IP addresses would those hosts use? - 4 -

5. In the figure in problem 4, suppose that the server, with IP address 1.2 5.3 is configured to use the right-hand router for its non-local traffic. Assume that the ARP tables for all hosts and routers are empty initially. List all packets that must be sent from one network-level component to another, in order to deliver a packet from the server to the host with IP address 1.2.2.9. For each packet, specify which component sends it and which receives it and give a brief description (for example left router to top router: ARP request for address xyz, or server to top router: data packet ). What packets must be sent when the server sends a second packet to the same host? - 5 -

6. The figure at right shows two residential networks with routers that implement NAT. Suppose host A is connected to the web server at host E. internal (IP,Port) external port E 4.3.2.1 1.2.3.4 5.6.7.8 NATs internal (IP,Port) external port In the left-hand NAT table, add an entry that would allow A to communicate with E. You may choose any port numbers you like. A B C D 10.1.1.1 10.1.1.2 10.1.1.3 10.1.1.4 Show the values of the address and port fields in the diagram below, for a typical packet sent by host A. Show the fields in the packet as it might appear when it reaches E. Suppose the user in the right-hand network wants to run a web server on host D. Add an entry to the right-hand table that would allow remote connections to the web server. Assume host B connects to the web server at D. Add an entry to the left-hand NAT table for this connection. Show the address and port field for a typical packet leaving host B, the fields in the same packet as it passes through the public internet, and the packet that is delivered to D. - 6 -

7. (5 points). The diagram below shows the bytes that define a 32 bit integer and a 16 bit integer as they are stored in a computer s memory. x128 11 x129 22 x12a 33 32 bit value x12b 44 x12c x12d aa bb 16 bit value Assuming that the computer is little-endian, what is the actual value of these two integer variables? You may write the values in hex. What are the values if the computer is big-endian? In what order should these 6 bytes be transmitted over the Internet in each of the two cases? - 7 -

8. The diagram below shows three routers and four layer 2 networks. The table is the routing table for the left-hand router. next hop prefix output ip 4.5.6.0/24 3.2.1.3 7.8.9.0/24-3.2.1.0/24 2-6.5.4.0/24 3.2.1.17 subnet 4.5.6.0/24 subnet 7.8.9.0/24 1 2 subnet 6.5.4.0/24 In three of the entries in the routing table, the output has been left blank. Fill in the missing values. Based on the information in the table, what is the IP address of the interface that connects the top router to the central subnet? What is the IP address of the interface that connects the right-hand router to the central subnet? What is the subnet prefix for the central subnet? - 8 -

9. The figure below shows a network path connecting a server to a client. 200 km 2000 km 2 km X Y 1 Gb/s 1 Gb/s 1 Mb/s What is the propagation delay for a packet going from the server to the client (you may assume that the speed of light is 200,000 km/s)? What is the total transmission delay of a 10,000 bit packet on all of the links? What is the average queueing delay at router X, assuming that the traffic intensity is 1.3, and the buffer can hold 10,000 packets and that the average packet size is 5,000 bits? What is the average queueing delay at router Y, assuming that the traffic intensity is 0.8, and the buffer can hold 100 packets and the average packet size is 5,000 bits? - 9 -