ipdetecto.com logo
ipdetecto.com
My IPSpeed
Knowledge Hub
HomeKnowledge HubIp Range
© 2026 ipdetecto.com
support@ipdetecto.comAboutContactPrivacyTermsllms.txt
Basics
5 MIN READ
Apr 13, 2026

What Is an IP Address Range? How Networks Are Segmented

An IP address range is a contiguous block of IP addresses assigned to a network or organization, defined by CIDR notation. Understanding ranges is essential for subnetting, firewall rules, and network design.

What an IP Address Range Is and Why It Matters

An IP address range is a contiguous block of IP addresses that share the same network prefix. Every network, from a home Wi-Fi router to a major cloud provider's data center, is defined by a range. Routing tables, firewall rules, access control lists, and geographic IP databases all operate on ranges rather than individual addresses. Understanding how ranges work is a prerequisite for subnetting, network design, and any serious security configuration.

In modern networking, IP ranges are expressed in CIDR notation (Classless Inter-Domain Routing), which compactly encodes both the network address and the number of significant prefix bits. A range written as 192.168.1.0/24 means the first 24 bits are the network prefix, and the remaining 8 bits identify individual hosts within that range. This gives you 256 total addresses (192.168.1.0 through 192.168.1.255), of which 254 are usable for hosts (the first is the network address and the last is the broadcast address).

How IP Ranges Are Calculated

The subnet mask is the other way to express a range boundary. A /24 corresponds to the subnet mask 255.255.255.0. A bitwise AND of any address in the range with the subnet mask produces the network address. For example:

  • 192.168.1.75 AND 255.255.255.0 = 192.168.1.0 (the network address)
  • The broadcast address is the network address with all host bits set to 1: 192.168.1.255
  • Usable host range: 192.168.1.1 through 192.168.1.254

The number of usable host addresses in a range is always 2^(32 - prefix_length) - 2. For a /24 that is 2^8 - 2 = 254. For a /16 that is 2^16 - 2 = 65,534.

Reserved IP Ranges and Their Purposes

Not all IP ranges are available for public use. Several blocks are permanently reserved by IANA (Internet Assigned Numbers Authority) for specific functions:

  • 10.0.0.0/8 — Private use (RFC 1918). Over 16 million addresses for internal networks.
  • 172.16.0.0/12 — Private use (RFC 1918). Covers 172.16.0.0 through 172.31.255.255, approximately 1 million addresses.
  • 192.168.0.0/16 — Private use (RFC 1918). The most common home and small office range.
  • 127.0.0.0/8 — Loopback. Traffic sent to any address in this range stays on the local host and never reaches the network. 127.0.0.1 is the standard localhost address.
  • 169.254.0.0/16 — Link-local (APIPA). Automatically assigned when DHCP fails. Used by Windows and Linux for local discovery when no DHCP server responds.
  • 100.64.0.0/10 — Shared address space (RFC 6598). Used by ISPs for Carrier-Grade NAT (CGNAT) between customer equipment and the provider network.
  • 0.0.0.0/8 — This network (unspecified). Cannot be used as a source or destination in routed traffic.
  • 255.255.255.255/32 — Limited broadcast. Reaches all hosts on the local segment; not routed by any router.

How Public IP Ranges Are Assigned

The global pool of publicly routable IPv4 addresses is managed hierarchically. IANA allocates large blocks (typically /8s or /16s) to five Regional Internet Registries (RIRs):

  • ARIN — North America
  • RIPE NCC — Europe, Middle East, Central Asia
  • APNIC — Asia-Pacific
  • LACNIC — Latin America and Caribbean
  • AFRINIC — Africa

RIRs then allocate smaller blocks to ISPs, enterprises, universities, and cloud providers. Those organizations announce their ranges to the global BGP routing table as prefixes, making them reachable from anywhere on the internet. You can query which organization owns a specific range using the WHOIS protocol or databases like the ARIN registry or BGPView.

Subnetting: Splitting Ranges for Network Design

Subnetting takes a large range and divides it into smaller sub-ranges for organizational or security purposes. A /16 range can be split into 256 /24 subnets, each serving a different department, VLAN, or security zone. Common subnetting use cases include:

  • Departmental isolation: Engineering uses 10.1.1.0/24, Finance uses 10.1.2.0/24, and Guest Wi-Fi uses 10.1.3.0/24. Firewall rules between subnets enforce access policies.
  • Data center segmentation: Web servers, application servers, and database servers each live in separate subnets. Database servers have firewall rules accepting connections only from the application server subnet.
  • VLAN mapping: Each VLAN typically maps to a distinct IP subnet. The Layer 2 and Layer 3 boundaries align, simplifying both switching and routing configurations.

