Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
World desk2 min

What Is a Class C Network? Mask, /24 Prefix, and Host Count

A legacy Class C network implied a /24 prefix and 255.255.255.0 mask. See how the address count works and why modern CIDR uses explicit prefixes.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A Class C network is a legacy classful IPv4 network with a 21-bit network number and 8 bits for local addresses. Its conventional mask is 255.255.255.0, or /24. That block contains 256 address values, of which 254 are ordinarily assignable to hosts. Today, however, IPv4 networks use explicitly configured CIDR prefixes; an address does not determine its network size by class.

What “Class C” means

IPv4 addresses are 32 bits long. In the historical classful system, a Class C address began with the binary bits 110. The class implied that the first 24 bits identified the network and the last 8 bits were available for local addresses.

As an Amazon Associate I earn from qualifying purchases.

In dotted-decimal notation, that implied mask is 255.255.255.0: the first three octets correspond to network bits, and the final octet corresponds to host bits. For example, RFC 4632 gives 192.168.99.0/24 as a legacy Class C example. The /24 says that 24 of the 32 address bits form the prefix.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How many addresses does a Class C /24 have?

With 8 host bits, a /24 contains 28 = 256 total address values. Under conventional IPv4 subnetting, the all-zero host value identifies the network address and the all-one host value is the directed broadcast address. Those two values are not assigned to ordinary hosts, leaving 254 ordinary host addresses.

That 254 figure is the familiar answer for a conventional /24, not a universal rule for every prefix or point-to-point configuration. RFC 4632 describes the historical Class C network as having 254 end systems.

Is Class C the same as /24 today?

Historically, Class C implied a /24. In modern CIDR addressing, the prefix length is written explicitly, so the configured prefix—not an address’s first octet—determines the block size. RFC 4632 explains that explicit classless prefixes allow address blocks to match actual need.

For instance, 192.168.99.0/26 is a /26 block even though the address falls within a range historically associated with Class C. A /26 has 26 prefix bits and 6 remaining address bits, so its block contains 64 address values; the historical class does not turn it into a /24.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Why the term is considered legacy

Class A, B, and C once described fixed network sizes. CIDR replaced those implied boundaries with explicit prefix lengths, allowing blocks of different sizes to be specified and aggregated. As a result, “Class C” remains useful when reading older networking material, but for a current network description, use the actual CIDR notation and mask.

RFC 997, published in 1986, recorded 2,097,152 possible Class C networks in the classful system. This is a historical count, not a current IPv4 allocation statistic. RFC 4632, an IETF Best Current Practice published in August 2006, describes the move toward classless prefixes and flexible block sizing.

Rank #4
IP Subnetting for Beginners: Your Complete Guide to Master IP Subnetting in 4 Simple Steps (Computer Networking Series)
  • IP Subnetting for Beginners: Your Complete Guide to Master IP Subnetting in 4 Simple Steps
  • ABIS BOOK
  • Independently Published

References

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.