Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Answer each of the following questions briefly, i.e., in at most a few sentences

ID: 3843478 • Letter: A

Question

Answer each of the following questions briefly, i.e., in at most a few sentences or with figures. a. Show the pocket flows for TCP connection establishment and termination. b. Sketch the 5-layer networking model and briefly describe the function of each layer. c. Consider CRC algorithm used by Ethernet, if 5-bit generator, G = 10011, is used and suppose that D has the traceroute tool works (i.e., what does it do in order to identify the routers that make up an Internet path). Consider the network shown above, consisting of a single router, R1, with three subnets A, B and C, with 14, 18, and hosts respectively on these subnets. a. Suppose all of the interfaces in each of three subnets are required to have the prefix 202.113.16.0/25. Each of subnet should accommodate minimum number of devices as shown in the figure. Provide three network addresses (of the form a. b. c. d/x) that satisfy the constraints b. Assign a specific IP address and MAC address to the host shown in subnet A Internet address and MAC address to the host shown in subnet C, and a MAC address and IP address to each router interface. MAC addresses can be your choice and IP addresses should in the subnet you assigned for Q2.Consider packet sent from the host in subnet A that is destined to the host in subnet IP datagram is contained in an Ethernet frame from the in subnet router R1. Then an Ethernet frame carries this IP datagram from the router host in subnet C. What are the source and destination MAC addresses in the two Ethernet frames? What is the source and destination IP address datagram contained in each of the two Ethernet frames?

Explanation / Answer

Question 2a:

Solution:

For subnet C with requirement of number of address for host 45:

Number of hosts for this subnet is 45 which is not power of 2. The next number of 45 which is power of 2 is 64 = 26.

Therefore subnet mask for this subnet = 32 - log2 64 = 32 - 6 = 26.

For this subnet C the starting address is 202.113.16.0/26 and last address of this subnet is 202.113.16.63/26 (as number of hosts is 64).

For subnet B with requirement of number of address for host 18:

Number of required hosts for this subnet is 18 which is not power of 2. The next number of 18 which is power of 2 is 32 = 25.

Therefore subnet mask for this subnet = 32 - log2 32 = 32 - 5 = 27.

For this subnet B the starting address is 202.113.16.64/27 and last address of this subnet is 202.113.16.95/27 (as number of hosts is 32 ).

For subnet A with requirement of number of address for host 14:

Number of required hosts for this subnet is 14 which is not power of 2. The next number of 14 which is power of 2 is 16 = 24.

Therefore subnet mask for this subnet = 32 - log2 16 = 32 - 4 = 28.

For this subnet A the starting address is 202.113.16.96/28 and last address of this subnet is 202.113.16.111/28 (as number of hosts is 16).

Now we can see that the total number of useful addresses for this network ranges from 202.113.16.0 to 202.113.16.111. Which means from address 202.113.16.112 to 202.113.16.127 i.e 16 addresses are not used for subnetting and are left reserved.