RouteDuck

IP addressing

CIDR to IP Range Converter

Paste one network per line, in prefix or mask form. You get the first address, the last address and the size of each.

Prefix form, or an address and subnet mask. Other text on a line is kept as a label.

3 networks

Host bits were set on 1 line (line 3). The network address is used.

NetworkFirst addressLast addressAddressesLabel
10.20.0.0/1410.20.0.010.23.255.255262,144Campus
172.16.8.0/21172.16.8.0172.16.15.2552,048Data center
192.168.1.64/26192.168.1.64192.168.1.12764

How it works

A CIDR block is a starting address and a size that is a power of two. The first address has every host bit cleared and the last has every host bit set. A /20 has 12 host bits, so it spans 4,096 addresses.

Anything else on a line is kept as a label, so rows copied from a spreadsheet or lines from a configuration can be pasted as they are. If host bits are set in what you paste, the network is used and the line is flagged.

Related tools