Subnet Mask and Subnetting


A mask used to determine what subnet an IP address belongs to. An IP address has two components, the network address and the host address. For example, consider the IP address 150.215.017.009. Assuming this is part of a Class B network, the first two numbers (150.215) represent the Class B network address, and the second two numbers (017.009) identify a particular host on this network.
What is Subnetting?

Subnetting enables the network administrator to further divide the host part of the address into two or more subnets. In this case, a part of the host address is reserved to identify the particular subnet. This is easier to see if we show the IP address in binary format.

The full address is:

10010110.11010111.00010001.00001001

The Class B network part is:

10010110.11010111

The host address is:

00010001.00001001

If this network is divided into 14 subnets, however, then the first 4 bits of the host address (0001) are reserved for identifying the subnet.

The subnet mask is the network address plus the bits reserved for identifying the subnetwork — by convention, the bits for the network address are all set to 1, though it would also work if the bits were set exactly as in the network address. In this case, therefore, the subnet mask would be 11111111.11111111.11110000.00000000. It’s called a mask because it can be used to identify the subnet to which an IP address belongs by performing a bitwise AND operation on the mask and the IP address. The result is the subnetwork address:
Subnet Mask 255.255.240.000 11111111.11111111.11110000.00000000
IP Address 150.215.017.009 10010110.11010111.00010001.00001001
Subnet Address 150.215.016.000 10010110.11010111.00010000.00000000

The subnet address, therefore, is 150.215.016.000.

Subnet Calculator

An IP subnet mask calculator is used to automatically calculate subnets. The calculator allows you to input an IP address and choose the Subnet Mask, Network class and other variables to calculate subnet network mask. Results of the calculation will provide the hexadecimal IP address, the wildcard mask, subnet ID, broadcast address and the subnet address range for the resulting subnet network.

There are a number of free online IP Subnet calculators including:

Online IP Subnet Calculator
Web Tools Subnet Mask Calculator Tool
ipcalc
Monitis Subnet Calculator

Read Also:

  • subnotebook computer

    A portable computer that is slightly lighter and smaller than a full-sized notebook computer. Typically, subnotebook computers have a smaller keyboard and screen, but are otherwise equivalent to notebook computers.

  • subscriber identity module

    A subscriber identity module (SIM) is a smart card inside of a GSM cellular phone that encrypts voice and data transmissions and stores data about the specific user so that the user can be identified and authenticated to the network supplying the phone service. The SIM also stores data such as personal phone settings specific […]

  • subscript

    (1) In programming, a symbol or number used to identify an element in an array. Usually, the subscript is placed in brackets following the array name. For example, AR[5] identifies element number 5 in an array called AR. If the array is multidimensional, you must specify a subscript for each dimension. For example, MD[5][3][9] identifies […]

  • subscription computing

    Providers that supply not only network access and a foundation suite of applications but also the complete user environment — including all customer premises equipment — as a package for a monthly subscription.

  • subsidiary right

    Often referred to as simply a subright, in book publishing, a right to use content that is subsidiary to the primary right; for example, film rights or foreign-language translation rights to a book are subsidiary rights.


Disclaimer: Subnet Mask and Subnetting definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.