What is the purpose of a subnet mask in TCP/IP networking?

Asked In: BPSC TRE 3.0

Options

  • A. To identify the network portion of an IP address
  • B. To identify the host portion of an IP address
  • C. To convert IP addresses into domain names
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

D. More than one of the above

Detailed Explanation

Explanation: A subnet mask identifies both the network portion and the host portion of an IPv4 address. For example, in 192.168.1.10 with subnet mask 255.255.255.0, the first 24 bits represent the network portion and the remaining 8 bits represent the host portion. Therefore, options A and B are correct.