Common IP Range Sizes Reference

CIDR NotationSubnet MaskTotal AddressesUsable HostsCommon Use
/32255.255.255.25511 (host route)Single host, loopback, BGP next-hop
/30255.255.255.25242Point-to-point WAN links
/29255.255.255.24886Small server clusters
/28255.255.255.2401614Small office segments
/27255.255.255.2243230Small departments
/24255.255.255.0256254Standard office LAN, home network
/22255.255.252.01,0241,022Medium enterprise segment
/16255.255.0.065,53665,534Large campus, ISP allocation
/8255.0.0.016,777,21616,777,214Very large ISP, Class A legacy

Common Misconceptions

The /24 is always right for a home or small office network

A /24 gives 254 usable host addresses, which is more than almost any home or small office will use. Most home networks have fewer than 20 devices. A /27 (30 usable hosts) or /28 (14 usable hosts) is often sufficient, though in practice the overhead of calculating a tighter range for a home network rarely justifies the effort. In enterprise environments, right-sizing subnets avoids wasting address space and reduces broadcast domain size.

Ranges from different ISPs never overlap

Private ranges (RFC 1918 space) absolutely overlap. Your 192.168.1.0/24 at home is identical to the 192.168.1.0/24 on thousands of other home networks globally. They do not conflict because they are never routed on the public internet. This is also why site-to-site VPNs between companies that both use 10.0.0.0/8 require NAT—to resolve the overlap.

All addresses in a range are usable

No. The first address (network address) and last address (broadcast address) in any subnet are reserved and cannot be assigned to hosts. A /24 has 256 total addresses but only 254 assignable host addresses. This distinction matters when calculating how many devices a subnet can serve.

A larger range prefix number means more addresses

The opposite is true. A larger prefix number means more bits are fixed as the network prefix, leaving fewer bits for host identification. A /8 has more addresses than a /24 because it has fewer fixed bits and more flexible host bits.

Pro Tips for Working With IP Ranges

  • Use ipcalc or sipcalc for subnet math. Don't calculate binary by hand under pressure. Tools like ipcalc 192.168.5.0/25 instantly return the network address, broadcast, usable range, and host count. The online calculator at subnet calculator sites works equally well.
  • Document your IP allocation plan before deploying. Assigning ranges ad hoc leads to overlapping subnets, firewall gaps, and routing ambiguity. Maintain an IP address management (IPAM) record—even a spreadsheet—showing which range maps to which function.
  • Summarize routes whenever possible. If you have four /24 subnets at 10.1.0.0/24, 10.1.1.0/24, 10.1.2.0/24, and 10.1.3.0/24, a single 10.1.0.0/22 summary route covers all of them. Fewer, larger prefixes in routing tables mean faster lookups and simpler configs.
  • Check BGP announcements for your range. Use tools like bgp.he.net or BGPView to verify that your organization's IP ranges are being announced correctly and are not being leaked by other ASes. Unauthorized prefix announcements (BGP hijacks) are a real threat.
  • Plan for IPv6 alongside IPv4 ranges. IPv6 subnets are conventionally sized at /64 for endpoint segments, giving more than 18 quintillion host addresses per subnet. Allocate /48s per site and /64s per VLAN to stay compatible with SLAAC (Stateless Address Autoconfiguration).
  • Firewall rules should reference ranges, not individual IPs. Using a /24 or /22 in a firewall rule is more maintainable than listing 50 individual host addresses. When a new server is added within that range, it is automatically covered.

IP ranges are the organizational foundation of every network. Getting them right—right-sized subnets, clean documentation, properly announced BGP prefixes—prevents cascading problems in routing, security, and troubleshooting. Find out which IP range your address belongs to here.

Frequently Asked Questions

Q.What is an IP address range?

An IP address range is a contiguous block of IP addresses that share the same network prefix, typically expressed in CIDR notation. For example, 192.168.1.0/24 represents all addresses from 192.168.1.0 to 192.168.1.255. Ranges are used in routing tables, firewall rules, and access control lists to define network boundaries.

Q.Can I own a public IP address range?

Individual consumers cannot own public IP ranges. They are assigned by Regional Internet Registries (ARIN, RIPE, APNIC, LACNIC, AFRINIC) to organizations that demonstrate a need. ISPs, enterprises, universities, and cloud providers obtain ranges from RIRs and announce them via BGP. With IPv4 exhaustion, obtaining new ranges requires purchasing them on the secondary market, often at significant cost.

Q.What is CIDR notation?

