What is the network address for host 172.16.45.200 with a /20 mask?
- A172.16.32.0
- B172.16.40.0
- C172.16.48.0
- D172.16.45.0
Show answer and rationale
Correct: A. A /20 mask is 255.255.240.0, so the interesting octet is the third with block size 256 − 240 = 16. Multiples of 16 up to 45 are 0, 16, 32, 48; 45 falls in the 32 block, so the network is 172.16.32.0 and the broadcast is 172.16.47.255.
- D — That would require a /24 or longer mask.
- B — 40 is not a multiple of the block size 16.
- C — 48 is the start of the next block; 45 is below it.