Usable Host Formula (2^H - 2)
Also: usable host formulausable hosts2^h - 2hosts per subnet
Usable hosts per IPv4 subnet = 2^h - 2, where h is the number of host bits; the minus 2 removes the network and broadcast addresses. A /24 has 254, a /26 has 62 and a /30 has 2; a /31 is a special case with 2 usable addresses on point-to-point links, and a /32 is a single host route.
NetworkChuck1
- Day 19 What is a Subnet Mask??? (you NEED to know it!!)
Usable Host Formula (2^H - 2)To find the maximum usable IP addresses in a subnet, take 2 to the power of the number of Host Bits (0s), then subtract 2 (Network ID and Broadcast).
Covered on a concept card
Jeremy's IT Lab5
- Day 14 Subnetting (Part 2)
Usable Host Formula (2^H - 2)Hosts per subnet = 2^n - 2 for n host bits, whereas subnets = 2^x with no subtraction. Each extra host bit doubles the addresses in a subnet.
19:40We also need 250 hosts per subnet, and having 8 host bits allows for 254 hosts per subnet. Okay, before moving on to the quiz let’s do one more ‘identify the subnet’ problem, this time with a class B network.
Said 4× - Day 15 Subnetting (Part 3 - VLSM)
Usable Host Formula (2^H - 2)Always subtract two: a /29 has 8 addresses but only 6 usable, so 8 hosts need a /28. 13 host bits give 8190 hosts and 21 host bits give 2,097,150.
7:48…ngth. Now, how many hosts will be in each subnet? Well, there are 13 host bits remaining, so, that means 8190 hosts per subnet.
Said 3× - Day 08 IPv4 Addressing (Part 2)
Usable Host Formula (2^H - 2)The maximum number of hosts on a network is 2^n - 2, where n is the number of host bits; the two subtracted addresses are the network and broadcast addresses. A /24 gives 254, a /16 gives 65,534 and a /8 gives 16,777,214.
Covered on a concept card - Day 13 Subnetting (Part 1)
Usable Host Formula (2^H - 2)Usable addresses = 2^n - 2, where n is the number of host bits. The formula breaks down at /31, which gives 0 but is usable on point-to-point links, and at /32, which gives -1.
Covered on a concept card - Day 15 Lab Subnetting (VLSM)
Usable Hosts per SubnetUsable hosts = 2^(host bits) - 2, because the network and broadcast addresses cannot be assigned. A /25 gives 126, a /26 gives 62, a /28 gives 14 and a /29 gives 6.
Covered on a concept card
Related terms
Flashcards that test it
NetworkChuckWhat is the formula to calculate the number of usable hosts in a subnet?
2^H - 2 (Where H is the number of 0s/Host bits in the subnet mask).
Jeremy's IT LabWhat formula gives the maximum number of usable hosts on a network?
2^n - 2, where n is the number of host bits (subtract the network and broadcast addresses).
Jeremy's IT LabWhat is /25 in dotted decimal, and how many usable hosts does it have?
255.255.255.128; 126 usable hosts (2^7 - 2).
Jeremy's IT LabWhat is /26 in dotted decimal, and how many usable hosts does it have?
255.255.255.192; 62 usable hosts.
Jeremy's IT LabGive the dotted-decimal mask and usable hosts for /27 and /28.
/27: 255.255.255.224, 30 hosts. /28: 255.255.255.240, 14 hosts.
Jeremy's IT LabGive the dotted-decimal mask and usable hosts for /29 and /30.
/29: 255.255.255.248, 6 hosts. /30: 255.255.255.252, 2 hosts.
Jeremy's IT LabEach of four subnets from 192.168.1.0/24 needs 45 host addresses. Which prefix length is required, and why not /27?
/26 (62 usable hosts). /27 provides only 30 usable hosts.
Jeremy's IT Lab172.18.0.0/16 must provide 250 subnets with 250 hosts each. Which prefix length works?
/24: 8 borrowed bits give 256 subnets, and 8 host bits give 254 usable hosts.