Homework 4. Problems: 3, 10.a, 13, 16, 18, 19, 27a, 28, 35. Question: 3

Similar documents
CSE3214 Computer Network Protocols and Applications

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

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.

Homework 3 assignment for ECE671 Posted: 03/01/18 Due: 03/08/18

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

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

Problem Set 8 Due: Start of Class, November 16

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

Network Layer PREPARED BY AHMED ABDEL-RAOUF

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

EP2120 Internetworking/Internetteknik IK2218 Internets Protokoll och Principer

ECE 428 Internet Protocols (Network Layer: Layer 3)

COM-208: Computer Networks - Homework 6

Networking: Network layer

IPv4. Christian Grothoff.

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

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 13

Network Layer/IP Protocols

CS118 Discussion 1A, Week 6. Zengwen Yuan Dodd Hall 78, Friday 10:00 10:50 a.m.

ECE 158A: Lecture 7. Fall 2015

CS 458 Internet Engineering Spring First Exam

CSCI Computer Networks Fall 2016

Lecture 4 The Network Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

UNIT III THE NETWORK LAYER

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 12

CSCE 463/612 Networks and Distributed Processing Spring 2018

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

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

Homework 3 Discussion

Chapter 4 Network Layer. Network Layer 4-1

Network Technology 1 5th - Network Layer. Mario Lombardo -

Lecture 5 The Network Layer part II. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Network layer: Overview. Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing

Data Communication & Networks G Session 7 - Main Theme Networks: Part I Circuit Switching, Packet Switching, The Network Layer

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

Network layer: Overview. Network Layer Functions

Lecture 3. The Network Layer (cont d) Network Layer 1-1

Network Basic v0.1. Network Basic v0.1. Chapter 3 Internet Protocol. Chapter 3. Internet Protocol

HY 335 Φροντιστήριο 8 ο

Network Layer: Control/data plane, addressing, routers

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

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access

Inter-AS routing and BGP. Network Layer 4-1

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

Computer Networks Prof. Ashok K. Agrawala

Networking: Network Layer

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

Module 3 Network Layer CS755! 3-1!

Da t e: August 2 0 th a t 9: :00 SOLUTIONS

EEC-684/584 Computer Networks

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

II. Principles of Computer Communications Network and Transport Layer

Δίκτυα Υπολογιστών ΙΙ. Κώστας Μαγκούτης Επίκουρος Καθηγητής Τμήμα Μηχανικών Η/Υ και Πληροφορικής Πανεπιστήμιο Ιωαννίνων

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

Chapter 6. The Network Layer

The Internet. 9.1 Introduction. The Internet is a global network that supports a variety of interpersonal and interactive multimedia applications.

IPv6 Protocols and Networks Hadassah College Spring 2018 Wireless Dr. Martin Land

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

Chapter 4: Network Layer, partb

IPv6. IPv4 & IPv6 Header Comparison. Types of IPv6 Addresses. IPv6 Address Scope. IPv6 Header. IPv4 Header. Link-Local

Lecture 4. The Network Layer (cont d)

Department of Computer Science Southern Illinois University Carbondale

CS4/MSc Computer Networking. Lecture 4 The network layer: Forwarding, Routing, IP and Internet routing protocols

internet technologies and standards

Master Course Computer Networks IN2097

CS4/MSc Computer Networking. Lectures 6-8 The network layer: Forwarding, Routing, IP and Internet routing protocols

Summary Chapter 4. Smith College, CSC 249 March 2, q IP Addressing. q DHCP dynamic addressing

Chapter 4: network layer

EE 122 Fall 2010 Discussion Section III 5 October 2010

Manipal Institute of Technology

The Network Layer Forwarding Tables and Switching Fabric

CS 457 Networking and the Internet. Addressing. Topics 9/15/16. Fall 2016 Indrajit Ray

ECE 461 Internetworking Fall Quiz 1

CMPE 80N: Introduction to Networking and the Internet. Katia Obraczka Computer Engineering UCSC Baskin Engineering Lecture 20

Computer Network Fundamentals Spring Week 4 Network Layer Andreas Terzis

EE586 Homework and Laboratory #5 Due November 3, 2010

Chapter 4 Network Layer

NET2-2 Internet Protocol and Routing Network Science Certificate George Mason University

Topics for This Week

CSC 4900 Computer Networks: Routing Algorithms

Routing. Directly Connected IP Networks. Data link layer routing. ifconfig command

Internetworking Terms. Internet Structure. Internet Structure. Chapter 15&16 Internetworking. Internetwork Structure & Terms

EEC-484/584 Computer Networks

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

CSC 4900 Computer Networks: Network Layer

End-to-End Communication

Chapter 4 Network Layer

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

The Network Layer Forwarding Tables and Switching Fabric

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

Internetworking Part 2

Lecture 16: Network Layer Overview, Internet Protocol

Network Layer. Chapter 5 Section 5.1, 5.3, 5.5, 5.6. CS 360 Spring 2012 Pacific University

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

Chapter 19 Network Layer: Logical Addressing

CS4450. Computer Networks: Architecture and Protocols. Lecture 20 Pu+ng ALL the Pieces Together. Spring 2018 Rachit Agarwal

