Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
CIS-331 Final Exam Total of 120 Points Spring 2016 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 00 D9 5C 47 D9 09 28 82 72 D0 10 7E 36 46 84 BB 50 EB FD 3E C4 C6 7E 48 D3 BE 42 65 C0 A4 9A 0E 30 63 DA 57 BE C0 74 E7 DB 3F BF 53 A4 4F 63 17 51 34 C6 AE A6 B8 E0 B5 E4 8F 50 28 E5 03 6C DE 9A A4 47 75 5E BE 7D CD 0E 6C 51 C3 3F D8 D9 B7 0A 99 B1 29 BB C1 10 FD 97 EA B8 B9 CE 0F 3D 08 F1 48 82 63 B4 83 E3 00 45 55 C8 50 B5 F3 AD A4 C2 3B 2E 0D 87 EF EB 50 F3 37 FD A3 C6 06 A5 CIS-331 Final Exam Total of 120 Points Spring 2016 Version 1 a. b. c. d. e. f. g. h. i. j. k. l. Find the source hardware address Find the destination hardware address What type of frame is this? What is the Type Of Service in the IP Header? What is the fragment offset? What is the TTL count? Find the destination IP address What class is the destination IP address? What is the network ID in the destination address? What is the host ID in the destination address? Write the destination IP address in dotted decimal notation. Find the IP Header Checksum m. Find the source IP address n. What class is the source IP address? o. What is the network ID in the source address? p. What is the host ID in the source address? 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). CIS-331 Final Exam Total of 120 Points Spring 2016 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. CIS-331 Final Exam Total of 120 Points Spring 2016 Version 1 This Page Is Intentionally Left Blank CIS-331 Final Exam Total of 120 Points Spring 2016 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 00 3F F3 02 1A 2E 65 AB 72 F9 A4 F6 60 41 88 11 C7 C8 70 44 76 19 9D 40 7D 86 08 6B 66 B6 B9 1D 38 22 6D 91 0D 78 B7 F1 92 C4 A7 4B F6 3A 5D 72 A7 23 24 51 B3 46 38 5B DF 62 D2 2C 64 19 5B 6A 43 3D 71 10 16 09 BA BB 43 CA AC F2 8C 4A 04 31 CB 87 E0 9A DA 42 C9 D0 14 27 C7 61 52 65 A3 08 5F CB 7A EA 98 00 7D 00 75 22 8B 27 BF E3 A5 45 0B 62 38 87 82 48 B0 2B 59 37 85 E4 D1 CA 6E CIS-331 Final Exam Total of 120 Points Spring 2016 Version 2 a. b. c. d. e. f. g. h. i. j. k. l. Find the source hardware address Find the destination hardware address What type of frame is this? What is the Type Of Service in the IP Header? What is the fragment offset? What is the TTL count? Find the destination IP address What class is the destination IP address? What is the network ID in the destination address? What is the host ID in the destination address? Write the destination IP address in dotted decimal notation. Find the IP Header Checksum m. Find the source IP address n. What class is the source IP address? o. What is the network ID in the source address? p. What is the host ID in the source address? 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). CIS-331 Final Exam Total of 120 Points Spring 2016 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. CIS-331 Final Exam Total of 120 Points Spring 2016 Version 2 This Page Is Intentionally Left Blank