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: C3 84 69 5F 9F FD CC 96 89 E3 D8 3C 08 00 45 08 00 72 EC 0C 33 F4 30 2F B9 57 11 F1 74 56 CB 9F 15 3F 32 7F E6 BF 6A 59 0B 24 0C A6 4A 85 AA 70 7B C7 09 87 52 89 2C 22 A8 AF DB EE D6 43 18 8D C1 1D 77 3D A4 4D 57 C2 2F 6D 08 57 71 8F 8A CE 2C CA 7E F0 F6 85 1C C3 A1 16 03 A7 43 BA F9 B3 47 BB 17 B5 DD D3 95 5A DD 68 A3 16 9E 7E 06 E0 A9 D8 9E 0D C9 EE 2B 15 B5 C6 B4 8E 0B 0B BC 15
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 128.10.0.0 that will accommodate at least 995 subnets. a. (4 Points) How many bits will be necessary to address the 995 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 981, host 49. 4. (15 Points) Given the IP address 189.205.243.179 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. (15 Points) Explain Network Address Translation (NAT). What is it? Why do we need it? How does it work? Give examples. Be as specific as possible. 6. (15 Points) Explain fragmentation as it relates to datagrams. Why is it necessary? Where does it occur? 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: 4C 75 F8 53 0A A3 42 25 D4 AE A9 B9 08 00 45 35 00 72 58 FC 23 2E F3 8A 8C 42 D2 9F 59 AA 62 25 8D 3A BD 3C F9 EF 4F 2E 76 1B 97 32 0A FD 6D 32 E5 C9 AA 31 76 E9 CE 92 CE 92 37 56 7D 32 8F A6 01 17 19 67 D3 C8 64 C4 D2 17 97 76 62 25 59 5D 51 F1 DE 7B 10 EB EF 56 A5 35 BD B8 BF D8 96 10 7D BF 80 63 45 38 CD BC E9 97 3D A1 D8 CD B0 80 FA 7C 71 90 89 76 AF 96 34 17 BA 68 72 9A F0 1A
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 128.10.0.0 that will accommodate at least 4,050 subnets. a. (4 Points) How many bits will be necessary to address the 4,050 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 3,857, host 11. 4. (15 Points) Given the IP address 187.217.229.233 and the subnet mask of 255.255.252.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. (15 Points) Explain Network Address Translation (NAT). What is it? Why do we need it? How does it work? Give examples. Be as specific as possible. 6. (15 Points) Explain fragmentation as it relates to datagrams. Why is it necessary? Where does it occur? When and where are the fragments reassembled? Give examples and be as specific as possible