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

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

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

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

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

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

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

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

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

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

Network Layer/IP Protocols

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

EP2120 Internetworking/Internetteknik IK2218 Internets Protokoll och Principer

4. Specifications and Additional Information

Communication and Networks. Problems

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

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

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

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

Course Contents. The TCP/IP protocol Stack

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

TSIN02 - Internetworking

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

ARP, IP. Chong-Kwon Kim. Each station (or network interface) should be uniquely identified Use 6 byte long address

ECE 461 Internetworking Fall Quiz 1

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

End-to-End Communication

Veryx ATTEST TM. Sample Test cases Overview. Conformance Test Suite. Internet Protocol version 4 (IPv4) Part Number: T / TCLS IPv /1.

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

TCP /IP Fundamentals Mr. Cantu

Network Layer PREPARED BY AHMED ABDEL-RAOUF

The cache is 4-way set associative, with 4-byte blocks, and 16 total lines

ECE 4450:427/527 - Computer Networks Spring 2017

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

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

Network Layer, Link Layer, and Network Security Summary

Network Layer: Control/data plane, addressing, routers

IP - The Internet Protocol

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

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2 nd Ed. McGraw Hill, 2006 Latest update of this lecture was on

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

CSCI Computer Networks Fall 2016

IP : Internet Protocol

The Internet Protocol (IP)

Internet Networking recitation #2 IP Checksum, Fragmentation

IPv6 : Internet Protocol Version 6

History. IPv6 : Internet Protocol Version 6. IPv4 Year-Wise Allocation (/8s)

ECE 461 Internetworking Fall Quiz 1

Configuring Routes on the ACE

CS 3516: Advanced Computer Networks

IPv4 Lecture 10a. COMPSCI 726 Network Defence and Countermeasures. Muhammad Rizwan Asghar. August 14, 2017

Computer Network Fundamentals Spring Week 4 Network Layer Andreas Terzis

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061. Lecture 2. Internetworking IPv4, IPv6

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

Interconnecting Networks with TCP/IP

Introduction Layer 3. IP-Header: and RFC-760 Addressing schemes Subnetting Routing. Layer 3 Solution in Trains

II. Principles of Computer Communications Network and Transport Layer

Communication Systems DHCP

Chapter 5 OSI Network Layer

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

Internet Protocol. Outline Introduction to Internet Protocol Header and address formats ICMP Tools CS 640 1

Chapter 4 Network Layer: The Data Plane. Part A. Computer Networking: A Top Down Approach

ZN-DN312XE-M Quick User Guide

IPv4. Christian Grothoff.

CIS 551 / TCOM 401 Computer and Network Security. Spring 2006 Lecture 16

Module 7 Internet And Internet Protocol Suite

Your Name: Your student ID number:

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

Internet Control Message Protocol (ICMP)

Introduction p. 1 The Need for Security p. 2 Public Network Threats p. 2 Private Network Threats p. 4 The Role of Routers p. 5 Other Security Devices

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

Networking: Network Layer

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

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

Network layer: Overview. Network Layer Functions

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

C1098 JPEG Module User Manual

CS 3516: Computer Networks

EE-311 Data Communication & Networks

Technical Specification. Third Party Control Protocol. AV Revolution

RS 232 PINOUTS. 1. We use RJ12 for all of our RS232 interfaces (Link-2-Modbus & Link-2-PC- Serial/RS232). The diagram below shows our pin out.

! ' ,-. +) +))+, /+*, 2 01/)*,, 01/)*, + 01/+*, ) 054 +) +++++))+, ) 05,-. /,*+), 01/-*+) + 01/.*+)

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

CS/ECE 4457 FALL Name: Computing ID: WARM UP. Question 1: What type of transmission mode is depicted in the photo below:

CH. 3 IP FORWARDING AND ROUTING

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

CMPE 80N: Introduction to Networking and the Internet

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

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

Information Network Systems The network layer. Stephan Sigg

CSCI Networking Name:

Lecture 11: Networks & Networking

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

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

CSC 401 Data and Computer Communications Networks

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

Datagram. Source IP address. Destination IP address. Options. Data

Master Course Computer Networks IN2097

ECE 158A: Lecture 7. Fall 2015

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

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

Transcription:

Version 1 1. (25 Points) Given that a frame is formatted as follows: And given that a datagram is formatted as follows: And given that a TCP segment is formatted as follows: Assuming no options are present in the IP header and TCP header, And given the following frame with an encapsulated IP datagram and TCP segment: 78 82 BB 48 0E 30 17 B5 DE CD B7 FD 08 00 45 50 00 72 50 D3 63 DA 51 E4 9A 0E 0A 97 F1 55 C8 F3 D9 D0 EB BE 57 BE 34 8F A4 6C 99 EA 48 50 B5 37 5C 10 FD 42 C0 74 C6 50 47 51 B1 B8 82 F3 AD FD 47 7E 3E 65 E7 DB AE 28 75 C3 29 B9 63 A4 C2 A3 D9 36 C4 C0 3F BF A6 E5 5E 3F BB CE B4 3B 2E C6 09 46 C6 A4 53 A4 B8 03 BE D8 C1 0F 83 0D 87 06 28 84 7E 9A 4F 63 E0 6C 7D D9 10 3D E3 EF EB A5

