To what subnet does the IP address 10.1.100.50 belong if a subnet mask of 255.255.0.0 is used?

A. 10.1.0.0
B. 10.0.0.0
C. 10.1.100.32
D. 10.1.100.0

Answer :

Sure! Let's determine the subnet to which the IP address 10.1.100.50 belongs, using the given subnet mask of 255.255.0.0.

### Step-by-step Process

1. Convert the IP Address and Subnet Mask to Binary:
- IP Address (10.1.100.50):
- 10 -> `00001010`
- 1 -> `00000001`
- 100 -> `01100100`
- 50 -> `00110010`

- Subnet Mask (255.255.0.0):
- 255 -> `11111111`
- 255 -> `11111111`
- 0 -> `00000000`
- 0 -> `00000000`

2. Perform a Bitwise AND Operation:
- Compare each bit of the IP address with the corresponding bit of the subnet mask:
- `00001010` AND `11111111` = `00001010`
- `00000001` AND `11111111` = `00000001`
- `01100100` AND `00000000` = `00000000`
- `00110010` AND `00000000` = `00000000`

3. Convert the Result Back to Decimal:
- `00001010` -> 10
- `00000001` -> 1
- `00000000` -> 0
- `00000000` -> 0

4. Combine to Get the Network Address:
- The network address, based on the above calculations, is `10.1.0.0`.

So, the subnet to which the IP address 10.1.100.50 belongs, given the subnet mask 255.255.0.0, is 10.1.0.0.