Skip to content

/32 subnet: a single host route

Runs in your browser — nothing you paste leaves this page. How we prove that

Subnet Calculator playground

Examples

IPv4 or IPv6, with or without a prefix — 10.0.0.0/8, 2001:db8::/48, or a dotted netmask like 192.168.1.0 255.255.255.0. A bare address means one host (/32 or /128).

Results update as you type — press Enter to run now.

fig. 10 — subnet-calculator · networking /32 — 1 host
Result
IPv410.0.0.0/32
Usable hosts1Single host route
Host address10.0.0.0
Total addresses1

Addressing

Network address
10.0.0.0
Last address
10.0.0.0
Usable host range
10.0.0.0

Masks

Netmask
255.255.255.255
Wildcard maskInverse of the netmask — the match form Cisco ACLs and OSPF expect.
0.0.0.0
Netmask (binary)The mask bit by bit — the 1s are the network part.
11111111.11111111.11111111.11111111

Details

Address type
Private (RFC 1918)
Network (integer)The network address as a single 32-bit number, as scripts and databases store it.
167 772 160

A /32 has netmask 255.255.255.255 and matches exactly one address. It describes a single host, not a network you can put devices on.

What /32 means

All 32 bits are network bits, so the mask is 255.255.255.255 and the wildcard 0.0.0.0, a wildcard that matches only the exact address. 2^0 = 1: 10.0.0.0/32 is just 10.0.0.0, with no network, broadcast or range.

A bare IPv4 address with no prefix is treated as /32 by the calculator, the same convention routers and most firewalls follow.

Where you will see /32

Router loopback interfaces carry a /32 so the router has one stable address that does not depend on any physical link; OSPF and BGP router IDs and iBGP peerings use them. Anycast and floating service IPs are announced as /32 host routes.

Firewall rules and cloud security groups use /32 to allow a single source: an AWS security group rule for one admin IP is written 203.0.113.10/32. Leaving off the prefix, or writing /24 by mistake, opens the rule to a whole block.

Pitfalls

On the public internet, most networks filter IPv4 announcements longer than /24, so a /32 will not propagate globally unless it is a deliberate, agreed exception such as a remote-triggered blackhole route.

Assigning a /32 to an Ethernet interface leaves the host with no on-link neighbours; it needs an explicit route to its gateway. That is how some cloud and container networks work on purpose, which can surprise people reading ip addr output. The next size up, a /31, is the smallest block for a two-device link.

Configuring a /32

On Linux, ip addr add 10.0.0.1/32 dev lo adds a loopback host address; on Cisco IOS the equivalent is interface Loopback0 with ip address 10.0.0.1 255.255.255.255. Advertise it into OSPF or BGP and the router stays reachable on that address over any working path, even when individual links fail. Many teams number loopbacks from one dedicated /24 so a glance at an address tells you it identifies a device rather than a link.

FAQ

Questions, answered.

Tap a question to expand the answer.

It matches one IPv4 address exactly. 198.51.100.7/32 allows that single host and nothing else.

Technically a prefix of length 32. In practice it is a host route: one address, no hosts beside it.

More free, private DevOps tools.

The Subnet Calculator is one tool in OpsCanopy — a growing canopy of browser-based validators, converters and testers that never touch a server.

New to Networking?  Read the Networking guide →

42 free tools, every one offline-capable — opscanopy.com works with no signup and nothing uploaded.

More networking: the IP Address Converter, the CIDR / Subnet Checker and the Subnet Splitter, or browse the full tools directory.

Provided as-is for convenience; always confirm critical network changes against your own authority. OpsCanopy is free and open.