What is subnet mask?

 Posted by Abhisek on 1/28/2010 | Category: Networking Interview questions | Views: 3402

A subnet mask is a 32 bit number like IP address and is also expressed in dotted decimal format. It defines which part of the IP address refer to network address and which to node address.

Each of the classes of IP address used for address assignment has a standard subnet mask associated with it. The default subnet masks are as follow,
Class A ----
Class B ----
Class C ----

The default subnet masks are used when the network does not have any subnet.

N.B:- 0 in the subnet mask represent the node ID and 1(255) represents network ID.

Example:-> Class A IP
| ------->Subnet mask

Here N/W ID is 92 and node ID is 134.56.26

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response