107k views
3 votes
What is the formula for determining the number of possible hosts on a network?

1 Answer

3 votes
2**(32 - netmask) - 2 = number of nodes available

The netmask is in CIDR (Common Internet Domain Routing) notation, without the slash.

One of the nodes would be needed for a router or else you can't communicate with other networks.
User TheLeonKing
by
8.6k points