How to Calculate Hosts Per Subnet

How to Calculate Hosts Per Subnet thumbnail
How to Calculate Hosts Per Subnet

A subnet mask is a TCP/IP networking setting that blocks off specific IP addresses from the rest of the network. Without the use of the subnet mask, all 4,294,967,296 possible IP addresses would need to be considered by the router for every networking connection, which would slow down Internet transactions considerably. The subnet mask uniquely identifies how many hosts are available per subnet.

Instructions

    • 1

      Convert the IP address for the subnet mask you wish to calculate into binary notation. For example, if the subnet mask is 255.255.255.0, that would convert into 11111111.11111111.11111111.00000000.

    • 2

      Perform a logical NOT operation on the binary subnet mask. For example, the NOT operation on the previous subnet mask is: 00000000.00000000.00000000.11111111.

    • 3

      Convert the binary number back into decimal, then add 1. For the example we are using, this number is 256. You must add one in order to include the full range from 0 to 255, or 256 total addresses. One of these addresses will always be assigned to the router handling that subnet.

Related Searches:
  • Photo Credit Jupiterimages/Pixland/Getty Images

Comments

You May Also Like

  • How to Calculate the Number of Hosts Per Subnet

    In computer networking, subnets are used for routing purposes. Internet protocol (IP) networks are sometimes divided into logical subnets, which are parts...

  • How to Calculate a Subnet Address

    An IP address is a 32-bit binary numeric code written in the decimal-dot form that contains network and host parts. The host...

  • How to Calculate the Subnet ID

    In computer networking, a subnet is a section of a network that has been partitioned from other subnets, as part of a...

  • How to Set Up Subnets

    You can divide an IPv4 network address into multiple subnets. Dividing a network is useful to limit traffic on a specific network...

  • How to Calculate Host ID

    Within an Internet Protocol or IP network, every connected host must have both an IP host address and a subnet mask to...

  • How to Calculate the Number of Subnets

    Calculating subnets is a method used to determine how many host machine IP addresses are available. Subnet masks allow administrators to segment...

  • How to Calculate Subnet Range

    Large networks use subnets as a way to segment the client machines connected to the routers. A subnet helps contain a group...

  • How to Calculate Bandwidth Costs

    When searching for a hosting company, calculating your bandwidth needs depends on the type of site you have. For a static page...

  • How to Find a Subnet Mask of a Known IP

    A subnet mask is a number that represents the amount of subnetworks that a single network can be split into. To properly...

Related Ads

Featured