Version 1 Instructions 1. Write your name and version number on the top of the yellow paper and the routing tables sheet. 2. Answer Question 2 on the routing tables sheet. 3. Answer Questions 1, 3, 4, 5, & 6 on the yellow paper. One question per page. Write on one side of the yellow paper only. 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: BE CD 64 67 F5 28 40 E4 CA C3 A9 BE 08 00 45 D3 00 72 2F AA 6B 7E 8B 88 F7 C2 07 1D 49 C3 D5 9B 83 54 D0 92 06 31 92 F0 85 F0 6B D3 DB 75 FD 3B 32 8A 57 F6 35 A6 47 D1 3A 84 4B 97 DF 37 4D D8 60 5D A7 19 2C B4 4A 66 A0 F1 9A 94 BE E7 48 B8 B4 ED AB 5C 71 15 42 59 53 63 F5 66 07 A7 80 BA 26 08 06 8C 21 4D C6 F6 0D 1A 6B 9C 09 2E 6A 83 6C 95 31 6D 03 69 C8 FD 9A 5E F7 62 A6 C6 BA 47
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 156.145.0.0. a. (5 Points) How many bits will be necessary to divide the network into 1000 subnets? b. (5 Points) What is the subnet mask in dotted decimal notation? c. (5 Points) What is the maximum number of hosts each subnet can have? d. (5 Points) Write the dotted decimal IP address of subnet 989 host 55. 4. (20 Points) Given the IP address 185.199.213.188 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. (15 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. (15 Points) Explain how both the sender and the receiver control the flow over a TCP connection. Give examples and be as specific as possible.
Version 2 Instructions 1. Write your name and version number on the top of the yellow paper and the routing tables sheet. 2. Answer Question 2 on the routing tables sheet. 3. Answer Questions 1, 3, 4, 5 &6 on the yellow paper. One question per page. Write on one side of the yellow paper only. 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: 7C EC DA B9 65 AB 37 52 A1 7E 7A FC 08 00 45 0F 00 72 FC F1 2A B0 82 B7 77 37 6D E1 82 6A 8D 60 8F D9 B8 A6 49 01 EA BB 92 09 9A 77 2B FF 6F F1 7B 0D A6 58 09 5F D2 C0 D6 07 30 7F 0E A3 BB 31 2B A3 10 F7 EE CE A7 1A F0 24 A0 41 86 81 11 70 4A 49 9E 26 A1 D7 DD 2F AF DA 4E A7 39 08 C4 5C D5 B8 79 B5 D6 3E 07 40 01 B9 9C 05 CE 98 F6 9E 92 B3 C0 82 FE DB 92 0B 28 FA F4 FE 66 E1 6A BF
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 159.223.0.0. a. (5 Points) How many bits will be necessary to divide the network into 1010 subnets? b. (5 Points) What is the subnet mask in dotted decimal notation? c. (5 Points) What is the maximum number of hosts each subnet can have? d. (5 Points) Write the dotted decimal IP address of subnet 999 host 51. 4. (20 Points) Given the IP address 189.201.217.199 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. (15 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. (15 Points) Explain how both the sender and the receiver control the flow over a TCP connection. Give examples and be as specific as possible.