liveBook · Manning

Maximum host count

As explained in Acing the CCNA Exam: Volume 1 Fundamentals and Protocols

The maximum host count is the number of IPv4 addresses in a network that remain assignable after excluding the network and broadcast addresses.

Maximum host count is the number of IPv4 addresses assignable to hosts in a network. It excludes the network address and broadcast address, which are reserved for identifying the network and addressing all hosts. section 7.3.3

Calculate it with 2^y − 2, where y is the number of host bits. A /24 network has eight host bits, so it provides 2^8 − 2 = 254 usable host addresses. section 7.3.3

As the prefix length increases, borrowed bits create more subnets but leave fewer host bits and fewer hosts per subnet:

  • Point-to-point links can use /30 with two host addresses or, where valid, /31 with two addresses and no network or broadcast address. section 11.5

How Acing the CCNA Exam: Volume 1 Fundamentals and Protocols covers it

How deep it goes
Explains the host-bit formula, reserved addresses, subnet-size tradeoffs, and /31 exceptions through worked examples and tables.
Examples
Uses /24, 192.168.1.64/26, prefix-length tables, /8 subnet tables, and point-to-point /30 and /31 links.
What it assumes
Assumes IPv4 addresses and prefix lengths, while defining network, broadcast, usable, and host portions.
What you can do after
Apply the 2^y − 2 formula to calculate usable IPv4 host capacity for networks and subnets.
How it connects
Connects maximum host count to IPv4 addressing, network address, broadcast address, subnetting, prefix length, and VLSM.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 1 Fundamentals and Protocols. The section links point to the parts of the book it draws on.