CIDR notation

An address and prefix length describing a network block.

Definition

CIDR notation writes a network as an address followed by a slash and a prefix length. The prefix length states how many leading bits identify the network. The remaining bits determine the number of addresses in the block.

Worked example

8.8.8.9/24 fixes 24 network bits and leaves 8 host bits. Clearing those host bits gives 8.8.8.0/24, a block containing 256 IPv4 addresses.

Input address and prefix
8.8.8.9/24
Normalized network
8.8.8.0/24
Addresses in the block
256
24 network bits8 host bits
IPv4 has 32 bits. The prefix fixes 24; 8 remain for addresses in the block.
First address
8.8.8.0
Last address
8.8.8.255

Address count is the mathematical block size. Data ranges are intersecting exported records. Neither is a count of active hosts.

Interpretation

A prefix written in CIDR notation is not necessarily an announced BGP route. IPQuery’s CSV ranges group adjacent addresses with identical exported data.

RFC4632

Full-list access.

For pricing or full-list access, email contact@ipquery.io.

Selected list
Selected records
Records in this list