CIDR (Classless Inter-Domain Routing) notation expresses an IP range as an address followed by a slash and the number of network prefix bits. For example, 10.0.0.0/8 means the first 8 bits are fixed, giving a range of 10.0.0.0 through 10.255.255.255 with over 16 million addresses. CIDR replaced the rigid Class A/B/C system in 1993 and allows much more efficient address allocation.

Q.What are private IP address ranges?

RFC 1918 defines three private IP ranges that are not routed on the public internet: 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. These are used for internal networks and can be reused by any organization. Because they are not globally unique, NAT (Network Address Translation) is required to allow devices on private ranges to communicate with public internet addresses.

Q.How many usable host addresses does a /24 subnet have?

A /24 subnet contains 256 total IP addresses. Two are reserved: the network address (first address, e.g. 192.168.1.0) and the broadcast address (last address, e.g. 192.168.1.255). This leaves 254 usable host addresses. The formula for usable hosts in any subnet is 2^(32 - prefix_length) - 2.

Q.What is a subnet mask and how does it relate to an IP range?

A subnet mask is an alternative way to express a CIDR prefix length. A /24 corresponds to the subnet mask 255.255.255.0. When you perform a bitwise AND of any IP address with the subnet mask, the result is the network address of the range containing that IP. Both CIDR notation and subnet masks are used in routing and firewall configurations depending on the platform.

Q.What is the 169.254.0.0/16 range?

The 169.254.0.0/16 range is the link-local range defined in RFC 3927, also called APIPA (Automatic Private IP Addressing) on Windows. Devices automatically assign themselves an address from this range when they cannot obtain one from a DHCP server. Addresses in this range are not routed beyond the local link and indicate a DHCP failure in most production environments.

Q.What is a broadcast address?

The broadcast address is the last address in a subnet range, where all host bits are set to 1. A packet sent to the broadcast address is delivered to all hosts on that subnet. For 192.168.1.0/24, the broadcast address is 192.168.1.255. Broadcast addresses cannot be assigned to individual hosts and are not routed by default beyond the local subnet.

Q.What is IP address management (IPAM)?

IPAM is the practice of tracking and documenting IP address allocation across a network. It records which ranges are assigned to which subnets, VLANs, or systems. IPAM tools range from spreadsheets to dedicated software like NetBox, phpIPAM, or InfoBlox. Without IPAM, large networks develop conflicting assignments, undocumented ranges, and difficult troubleshooting situations.

Q.What does it mean when IP ranges overlap?

IP range overlap occurs when two networks claim addresses from the same range. This is expected with private RFC 1918 ranges because they are reused globally, but it causes routing conflicts in VPN scenarios. When two offices both use 10.0.0.0/8 and try to connect via VPN, the router cannot distinguish which traffic belongs to which network without NAT or address renumbering.

Q.How do BGP and IP ranges work together?

BGP (Border Gateway Protocol) is the routing protocol that distributes IP range reachability information across the internet. Organizations announce their IP ranges as prefixes in BGP updates. Routers worldwide receive these updates and build routing tables that map prefixes to the next-hop autonomous system. A BGP hijack occurs when an unauthorized party announces another organization's prefix, misdirecting traffic.

Q.What is the 100.64.0.0/10 range used for?

The 100.64.0.0/10 range is defined in RFC 6598 as shared address space for Carrier-Grade NAT (CGNAT). ISPs use it between their own infrastructure and customer equipment, in scenarios where public IPv4 addresses are scarce. It is distinct from RFC 1918 private space and should not appear in customer-facing configurations or be announced in BGP.

Q.What is a /32 route?

A /32 route identifies a single specific host address with no network or broadcast addresses. It is used in BGP for host routes, on loopback interfaces, and in routing policies where traffic to one exact IP must follow a specific path. It is also commonly used in firewall rules to match one specific host without risk of accidentally matching neighbors in the same subnet.
TOPICS & TAGS
ip address rangenetwork segmentip allocationsubnetnetworking basicsunderstanding ip address ranges and segmentsboundaries of the internet organized blockscalculating start and end addressesreserved ip ranges for home networkspublic blocks owned by isps and tech giantssegmenting networks for better organizationsubnetting for business departmental securityhow ip allocation works globallyidentifying contiguous ip address rangesit guide to network documentationprivate class c range 192.168.x.xbuilding scalable network architecturesip management for large organizationstracking assigned ip address poolshow ranges prevent global ip chaosCIDR notation explainedsubnet mask calculationRFC 1918 private addressesARIN RIPE APNIC allocationBGP prefix announcementnetwork broadcast addressusable host addresses per subnet