A system engineer is configuring a static IPv4 address for a database server located on a segment designated with a network ID of and a subnet mask of . Company security policy requires that the configured address must be a valid usable host address within the assigned subnet and must also belong to the RFC 1918 private IPv4 address space. Which IPv4 address is a valid host address for this server?
- Answer
- B
- C
- D
Answer
172.30.101.250
The subnet mask creates subnets with a block size of in the third octet. For the network ID , the subnet encompasses through , giving a usable host range of to . The IP address falls cleanly inside this usable host range and is also a valid RFC 1918 private address (within ).
Step-by-Step Solution
Key Concept
IPv4 Subnet Mask Calculation and RFC 1918 Private Address Boundaries