A firm is assigned the network part 128.171 It selects a 10-bit subnet part a) draw the bits for the first four octets of the IP address of the first host on the first subnet. b) convert this answer to dotted decimal notation. c) Draw the bits for the second host on the third subnet d) convert to dotted decimal e) draw the bits for the last host on the third subnet f) convert to dotted decimal

To answer these questions, we need to understand the concept of IP addressing and subnetting.

In the given scenario, the firm is assigned the network part 128.171 and it wants to have a 10-bit subnet part.

a) To find the bits for the first host on the first subnet, we need to remember that the subnet part determines the number of subnets we can have, and the remaining bits represent the host portion.

Since we have a 10-bit subnet part, this means we can have 2^10 (= 1024) subnets. The first subnet will have all zeros in the subnet part and all zeros in the host part except for the least significant bit, which will represent the first host. So the bits for the first host on the first subnet will be:
```
Network Part: 10000000 . 10101011 . - . -
Subnet Part: 00000000 00
Host Part: 00000000 01
```

b) To convert the binary answer to dotted decimal notation, we group the bits into octets (8 bits) and convert each octet into decimal form. In this case, the first four octets of the IP address for the first host on the first subnet will be:
```
Binary: 10000000 . 10101011 . 00000000 . 00000001
Dotted Decimal: 128 . 171 . 0 . 1
```

c) To find the bits for the second host on the third subnet, we need to increment the host portion by 1. Since this is the third subnet, we need to count the subnets and their hosts.

The bits for the second host on the third subnet will be:
```
Network Part: 10000000 . 10101011 . - . -
Subnet Part: 00000000 11
Host Part: 00000001 10
```

d) To convert the binary answer to dotted decimal notation:
```
Binary: 10000000 . 10101011 . 00000000 . 00000010
Dotted Decimal: 128 . 171 . 0 . 2
```

e) To find the bits for the last host on the third subnet, we need to determine the maximum number of hosts per subnet. Since we have a 10-bit subnet part, the maximum number of hosts per subnet is 2^10 - 2 (subtracting 2 for the network address and the broadcast address).

The bits for the last host on the third subnet will be:
```
Network Part: 10000000 . 10101011 . - . -
Subnet Part: 00000000 11
Host Part: 00000111 01
```

f) To convert the binary answer to dotted decimal notation:
```
Binary: 10000000 . 10101011 . 00000000 . 00000111
Dotted Decimal: 128 . 171 . 0 . 7
```

By following these steps, we can determine the bits and convert them into dotted decimal notation as required.