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

Programming?

Same question answered by - Matt , Monday, April 28, 2014 at 11:24am

a) Draw the bits for the four octets of the IP address of the first host on the first subnet.
10000000.10101011.00000000.00000001

b) Convert this answer into dotted decimal notation.
128.171.0.1

c) Draw the bits for the second host on the third subnet.
10000000.10101011.00000000.10000010

d) Convert this into dotted decimal notation.
128.171.0.130

e) Draw the bits for the last host on the third subnet.
10000000.10101011.00000000.10111110

f) Convert this answer into dotted decimal notation.
128.171.0.190

To calculate the IP address of the first host on the first subnet, you need to start with the assigned network part, which is 128.171, and determine the subnet part based on the given 10 bits.

Here's how you can calculate the IP address of the first host on the first subnet:

1. Write down the assigned network part in binary format:
- The network part 128.171 can be represented as 10000000.10101011

2. Determine the 10-bit subnet part:
- Since you've selected a 10-bit subnet part, you'll need to choose a 10-bit binary number. For example, let's use all zeroes for simplicity: 0000000000.

3. Combine the network part and the subnet part:
- Append the 10-bit subnet part to the network part: 10000000.10101011.0000000000

4. Convert the combined binary number back to decimal format:
- Break the binary number into four octets (each octet consists of 8 bits): 10000000.10101011.00000000.00000000
- Convert each octet to decimal format: 128.171.0.0

5. Determine the first host on the first subnet:
- Increment the last octet (subnet part) by 1 to get the IP address of the first host: 128.171.0.1

Therefore, the IP address of the first host on the first subnet is 128.171.0.1.