ECE 461 Internetworking Fall Quiz 1

Similar documents
ECE 461 Internetworking Fall Quiz 1

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

CS 458 Internet Engineering Spring First Exam

IP Addresses. IP Addresses

Network Layer/IP Protocols

CIS-331 Final Exam Fall 2015 Total of 120 Points. Version 1

Computer Network Fundamentals Spring Week 4 Network Layer Andreas Terzis

Your Name: Your student ID number:

CH. 3 IP FORWARDING AND ROUTING

Network Layer PREPARED BY AHMED ABDEL-RAOUF

IP Addressing. Introductory material. An entire module devoted to IP addresses. Pedro Brandão (PhD) University of Évora

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model

Exercise Sheet 4. Exercise 1 (Routers, Layer-3-Switches, Gateways)

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1

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

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

IP - The Internet Protocol

CIS-331 Final Exam Spring 2016 Total of 120 Points. Version 1

EP2120 Internetworking/Internetteknik IK2218 Internets Protokoll och Principer

CIS-331 Spring 2016 Exam 1 Name: Total of 109 Points Version 1

Department of Computer Science and Engineering. CSE 3214: Computer Network Protocols and Applications Instructor: N. Vlajic Date: Feb 23, 2016

Networks. an overview. dr. C. P. J. Koymans. Informatics Institute University of Amsterdam. February 4, 2008

cs144 Midterm Review Fall 2010

ECE 158A: Lecture 7. Fall 2015

Chapter 5 OSI Network Layer

CIS-331 Final Exam Spring 2018 Total of 120 Points. Version 1

IPv4 addressing, NAT. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley.

Internet Networking recitation #2 IP Checksum, Fragmentation

CIS-331 Fall 2014 Exam 1 Name: Total of 109 Points Version 1

The Internet Protocol. IP Addresses Address Resolution Protocol: IP datagram format and forwarding: IP fragmentation and reassembly

End-to-End Communication

CC231 Introduction to Networks Dr. Ayman A. Abdel-Hamid. Internet Protocol Suite

The Interconnection Structure of. The Internet. EECC694 - Shaaban

Introduction to Internetworking

EE 610 Part 2: Encapsulation and network utilities

LOGICAL ADDRESSING. Faisal Karim Shaikh.

CIS-331 Exam 2 Spring 2016 Total of 110 Points Version 1

Network Layer: Control/data plane, addressing, routers

CSCI Computer Networks Fall 2016

CIS-331 Exam 2 Fall 2014 Total of 105 Points. Version 1

The Internet Protocol (IP)

Internet Protocol version 6

EC441 Fall 2018 Introduction to Computer Networking Chapter4: Network Layer Data Plane

Chapter 20 Network Layer: Internet Protocol 20.1

Lecture 18 Overview. Last Lecture. This Lecture. Next Lecture. Internet Protocol (1) Internet Protocol (2)

TSIN02 - Internetworking

CS 3516: Computer Networks

CSC 401 Data and Computer Communications Networks

CSE 123: Computer Networks Fall Quarter, 2017 MIDTERM EXAM

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

Inter-networking. Problem. 3&4-Internetworking.key - September 20, LAN s are great but. We want to connect them together. ...

Chapter 3 Internetworking

ECE 358 Project 3 Encapsulation and Network Utilities

14-740: Fundamentals of Computer and Telecommunication Networks

CIS-331 Final Exam Spring 2015 Total of 115 Points. Version 1

EEC-484/584 Computer Networks

Internet Protocol (IP)

CIS-331 Exam 2 Fall 2015 Total of 105 Points Version 1

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

The Network Layer Forwarding Tables and Switching Fabric

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

CS475 Networks Lecture 8 Chapter 3 Internetworking. Ethernet or Wi-Fi).

This talk will cover the basics of IP addressing and subnetting. Topics covered will include:

Lecture 9: Internetworking

IP: Addressing, ARP, Routing

Internetworking Part 2

Solution of Exercise Sheet 4. Exercise 1 (Routers, Layer-3-Switches, Gateways)

1-1. Switching Networks (Fall 2010) EE 586 Communication and. October 25, Lecture 24

Integrated Services. Integrated Services. RSVP Resource reservation Protocol. Expedited Forwarding. Assured Forwarding.

Lecture 11: Fragmentation & Addressing. CSE 123: Computer Networks Stefan Savage

NETWORK LAYER: IP Addressing

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

Vorlesung Kommunikationsnetze

Department of Computer and IT Engineering University of Kurdistan. Network Layer. By: Dr. Alireza Abdollahpouri

McGraw-Hill The McGraw-Hill Companies, Inc., 2000

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

CIS-331 Fall 2013 Exam 1 Name: Total of 120 Points Version 1

CS4450. Computer Networks: Architecture and Protocols. Lecture 13 THE Internet Protocol. Spring 2018 Rachit Agarwal

Review for Chapter 4 R1,R2,R3,R7,R10,R11,R16,R17,R19,R22,R24, R26,R30 P1,P2,P4,P7,P10,P11,P12,P14,P15,P16,P17,P22,P24,P29,P30

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

Quiz. Segment structure and fields Flow control (rwnd) Timeout interval. Phases transition ssthresh setting Cwnd setting

CS 457 Networking and the Internet. Problems. Mechanisms 9/21/16. Fall 2016 Indrajit Ray

Lecture 8. Network Layer (cont d) Network Layer 1-1

CS 43: Computer Networks. 21: The Network Layer & IP November 7, 2018

Linux System Administration

Internet Protocols (chapter 18)

OSI Network Layer. Network Fundamentals Chapter 5. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

SEN366 (SEN374) (Introduction to) Computer Networks

IPv4. Christian Grothoff.

C14a: Internetworks and The Internet

