Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6961:Internet Protocols Quiz 1: Solutions Time: 60 min (strictly enforced) Points: 50 YOUR.

Slides:



Advertisements
Similar presentations
IP Forwarding Relates to Lab 3.
Advertisements

Discussion Monday ( ). ver length 32 bits data (variable length, typically a TCP or UDP segment) 16-bit identifier header checksum time to live.
Network Layer – IPv4 Dr. Sanjay P. Ahuja, Ph.D.
CSCI 4550/8556 Computer Networks Comer, Chapter 23: An Error Reporting Mechanism (ICMP)
Chapter 20 Network Layer: Internet Protocol Stephen Kim 20.1.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 5-1 Internet Protocol (IP): Packet Format, Fragmentation, Options Shivkumar Kalyanaraman Rensselaer.
IP Suite© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science Department.
Rensselaer Polytechnic Institute © Shivkumar Kalvanaraman & © Biplab Sikdar 1 ECSE-4670: Computer Communication Networks (CCN) Network Layer Shivkumar.
11- IP Network Layer4-1. Network Layer4-2 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Quiz 1 Time: 60 min (strictly enforced) Points: 50 YOUR NAME (1.
Shivkumar KalyanaramanRensselaer Q1-1 Internet Protocols: Quiz 1 q This quiz consists of true/false questions for 25 pts and two quantitative problems.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Informal Quiz 1 True or False? T F  The structure of MAC addresses facilitates performance.
Spring 2003CS 4611 Internetworking COS 461 Spring 2003.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6961:Internet Protocols Quiz 1 Time: 60 min (strictly enforced) Points: 50 YOUR NAME: Be.
Shivkumar KalyanaramanRensselaer Q1-1 ECSE-6600: Internet Protocols Quiz 1 Time: 60 min (strictly enforced) Points: 50 YOUR NAME: Be brief, but DO NOT.
CS335 Networking & Network Administration Tuesday, May 11, 2010.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Informal Quiz 1 True or False? T F  The structure of MAC addresses facilitates scalability.
Spring 2002CS 4611 Internetworking Outline Best Effort Service Model Global Addressing Scheme.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-1 Internetworking: addressing, forwarding, resolution, fragmentation Shivkumar Kalyanaraman Rensselaer.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Internet Control Message Protocol (ICMP) Shivkumar Kalyanaraman Rensselaer Polytechnic Institute.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Quiz 1 SOLUTIONS Time: 60 min (strictly enforced) Points: 50 YOUR.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-4670: Computer Communication Networks (CCN) Informal Quiz 2 Shivkumar Kalyanaraman:
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Informal Quiz 2 True or False? T F  The IP checksum protects the entire IP datagram 
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
Chapter 4: Managing LAN Traffic
IP tutorial – #1 KAIST Dept. of CS NC Lab..
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
The Network Layer. Network Projects Must utilize sockets programming –Client and Server –Any platform Please submit one page proposal Can work individually.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_a
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Internet Control Message Protocol (ICMP) Shivkumar Kalyanaraman Rensselaer Polytechnic Institute.
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Informal Quiz #03 SOLUTIONS Shivkumar Kalyanaraman: GOOGLE: “Shiv.
CMPT 471 Networking II Address Resolution IPv4 ARP RARP 1© Janice Regan, 2012.
10/8/2015CST Computer Networks1 IP Routing CST 415.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Network Fundamentals.
TCOM 515 IP Routing. Syllabus Objectives IP header IP addresses, classes and subnetting Routing tables Routing decisions Directly connected routes Static.
Chapter 81 Internet Protocol (IP) Our greatest glory is not in never failing, but in rising up every time we fail. - Ralph Waldo Emerson.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 21.
Network Layer4-1 Datagram networks r no call setup at network layer r routers: no state about end-to-end connections m no network-level concept of “connection”
Lecture 4 Overview. Ethernet Data Link Layer protocol Ethernet (IEEE 802.3) is widely used Supported by a variety of physical layer implementations Multi-access.
CSC 600 Internetworking with TCP/IP Unit 5: IP, IP Routing, and ICMP (ch. 7, ch. 8, ch. 9, ch. 10) Dr. Cheer-Sun Yang Spring 2001.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Exam 2 Time: 80 min (strictly enforced) [Hint: spend time roughly.
1 Internetworking: IP Packet Switching Reading: (except Implementation; pp )
1 Internetworking Outline Best Effort Service Model Global Addressing Scheme.
Network Layer Protocols COMP 3270 Computer Networks Computing Science Thompson Rivers University.
1 COMP 431 Internet Services & Protocols The IP Internet Protocol Jasleen Kaur April 21, 2016.
IP Internet Protocol. IP TCP UDP ICMPIGMP ARP PPP Ethernet.
Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Introduction to Networks
Computer Communication Networks
IP - The Internet Protocol
IP Forwarding Covers the principles of end-to-end datagram delivery in IP networks.
IP - The Internet Protocol
CS 457 – Lecture 10 Internetworking and IP
Internetworking Outline Best Effort Service Model
IP Forwarding Relates to Lab 3.
Chapter 20. Network Layer: IP
Net 323 D: Networks Protocols
Introduction to Networks
IP Forwarding Relates to Lab 3.
ECSE-4670: Computer Communication Networks (CCN)
Networking and Network Protocols (Part2)
IP Forwarding Relates to Lab 3.
ITIS 6167/8167: Network and Information Security
NET 323D: Networks Protocols
Review of Internet Protocols Network Layer
Presentation transcript:

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6961:Internet Protocols Quiz 1: Solutions Time: 60 min (strictly enforced) Points: 50 YOUR NAME: Be brief, but DO NOT omit necessary detail Time: 60 min (strictly enforced) Points: 50 YOUR NAME: Be brief, but DO NOT omit necessary detail

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 2 True or False? [2*15 = 30] T or F [0.5 points ]. If false, state the correct explanation/reason. [1.5 pts ]. It is a good idea to justify anyway - right ideas earn partial credit.    In a layered model, the interfaces between layers change more often than the technologies used between interfaces False: the technologies change more often than interfaces.     A point-to-point link always needs two addresses - one for each endpoint. No. A network with just a point to point link requires no addresses.     A multi-homed node always needs a table to figure out which output port to send a given packet. No, in a fully meshed network, we could use the same address for destination and output port. True or False? [2*15 = 30] T or F [0.5 points ]. If false, state the correct explanation/reason. [1.5 pts ]. It is a good idea to justify anyway - right ideas earn partial credit.    In a layered model, the interfaces between layers change more often than the technologies used between interfaces False: the technologies change more often than interfaces.     A point-to-point link always needs two addresses - one for each endpoint. No. A network with just a point to point link requires no addresses.     A multi-homed node always needs a table to figure out which output port to send a given packet. No, in a fully meshed network, we could use the same address for destination and output port.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 3 T F     Connection-oriented means a path is reserved across the network to the destination. False. A socket pair association is enough to form a connection.    As a packet goes through the Internet, some IP header fields are never modified. False. TTL, checksum fields are always modified.   ARP is used because static table-based address translation involves high administrative cost. True. Eg: machine moves from one net to another.   Transport layer protocols are required minimally because network layer protocols don’t provide connection-oriented transmission. False. Because network layers don’t provide enough application level address space. T F     Connection-oriented means a path is reserved across the network to the destination. False. A socket pair association is enough to form a connection.    As a packet goes through the Internet, some IP header fields are never modified. False. TTL, checksum fields are always modified.   ARP is used because static table-based address translation involves high administrative cost. True. Eg: machine moves from one net to another.   Transport layer protocols are required minimally because network layer protocols don’t provide connection-oriented transmission. False. Because network layers don’t provide enough application level address space.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 4    A collision domain boundaries define the boundaries of an Ethernet LAN False. Broadcast domain marks the boundaries.    An address hierarchy which does not match the routing hierarchy is not aggregatable. True. Eg: naming or administrative hierarchies.    The end-to-end principle is being complemented by the edge-to-edge principle because some functions (like billing) cannot be trusted to end systems. True.    A subnet mask tells us which bits of the IP address form the network address. True.    A collision domain boundaries define the boundaries of an Ethernet LAN False. Broadcast domain marks the boundaries.    An address hierarchy which does not match the routing hierarchy is not aggregatable. True. Eg: naming or administrative hierarchies.    The end-to-end principle is being complemented by the edge-to-edge principle because some functions (like billing) cannot be trusted to end systems. True.    A subnet mask tells us which bits of the IP address form the network address. True.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 5     The reason header length, fragment offset and datagram length fields in the IP headers use different units is because the designers could not agree on a common units. False: It is a header encoding issue.    SLIP supports dynamic IP address assignment False. PPP does. With a just framing bytes, this functionality is not possible.    When a header checksum error is detected, IP drops the packet and reports the error to the source False. IP does not report this error. In any case, ICMP is used to report errors.    Batching is used to tradeoff throughput when response time is critical. False. You use batching when response time can be traded off.     The reason header length, fragment offset and datagram length fields in the IP headers use different units is because the designers could not agree on a common units. False: It is a header encoding issue.    SLIP supports dynamic IP address assignment False. PPP does. With a just framing bytes, this functionality is not possible.    When a header checksum error is detected, IP drops the packet and reports the error to the source False. IP does not report this error. In any case, ICMP is used to report errors.    Batching is used to tradeoff throughput when response time is critical. False. You use batching when response time can be traded off.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 6 q 1. [3 pts] Consider the non-meshed, but fully reachable network below. Because of forwarding, the network seems to be like a virtual meshed network where each host has a virtual link to every other host. Where is the multiplexing and indirection done to provide this virtualization? The intermediate nodes are multiplexed and the forwarding table at each node provides indirection from the address space to an outgoing port. q 1. [3 pts] Consider the non-meshed, but fully reachable network below. Because of forwarding, the network seems to be like a virtual meshed network where each host has a virtual link to every other host. Where is the multiplexing and indirection done to provide this virtualization? The intermediate nodes are multiplexed and the forwarding table at each node provides indirection from the address space to an outgoing port.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 7 q 3. [7 pts] How does IP solve the internetworking problems of heterogeneity and scale ? Discuss how the issues of address resolution, address space aggregation, and fragmentation arise, and how they relate to the above problems? IP uses the overlay approach to internetworking. By this we mean that it defines a new address space, a common datagram format, a best-effort connectionless, unreliable service offering and supports these semantics over heterogeneous networks through the protocol actions. The new common address space is hierarchically organized to support aggregation through the subnet mask mechanism - this is done for scaling of router table sizes and routing traffic. The new address space has to be mapped to physical addresses for forwarding a datagram to the next hop - need address resolution. This relates to the heterogeneity problem. IP packets may be as large as 64KB and the transfer is connectionless. Under these conditions fragmentation/reassembly is necessary to support the packet format with expectation of delivery over heterogeneous networks. q 3. [7 pts] How does IP solve the internetworking problems of heterogeneity and scale ? Discuss how the issues of address resolution, address space aggregation, and fragmentation arise, and how they relate to the above problems? IP uses the overlay approach to internetworking. By this we mean that it defines a new address space, a common datagram format, a best-effort connectionless, unreliable service offering and supports these semantics over heterogeneous networks through the protocol actions. The new common address space is hierarchically organized to support aggregation through the subnet mask mechanism - this is done for scaling of router table sizes and routing traffic. The new address space has to be mapped to physical addresses for forwarding a datagram to the next hop - need address resolution. This relates to the heterogeneity problem. IP packets may be as large as 64KB and the transfer is connectionless. Under these conditions fragmentation/reassembly is necessary to support the packet format with expectation of delivery over heterogeneous networks.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 8 q 2) a) (10 pts) An IP datagram of length (incl header) 1800 bytes needs to cross an Ethernet (MTU = 1500B) followed by a WAN (MTU = 576B). How many fragments reach the destination ? What are the values of the More bit, Offset, and Length fields in each fragment ? IP Datagram 1800B => payload = 1780B > Enet MTU = 1500B => Max IP payload = 1480B (1500B - 20B), also a multiple of 8 1st fragment: Length = (1480B + 20B) = 1500B; MF set; Fragoff = 0 2nd fragment: Length = (300B + 20B) = 320B; MF not set; Fragoff (13-bit quantity) = 1480 >> 3 = 185 WAN MTU = 576B => 1st fragment needs to be fragmented again. Nearest multiple of 8 to (576B - 20B = 556B) is 552B. Fragment 1a: Length = (552B + 20B) = 572B; MF set; Fragoff = 0 Fragment 1b: Length = (552B + 20B) = 572B; MF set; Fragoff = 69 Fragment 1c: Length = (376B + 20B) = 396B; MF set; Fragoff = 138 Fragment 2 not fragmented further. Ans: Four fragments reach the destination with the fields highlighted above. q 2) a) (10 pts) An IP datagram of length (incl header) 1800 bytes needs to cross an Ethernet (MTU = 1500B) followed by a WAN (MTU = 576B). How many fragments reach the destination ? What are the values of the More bit, Offset, and Length fields in each fragment ? IP Datagram 1800B => payload = 1780B > Enet MTU = 1500B => Max IP payload = 1480B (1500B - 20B), also a multiple of 8 1st fragment: Length = (1480B + 20B) = 1500B; MF set; Fragoff = 0 2nd fragment: Length = (300B + 20B) = 320B; MF not set; Fragoff (13-bit quantity) = 1480 >> 3 = 185 WAN MTU = 576B => 1st fragment needs to be fragmented again. Nearest multiple of 8 to (576B - 20B = 556B) is 552B. Fragment 1a: Length = (552B + 20B) = 572B; MF set; Fragoff = 0 Fragment 1b: Length = (552B + 20B) = 572B; MF set; Fragoff = 69 Fragment 1c: Length = (376B + 20B) = 396B; MF set; Fragoff = 138 Fragment 2 not fragmented further. Ans: Four fragments reach the destination with the fields highlighted above.