Version 1 a. Find the source hardware address b. Find the destination hardware address c. What type of frame is this? d. What is the Type Of Service in the IP Header? e. What is the fragment offset? f. What is the TTL count? g. Find the destination IP address h. What class is the destination IP i. What is the network ID in the destination j. What is the host ID in the destination k. Write the destination IP address in dotted decimal notation. l. Find the IP Header Checksum m. Find the source IP address n. What class is the source IP o. What is the network ID in the source p. What is the host ID in the source q. Write the source IP address in dotted decimal notation. r. Find the destination port. s. Find the source port. t. Find the acknowledgment number. u. Find the sequence number. v. What flags are set in the TCP header? w. Find the TCP segment checksum. x. Find the TCP window size. y. What are the first 5 bytes of data encapsulated inside the TCP segment? 2. (25 Points) Each router in the autonomous system shown below starts with a routing table showing the networks that they are directly connected to. The routers exchange routing information using a distance vector protocol. Show the messages that are exchanged and the state of the routing tables after each message. Use the Routing Tables sheet(s).

Version 1 3. (20 Points) Consider a fixed subnet partition of the class B network 179.138.0.0. a. (5 Points) How many bits will be necessary to divide the network into 1012 subnets? b. (5 Points) What is the maximum number of hosts each subnet can have? c. (5 Points) What is the subnet mask in dotted decimal notation? d. (5 Points) Write the dotted decimal IP address of subnet 987, host 59. 4. (20 Points) Given the IP address 175.221.237.215 and the subnet mask of 255.255.252.0. a. (10 Points) What is the network number? b. (5 Points) What is the subnet number? c. (5 Points) What is the host number? 5. (10 Points) Explain Network Address Translation (NAT). What is it? Why do we need it? How does it work? Give examples. Draw diagrams. Be as specific as possible. 6. (10 Points) Explain how both the sender and the receiver control the flow over a TCP connection. Give examples and be as specific as possible. 7. (10 Points) Explain how IPv6 handles fragmentation as it relates to datagrams. Where does it occur? What is the minimum MTU in IPv6? When and where are the fragments reassembled? Give examples and be as specific as possible.

Version 1 This Page Is Intentionally Left Blank

Version 2 1. (25 Points) Given that a frame is formatted as follows: And given that a datagram is formatted as follows: And given that a TCP segment is formatted as follows: Assuming no options are present in the IP header and TCP header, And given the following frame with an encapsulated IP datagram and TCP segment: 78 AB 11 40 1D F1 72 5B 6A BB 43 D0 08 00 45 2B 00 72 C7 7D 38 92 A7 DF 43 CA AC 14 5F 75 0B 59 3F F9 C8 86 22 C4 23 62 3D F2 8C 27 CB 22 62 37 F3 A4 70 08 6D A7 24 D2 71 4A 04 C7 7A 8B 38 85 02 F6 44 6B 91 4B 51 2C 10 31 CB 61 EA 27 87 E4 1A 60 76 66 0D F6 B3 64 16 87 E0 52 98 BF 82 D1 2E 41 19 B6 78 3A 46 19 09 9A DA 65 00 E3 48 CA 65 88 9D B9 B7 5D 38 5B BA 42 C9 A3 7D A5 B0 6E

Version 2 a. Find the source hardware address b. Find the destination hardware address c. What type of frame is this? d. What is the Type Of Service in the IP Header? e. What is the fragment offset? f. What is the TTL count? g. Find the destination IP address h. What class is the destination IP i. What is the network ID in the destination j. What is the host ID in the destination k. Write the destination IP address in dotted decimal notation. l. Find the IP Header Checksum m. Find the source IP address n. What class is the source IP o. What is the network ID in the source p. What is the host ID in the source q. Write the source IP address in dotted decimal notation. r. Find the destination port. s. Find the source port. t. Find the acknowledgment number. u. Find the sequence number. v. What flags are set in the TCP header? w. Find the TCP segment checksum. x. Find the TCP window size. y. What are the first 5 bytes of data encapsulated inside the TCP segment? 2. (25 Points) Each router in the autonomous system shown below starts with a routing table showing the networks that they are directly connected to. The routers exchange routing information using a distance vector protocol. Show the messages that are exchanged and the state of the routing tables after each message. Use the Routing Tables sheet(s).

Version 2 3. (20 Points) Consider a fixed subnet partition of the class B network 169.215.0.0. a. (5 Points) How many bits will be necessary to divide the network into 1015 subnets? b. (5 Points) What is the maximum number of hosts each subnet can have? c. (5 Points) What is the subnet mask in dotted decimal notation? d. (5 Points) Write the dotted decimal IP address of subnet 979 host 55. 4. (20 Points) Given the IP address 176.225.229.219 and the subnet mask of 255.255.252.0. a. (10 Points) What is the network number? b. (5 Points) What is the subnet number? c. (5 Points) What is the host number? 5. (10 Points) Explain Network Address Translation (NAT). What is it? Why do we need it? How does it work? Give examples. Draw diagrams. Be as specific as possible. 6. (10 Points) Explain how both the sender and the receiver control the flow over a TCP connection. Give examples and be as specific as possible. 7. (10 Points) Explain how IPv6 handles fragmentation as it relates to datagrams. Where does it occur? What is the minimum MTU in IPv6? When and where are the fragments reassembled? Give examples and be as specific as possible.

Version 2 This Page Is Intentionally Left Blank