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

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

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

CIS-331 Final Exam Spring 2018 Total of 120 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 2013 Exam 1 Name: Total of 120 Points Version 1

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

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

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

Network Layer/IP Protocols

EP2120 Internetworking/Internetteknik IK2218 Internets Protokoll och Principer

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

Communication and Networks. Problems

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

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

ECE 4450:427/527 - Computer Networks Spring 2017

ECE 461 Internetworking Fall Quiz 1

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

End-to-End Communication

TSIN02 - Internetworking

4. Specifications and Additional Information

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

Network Layer PREPARED BY AHMED ABDEL-RAOUF

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

ECE 461 Internetworking Fall Quiz 1

Network Layer: Control/data plane, addressing, routers

TCP /IP Fundamentals Mr. Cantu

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

Network Layer, Link Layer, and Network Security Summary

Course Contents. The TCP/IP protocol Stack

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

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

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

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

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

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

IPv6 : Internet Protocol Version 6

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

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

IPv4. Christian Grothoff.

Networking Basics. EC512 Spring /15/2015 EC512 - Prof. Thomas Skinner 1

Internet Networking recitation #2 IP Checksum, Fragmentation

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

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

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

EE-311 Data Communication & Networks

ECE 158A: Lecture 7. Fall 2015

EE 122 Fall 2010 Discussion Section III 5 October 2010

Lecture 11: Networks & Networking

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

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

CH. 3 IP FORWARDING AND ROUTING

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

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

CSCI Computer Networks Fall 2016

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

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

IP : Internet Protocol

SEN366 (SEN374) (Introduction to) Computer Networks

The Internet Protocol (IP)

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

Computer Networking: A Top Down Approach Featuring the. Computer Networks with Internet Technology, William

IP - The Internet Protocol

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

Network layer: Overview. Network Layer Functions

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

CSC 401 Data and Computer Communications Networks

Networking: Network Layer

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

Module 7 Internet And Internet Protocol Suite

CS 3516: Computer Networks

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

CS 3516: Advanced Computer Networks

Computer Network Fundamentals Spring Week 4 Network Layer Andreas Terzis

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

UNIVERSITY OF TORONTO FACULTY OF APPLIED SCIENCE AND ENGINEERING

CS 458 Internet Engineering Spring First Exam

Recap. Recap. Internetworking. First mile problem. Internet. End Users. Last mile problem. Direct link networks Packet switching.

Subnet Masks. Address Boundaries. Address Assignment. Host. Net. Host. Subnet Mask. Non-contiguous masks. To Administrator. Outside the network

Internet Protocol (IP)

BSc (Hons) Business Information Systems, BSc (Hons) Computer Science with Network Security. Cohort: BIS/16B/FT & BCNS/16B/FT

Chapter 20 Network Layer: Internet Protocol 20.1

INTERNET SYSTEM. Internet Protocol. Kent State University Dept. of Computer Science. CS 4/55231 Internet Engineering. Large Scale Networking

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

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

Communication Systems DHCP

Outline. IP Address. IP Address. The Internet Protocol. o Hostname & IP Address. o The Address

Lecture 9: Internetworking

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

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

CMPE 80N: Introduction to Networking and the Internet

IPv6 is Internet protocol version 6. Following are its distinctive features as compared to IPv4. Header format simplification Expanded routing and

Planning for Information Network

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

TSIN02 - Internetworking

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

Interconnecting Networks with TCP/IP

Lecture 16: Network Layer Overview, Internet Protocol

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: 58 40 38 F9 B7 3B E7 E3 0C 51 77 4F 08 00 45 D4 00 72 5A 2F 36 FF A1 2C 72 17 8F 25 A9 5B 0B F2 E4 B8 5F 5C 9A 8D 7C 66 E0 96 3E DB BE AE 22 31 B5 00 93 5E 0A 68 4F 60 2B 8D F6 A3 B9 77 79 5C 1B 2C CA 40 6C 28 49 CF 7F D8 E6 D5 14 14 5A F6 AB 76 55 A8 1A F9 D8 35 EC DC 66 0A D0 4A 18 FE 69 C1 3F 73 B2 84 F9 E6 37 2F 0D F8 89 63 6F 3E CB 08 C7 2D 96 A8 90 6C F2 F6 01 35 4C 5C 11 6E

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 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 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 175.122.0.0. a. (4 Points) How many bits will be necessary to divide the network into 2015 subnets? b. (4 Points) What is the subnet mask in dotted decimal notation? c. (4 Points) What is the maximum number of hosts each subnet can have? d. (8 Points) Write the dotted decimal IP address of subnet 1999, host 25. 4. (15 Points) Given the IP address 169.222.219.230 and the subnet mask of 255.255.254.0. a. (5 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 IPv4 handles fragmentation as it relates to datagrams. Why is it necessary? What is the maximum MTU in IPv4 Ethernet networks? Where does it occur? When and where are the fragments reassembled? 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 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: A4 74 C2 74 53 B8 93 E9 DD B5 49 E4 08 00 45 9A 00 72 A4 17 44 F2 87 FE F3 9F 53 A1 01 CA 9D CE C6 E5 A6 E3 CD 2F 22 7E BB F8 0C 2A A3 74 CE 34 24 24 F4 96 E7 46 9D 38 85 EE 1F 48 8B 58 96 F7 15 F0 05 C6 C4 A9 54 97 5D 0C 47 A2 C9 CE 65 8F 5C 71 63 9F 2F 35 96 D9 78 31 B7 E0 53 96 1A EC 2D 5A 1B 64 F3 50 3C 93 43 33 B9 E4 EB C5 4C 18 C9 D3 E8 B1 F8 FE A0 00 79 7B 5B F3 24 C2 C0 C0

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 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 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 162.210.0.0 that will accommodate at least 4,050 subnets. a. (4 Points) How many bits will be necessary to divide the network into 2015 subnets? b. (4 Points) What is the subnet mask in dotted decimal notation? c. (4 Points) What is the maximum number of hosts each subnet can have? d. (8 Points) Write the dotted decimal IP address of subnet 2001 host 27. 4. (15 Points) Given the IP address 165.230.229.219 and the subnet mask of 255.255.254.0. a. (5 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 IPv4 handles fragmentation as it relates to datagrams. Why is it necessary? What is the maximum MTU in IPv4 Ethernet networks? Where does it occur? When and where are the fragments reassembled? 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.