A firm is assigned the network part 128.171. It selects a 10-bit subnet part. a) Draw the bits for the four octets of the IP address of the first host on the first subnet. (Hint: Use Windows Calculator.)

b) Convert this answer into dotted decimal notation.
c) Draw the bits for the second host on the third subnet. (In binary, 2 is 10, while 3 is 11.)
d) Convert this into dotted decimal notation.
e) Draw the bits for the last host on the third subnet.
f) Convert this answer into dotted decimal notation.

a) To find the bits for the first host on the first subnet, we need to know the subnet mask. Since the firm selected a 10-bit subnet part, the subnet mask will have 10 consecutive 1s followed by consecutive 0s.

Therefore, the subnet mask will be: 11111111.11000000.00000000.00000000

To find the bits for the first host on the first subnet, we set all host bits (the bits following the subnet mask) to 0.

The bits for the first host on the first subnet will be: 10000000.10101011.00000000.00000000

b) To convert this answer into dotted decimal notation, we group the bits into 8-bit segments and convert each segment into decimal.

The dotted decimal notation for the first host on the first subnet is: 128.171.0.0

c) To find the bits for the second host on the third subnet, we increment the host bits of the third subnet by 1.

The bits for the second host on the third subnet will be: 10000000.10101011.11000000.00000000

d) To convert this into dotted decimal notation, we group the bits into 8-bit segments and convert each segment into decimal.

The dotted decimal notation for the second host on the third subnet is: 128.171.192.0

e) To find the bits for the last host on the third subnet, we set all host bits (the bits following the subnet mask) to 1.

The bits for the last host on the third subnet will be: 10000000.10101011.11000000.00000001

f) To convert this answer into dotted decimal notation, we group the bits into 8-bit segments and convert each segment into decimal.

The dotted decimal notation for the last host on the third subnet is: 128.171.192.1

To answer these questions, you need to understand how to subnet an IP address and convert binary numbers to dotted decimal notation. Let's go through each question step by step:

a) To find the bits for the four octets of the IP address of the first host on the first subnet, you start by determining the subnet mask. Since the subnet part has 10 bits, the subnet mask would be 255.255.0.0 (11111111.11111111.00000000.00000000 in binary).

Next, you need to find the network address for the subnet. Taking the given network part 128.171 and applying the subnet mask, the network address for the subnet would be 128.171.0.0.

Finally, to find the IP address of the first host on the first subnet, you increment the network address by 1. So the IP address of the first host on the first subnet is 128.171.0.1.

b) Converting this IP address into dotted decimal notation, the answer would be 128.171.0.1.

c) To find the bits for the second host on the third subnet, you start by converting the subnet number 3 into binary. Since 3 is represented as 11 in binary, the subnet bits for the third subnet would be 00000011.

Next, you need to determine the network address for the third subnet. Taking the given network part 128.171 and applying the subnet mask, the network address for the third subnet would be 128.171.64.0.

Finally, to find the IP address of the second host on the third subnet, you increment the network address by 1. So the IP address of the second host on the third subnet is 128.171.64.1.

d) Converting this IP address into dotted decimal notation, the answer would be 128.171.64.1.

e) To find the bits for the last host on the third subnet, you need to determine the number of hosts per subnet. Since the subnet part has 10 bits, there are 2^10 - 2 = 1022 possible hosts per subnet (subtracting 2 for the network and broadcast addresses).

Next, you need to determine the network address for the third subnet (which we found in step c). Taking the network address 128.171.64.0, you can calculate the last host address by adding the number of hosts per subnet minus 1. So the IP address of the last host on the third subnet would be 128.171.64.1021.

f) Converting this IP address into dotted decimal notation, the answer would be 128.171.64.1021.

I hope this explanation helps you understand the process of subnetting an IP address and converting binary numbers to dotted decimal notation.