Sticky Banner Visual DesktopSticky Banner Visual Mobile

Only 9 days to kickoff. Get your World Cup VPN: 80% OFF.

Only 9 days to kickoff. Get ready with: 80% OFF. Try it risk-free.

Try it risk-free.

Expressvpn Glossary

Class C IP address

Class C IP address

What is a Class C IP address?

A Class C IP address is a legacy category from the original classful IPv4 addressing system, which divided IP addresses into classes based on network size. In this system, Class C addresses have a first octet from 192 to 223.

Public and private IP ranges of Class C

Within the Class C space, 192.168.0.0 to 192.168.255.255 are non-routable addresses reserved for private networks, such as those used in homes and offices. The remaining addresses within the Class C range are mostly public, though several other blocks are reserved for specific purposes. For example, 203.0.113.0 to 203.0.113.255 is reserved for documentation and example code.

How does a Class C IP address work?

A Class C address uses the first three octets (24 bits) to identify the network and the last octet (8 bits) to identify the host. Because the host portion contains 8 bits, a Class C network can create 256 total addresses, with 254 usable host addresses after reserving the network and broadcast addresses.

In the classful system, the subnet mask was implied by the IP address class. Any address beginning with 192–223 was defined as a Class C network with a /24 subnet mask.the Class C IP address structure broken down

Class C IP address use cases

Class C IP addresses were designed for small networks that need a limited number of devices, such as home networks, small business networks, and small office local area networks (LANs). Today, Class C addressing is primarily used for educational purposes, such as teaching the basics of IPv4 addressing and subnetting.

Why is Class C addressing no longer widely used?

Class C addressing, along with the rest of the classful system, was replaced by Classless Inter-Domain Routing (CIDR). The main reason is that the class-based model divided networks into fixed sizes, which often led to inefficient use of IP addresses.

For example, a Class C network could support only 254 hosts, which could be either too small or larger than needed. CIDR introduced flexible prefix lengths (such as /26, /27, or /28) that allow IP address blocks to be allocated more efficiently.

Some network practitioners use “Class C” as shorthand for any /24 subnet. However, this is technically incorrect, as class is determined by the leading bits of the address, not the prefix length.

Further reading


FAQ

What is the range of a Class C IP address?

Class C IP addresses range from 192.0.0.0 to 223.255.255.255 and were originally designed for smaller networks with up to 254 devices.

How many hosts can a Class C network support?

A Class C network supports a maximum of 254 local hosts.

Is Class C still used today?

Classful addressing, which includes Class C, is mainly used for educational purposes nowadays. It’s no longer used for allocating IP blocks.

What is the default subnet mask for Class C?

The default subnet mask for Class C is 255.255.255.0.

What replaced Class A, B, and C addressing?

Classless Inter-Domain Routing (CIDR) replaced the classful IP addressing system. It allows administrators to allocate IP addresses more efficiently using variable-length subnet masking (VLSM).
Get Started