Read a single IPv4 /32 host route

Calculate the mask and address range of 203.0.113.9/32 for a loopback, route or single-host allowlist.

Try these inputs

Worked calculation

  1. All 32 bits belong to the prefix. The mask is 255.255.255.255 and the wildcard is 0.0.0.0.
  2. The block contains 2⁰ = 1 address, so its network, first and last address all read 203.0.113.9.
  3. Use the /32 for a single address in a routing or policy table. The block has no separate broadcast address.

Inputs

One name,hosts or name,/prefix per line. Leave blank for CIDR details only.
Optional. Separate blocks with commas or spaces.

Calculated in your browser

Results

Network CIDR
203.0.113.9/32
Usable in parent
1
Total in parent
1

IPv4 address-space map

IPv4 address-space mapBlock widths follow the share of the parent address space. The lower axis shows positions from the first to the last address.203.0.113.9/321 addressesParent space0%25%50%75%100%203.0.113.9203.0.113.9
  • Parent range
Block widths follow the share of the parent address space. The lower axis shows positions from the first to the last address.
Network
203.0.113.9
Broadcast
No directed broadcast
First usable
203.0.113.9
Last usable
203.0.113.9
Subnet mask
255.255.255.255
Wildcard
0.0.0.0
Input bits
11001011 00000000 01110001 00001001
Mask bits
11111111 11111111 11111111 11111111
Network bits
11001011 00000000 01110001 00001001

Questions

Can the network part of a /32 be rounded down?

It stays identical to the input IP. There are no host bits to clear.

How large is the wildcard for a one-host route?

It is 0.0.0.0. Each address bit must match.

References