A network administrator is assigning a static IPv4 address to a server interface and needs to configure the appropriate subnet mask in dotted-decimal format. The network documentation specifies that the network segment uses a CIDR prefix length. Which of the following dotted-decimal subnet masks corresponds to a prefix?
- Answer
- B
- C
- D
Answer
The subnet mask corresponding to a prefix length is .
A prefix length indicates that 25 bits are allocated to the network portion of the IPv4 address. The first three octets are fully masked ( bits, giving ). The 25th bit is the first bit of the fourth octet (), which evaluates to in decimal. Therefore, the correct subnet mask is .
Step-by-Step Solution
Key Concept
Conversion of IPv4 CIDR prefix length to dotted-decimal subnet mask
Estimated Time:45s