CSCI Networking Name:

ECE 4450:427/527 - Computer Networks Spring 2017

UNIVERSITY OF TORONTO FACULTY OF APPLIED SCIENCE AND ENGINEERING

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

CSCE 463/612 Networks and Distributed Processing Spring 2018

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat no true in practice. administrative autonomy

Lesson 3. IPv4 and IPv6 Protocols. Chapter-4 L03: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

Birkbeck (University of London)

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

Chapter 06 IP Address

Transcription:

ECE 461 Internetworking Fall 2010 Quiz 1 Instructions (read carefully): The time for this quiz is 50 minutes. This is a closed book and closed notes in-class exam. Non-programmable calculators are permitted The only aid permitted are the two aid sheets included in this quiz. Write your answers on the pages provided, using front and back if needed. Use extra sheets if needed. Do not give aid or receive aid from other students. Show all steps of your solutions. Make sure your answers are legible. If we cannot read an answer, we will not grade it. Max Points 1 10 2 10 3 10 4 10 5 10 6 10 Total 60 STAPLE EXTRA SHEETS WITH YOUR SOLUTIONS TO THIS SHEET BEFORE TURNING IN! Name: Email: 1

Problem 1. (10 points) Below is the traffic capture of a packet in hexadecimal notation. The capture consists of an Ethernet II header, followed by an IP header, followed by a TCP header. (Hint: Each digit corresponds to 4 bits.) 00e0 f923 a820 00a0 2471 e444 0800 4500 002c 9d08 4000 8006 8bff 808f 8990 808f 4715 065b 0050 0009 465b 0000 0000 6002 2000 598e 0000 0204 05b4 a. (2 points) Indicate the beginning and end of the IP header. b. (2 points) Provide the value of the Source IP Address and the Destination IP address (Use dotted decimal notation!) c. (2 points) How can you tell that the Ethernet header is followed by an IP header? How can you tell that the IP header is followed by a TCP header? Indicate the relevant information in the captured data. d. (2 points) How can you tell from the captured data that the IP datagram has not been fragmented? Indicate the relevant information in the captured data. e. (2 points) How can you tell that there is no payload following the TCP header? Since there is no payload in the above packet, what is the purpose of this packet? 2

Problem 2. Consider the following figure with four IP subnetworks (A, B, C, D) and three routers (R1, R2, R3). The IP configuration of the router interfaces is indicated. Address: 142.150.11.6 Subnetmask: 255.255.255.0 Address: 142.150.6.11 Subnetmask: 255.255.0.0 Address: 128.100.200.2 Subnetmask: 255.255.192.0 A R1 B R2 C R3 D Address: 142.150.5.36 Subnetmask: 255.255.0.0 Address: 128.100.210.3 Subnetmask: 255.255.192.0 Address: 128.100.236.7 Subnetmask: 255.255.224.0 a. (5 points) Consider the following hosts and their IP addresses: Host IP address H1 142.150.7.23 H2 128.100.197.4 H3 128.100.240.22 For each host, determine the subnetworks, if any, that the host can be placed on. For each feasible placement, provide the name of the subnetwork (A,B,C, D) and the required subnetmask. b. (3 points) Fill up the remaining routing table entries at router R2 (One entry is given.) Network with Prefix Next hop 142.150.11.0 /24 142.150.5.36 c. (2 points) Could two hosts have the same IP address but different subnetmasks? Explain your answer. 3

Problem 3. (10 Points) a. (2 points) Explain why the use of CIDR (Classless Interdomain routing) in the Internet helps to reduce the size of routing tables. b. (2 points) Using CIDR leads to a hierarchical allocation of IP addresses. What is a disadvantage of allocating IP addresses in a hierarchical fashion? Explain. c. (2 points) Express the entire Class B address space using the CIDR notation for IP addresses. d. (4 points) In the following routing table, indicate the entries that result in a match for destination address 128.9.200.20? On which interface will an IP datagram with this destination address be transmitted? Explain. Network with Interface Prefix 128.0.0.0/8 3 128.9.0.0/16 5 128.9.192.0/20 2 128.9.192.0/22 4 128.9.192.0/24 7 128.9.200.0/24 8 128.9.200.0/28 10 128.9.200.16/28 1 128.9.200.16/30 9 128.9.192.8/30 6 4

Problem 4. (10 points) The Path MTU is the smallest MTU of each hop between the source and the destination. In the example below, the path MTU is given by 100 bytes. Source host MTU = 1000 MTU = 100 MTU = 500 router router Destination host 1 a. (4 Points) Explain how a source host that has knowledge of the Path MTU can improve the performance of IP datagram transmissions to a destination host. b. (6 Points) Describe how a source host can take advantage of the ICMP protocol to determine the Path MTU to a destination host. 5

Problem 5. (10 points) IP Fragmentation Consider an IP datagram with the following characteristics: Length of IP header: 20 bytes Total length of IP datagram: 1000 bytes DF flag: 0 MF flag: 0 Fragment offset: 0 Suppose this datagram must be transmitted on a network where the MTU is only 512 bytes. (a) (2 points) Explain why this IP datagram must be fragmented. How many fragments will be created? (b) (6 points) After the fragmentation is performed, provide the value of the following fields for each of the fragments: o Total length (in bytes) o Value of DF flag o Value of MF flag o Value of Fragment offset (as a decimal number) (c) (2 points) What does a router do, if the value of the DF flag of an IP datagram is set to one? 6

Problem 6. (10 points) In the network topology below with seven routers, the objective is that traffic from A to E, traverses the path A-C-D-E and traffic from B to E should traverse the path B-C-F-G-E. A D C E B F G a. (5 points) Describe a key problem in achieving this objective in an IP network. b. (5 points) Propose a method to overcome the problem. 7