Question:

What is the default subnet mask for a Class B IP address?

Show Hint

An easy way to remember default subnet masks: Class A has one '255', Class B has two '255's, and Class C has three '255's.
Updated On: Jul 2, 2026
  • 255.0.0.0
  • 255.255.0.0
  • 255.255.255.0
  • 255.255.255.255
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

In the classful IP addressing scheme, IP addresses are divided into classes (A, B, C, D, E). Each class has a default subnet mask that defines which part of the address is the network portion and which part is the host portion.
Class A: The first octet is the network portion, and the remaining three are for hosts. The default subnet mask is 255.0.0.0. (Binary: 11111111.00000000.00000000.00000000)
Class B: The first two octets are the network portion, and the remaining two are for hosts. The default subnet mask is 255.255.0.0. (Binary: 11111111.11111111.00000000.00000000)
Class C: The first three octets are the network portion, and the last one is for hosts. The default subnet mask is 255.255.255.0. (Binary: 11111111.11111111.11111111.00000000)
The question asks for the default subnet mask for a Class B address, which is 255.255.0.0.
Was this answer helpful?
0
0