Classes Of Ip Address With Example

2 min read

Understanding the Classes of IP Address: A Complete Guide with Examples

In networking, the classification of IPv4 addresses into four distinct classes of IP address—A, B, C, and D—provides essential context for subnet planning, security segmentation, and basic troubleshooting. In practice, this article explains each class, outlines their typical ranges, and supplies practical examples so you can see how these concepts translate into real‑world configurations. Whether you are setting up a home router, designing a corporate LAN, or simply curious about why your ISP assigns certain numbers, mastering these classes will make your work much smoother.

Introduction

The term “classes of IP address” refers to the grouping scheme originally defined by RFC 1510 in the late 1970s. While today most networks operate without explicit class labels, knowing them helps demystify default subnet masks, determines how many usable hosts exist, and informs decisions about private versus public addressing. In this guide we’ll break down each class, describe its characteristics, and walk through several concrete examples.

What Are IP Classes?

  • Historical background: Early routers used fixed prefixes to allocate blocks of addresses efficiently.
  • Purpose: Each class reserves a portion of the address space for its members, ensuring adequate room for host devices.
  • Modern relevance: Though rarely applied manually, understanding classes aids in interpreting subnet masks and CIDR notation.

Subnet Mask and Class Determination

When a device advertises its own subnet mask, it implicitly tells others which part of the address is the network identifier and which part is the host portion. The default mask changes according to the class of the address:

Class First Octet Range Host Bits Typical Default Mask
A 1.0.So 0. But 0 – 126. 255.255.255 8 /8 (255.Day to day, 255. On the flip side, 0. 0)
B 128.And 0. But 0. 0 – 191.254.In real terms, 255. 255 14 /16 (255.255.255.Day to day, 0)
C 192. 0.0.0 – 223.255.Also, 255. 255 16 /24 (255.Even so, 255. 255.0)
D 224.0.0.0 – 239.255.255.

Note: Class D is exclusively for multicast traffic and is never used for ordinary hosts.

Classes Overview

Below is a concise breakdown of each class, including its numeric range and the number of usable host addresses.

Class A

  • Range: 1.0.0.0 to 126.255.255.255
  • First‑octet value: 1–126
  • Host bits: 8 → supports up to 254 individual hosts (2⁸ – 1).
  • Default mask: /8 (255.255.0.0)

Key point: Class A provides the largest block of addresses but offers fewer host slots per subnet Worth keeping that in mind..

Class B

  • Range: 128.0.0.0 to 191.254.255.255
  • Second‑octet value: 128–191
  • Host bits: 14 → supports up to 65,534 hosts (2¹⁴ – 1).
  • Default mask: /16 (255.255.255.0)

Class C

  • Range: 192.0.0.0 to 223.255.255.255
  • Third‑octet value: 192–223
  • Host bits: 16 → supports over 65,000 hosts (2¹⁶ – 1).
  • Default mask: /24 (255.255.255.0)

It's the most common class for everyday networks because it balances address space and host capacity It's one of those things that adds up..

New Releases

What's New

Kept Reading These

You May Find These Useful

Thank you for reading about Classes Of Ip Address With Example. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home