Communication Networks ( ) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner

Chapter 4: Network Layer

Routing. Directly Connected IP Networks. Data link layer routing. ifconfig command

Transcription:

Problems: 3, 10.a, 13, 16, 18, 19, 27a, 28, 35. Homework 4 Question: 3 A bare bones forwarding table in a VC network has four columns. What is the meaning of the values in each of these columns? A bare bones forwarding table in a datagram network has two columns. What is the meaning of the values in each of these columns? Forwarding table in a VC network: Incoming Interface Incoming VC number Outgoing Interface Outgoing VC number Forwarding table in a datagram network: Destination address Outgoing Interface. Question: 10a Consider a datagram network using 32 bit host addresses. Suppose a router has four links, numbered 0 through 3, and packets are to be forwarded to the link interfaces as follows:

a. Provide a forwarding table that has five entries, uses longest prefix matching, and forwards packets to the correct link interfaces. Prefix Match Link Interface 11100000 00 0 11100000 01000000 1 11100001 2 11100000 01000001 2 Otherwise 3 Question: 13 Consider a router that interconnects three subnets: Subnet 1, Subnet 2, and Subnet 3. Suppose all of the interfaces in each of these three subnets are required to have the prefix 223.1.17/24. Also suppose that Subnet 1 is required to support at least 60 interfaces, Subnet 2 is to support at least 90 interfaces, and Subnet 3 is to support at least 12 interfaces. Provide three network addresses (of the form a.b.c.d/x) that satisfy these constraints. 223.1.17/24 (Network ID) 11011111 00000001 00010001???????? Subnet 1 11011111 00000001 00010001 0??????? Subnet 2 11011111 00000001 00010001 10?????? Subnet 3 11011111 00000001 00010001 11??????

All 223.1.17/24 Subnet 1 223.1.17.0/25 Subnet 2 223.1.17.128/26 Subnet 3 223.1.17.192/26 Question: 16 Consider a subnet with prefix 128.119.40.128/26. Give an example of one IP address (of form xxx.xxx.xxx.xxx) that can be assigned to this network. Suppose an ISP owns the block of addresses of the form 128.119.40.64/26. Suppose it wants to create four subnets from this block, with each block having the same number of IP addresses. What are the prefixes (of form a.b.c.d/x) for the four subnets? IP address range: 128.119.40.128 128.119.40.191 Note: 128.119.40.128(last 8 bits: 10000000, reserved address), 128.119.40.191(last 8 bits: 10111111, reserved address, broadcast) Four subnets: 128.119.40.64/28 128.119.40.80/28 128.119.40.96/28 128.119.40.112/28 Question: 18 Use the whois service at the American Registry for Internet Numbers (http://www.arin.net/whois) to determine the IP address blocks for three universities. Can the whois services be used to determine with certainty the geographical location of a specific IP address? Use www.maxmind.com to determine the locations of the Web servers at each of these universities. Geographic locations of where these IP addresses are not tracked and provided by arin s whois service since this service only give contact and registration information, autonomous system numbers (ASN), organizations or customers that are associated with these resources, and related Points of Contact (POC). 1. Arizona State University

2. University of Arizona 3. Franklin W. Olin College of Engineering Arizona State University server in Tempe, AZ

University of Arizona server in Tucson, AZ Franklin W. Olin College of Engineering in Needham, MA Question: 19 Consider sending a 2400 byte datagram into a link that has an MTU of 700 bytes. Suppose the original datagram is stamped with the identification number 422. How many fragments are generated? What are the values in the various fields in the IP datagram(s) generated related to fragmentation? (2400 20)/680 =4 Note: max size of data field in fragment = 700 20 =680. All fragments identification number is 422. All fragments except the last one should be 700 bytes, the last datagram should be 360 bytes. The offset of 4 fragments should be 0, 85, 170, 255. The fragment bit flag of first 3 fragments will be 1, the last fragment bit flag will be 0.

Question: 27a Consider the network shown in Problem P26. Using Dijkstra s algorithm, and showing your work using a table similar to Table 4.3, do the following: a. Compute the shortest path from t to all network nodes. Step N D(x), p(x) D(u),p(u) D(v),p(v) D(w),p(w) D(y),p(y) D(z),p(z) 0 t 2,t 4,t 7,t 1 tu 2,t 4,t 5,u 7,t 2 tuv 7,v 2,t 4,t 5,u 7,t 3 tuvw 7,v 2,t 4,t 5,u 7,t 4 tuvwx 7,v 2,t 4,t 5,u 7,t 15,x 5 tuvwxy 7,v 2,t 4,t 5,u 7,t 15,x 6 tuvwxyz 7,v 2,t 4,t 5,u 7,t 15,x Question: 28 Consider the network shown below, and assume that each node initially knows the costs to each of its neighbors. Consider the distance vector algorithm and show the distance table entries at node z.

From To U V X Y Z V 1 0 3 3 5 X 4 3 0 3 2 Y 2 3 3 0 5 Z 6 5 2 5 0 Question: 35 Describe how loops in paths can be detected in BGP. BGP has built in loop detection via the AS_PATH attribute. The loop can be detected if an AS appears more than one times.