What Is a Subnet?

A subnet (short for subnetwork) is a logically partitioned section of a larger network. Subnetting divides a block of IP addresses into smaller groups, allowing network administrators to organize devices, limit broadcast traffic, and apply security policies at a granular level. Subnets are expressed in CIDR notation - Use our subnet calculator to break down any CIDR range.

Common Subnet Sizes (IPv4)

CIDRSubnet MaskTotal IPsUsable HostsTypical Use
/8255.0.0.016,777,21616,777,214Large ISP / national network
/16255.255.0.065,53665,534Enterprise campus
/24255.255.255.0256254Typical home or office LAN
/25255.255.255.128128126Half of a /24, split departments
/28255.255.255.2401614Small server segment or VLAN
/30255.255.255.25242Point-to-point router links
/32255.255.255.25511 (host route)Single host route, loopback

The Two Reserved Addresses in Every Subnet

In every subnet, two addresses are reserved and cannot be assigned to hosts: the network address (the first IP, identifying the subnet itself) and the broadcast address (the last IP, used to address all hosts in the subnet simultaneously). For example, in the subnet 192.168.1.0/24, the address 192.168.1.0 is the network address and 192.168.1.255 is the broadcast address, leaving 254 usable host addresses (192.168.1.1 through 192.168.1.254).

Why Subnetting Matters

  • Reduces broadcast traffic - Broadcasts only reach devices within the same subnet, not the entire network.
  • Improves security - Devices in separate subnets cannot communicate without passing through a router or firewall, enabling access control between departments.
  • Enables efficient IP allocation - You assign only as many addresses as needed for each segment.
  • Supports VLANs (Virtual LANs) - Each VLAN typically maps to one subnet, creating logical network separation over shared physical infrastructure.
  • Required knowledge for configuring port forwarding, firewall rules, and VPN split-tunneling.