172.31.0.0/24

Private (RFC 1918) RFC 1918

Class B — /24 prefix — 254 usable hosts

Network Address
172.31.0.0
Broadcast Address
172.31.0.255
Subnet Mask
255.255.255.0
Usable Hosts
254
First Usable IP
172.31.0.1
Last Usable IP
172.31.0.254
Total IPs
256
Prefix Length
/24

Network address — the base address of the block (172.31.0.0). All devices in this subnet share this prefix. Cannot be assigned to a host.

Broadcast address — packets sent to 172.31.0.255 are delivered to every device in the subnet. Also reserved — not assignable.

Usable hosts — the 254 addresses between those two that you can assign to servers, VMs, or interfaces.

Subnet mask255.255.255.0 is the dotted-decimal equivalent of /24. Older tools and Cisco configs use this format instead of CIDR slash notation.

Full Details

CIDR Notation 172.31.0.0/24
Network Address 172.31.0.0
Broadcast Address 172.31.0.255
Subnet Mask 255.255.255.0
Wildcard Mask 0.0.0.255
Prefix Length /24
IP Address Class Class B
Total IP Addresses 256
Usable Host Addresses 254
First Usable IP 172.31.0.1
Last Usable IP 172.31.0.254
Network (Hex) 0xAC1F0000
Broadcast (Hex) 0xAC1F00FF
Governing RFC RFC 1918
Address Type Private (RFC 1918)

Binary Representation

Network Address
10101100.00011111.00000000 10101100.00011111.00000000.00000000
Subnet Mask
11111111.11111111.11111111.00000000

The first 24 bits (1s in the mask) identify the network. The remaining 8 bits identify hosts within the network.

Subnet Breakdown — splitting into /25

This /24 block can be divided into 2 /25 subnets.

CIDR Network Broadcast First Usable Last Usable Hosts
172.31.0.0/25 172.31.0.0 172.31.0.127 172.31.0.1 172.31.0.126 126
172.31.0.128/25 172.31.0.128 172.31.0.255 172.31.0.129 172.31.0.254 126

IP Address Sample

Showing first 16 of 256 total IPs.

172.31.0.0 net
172.31.0.1
172.31.0.2
172.31.0.3
172.31.0.4
172.31.0.5
172.31.0.6
172.31.0.7
172.31.0.8
172.31.0.9
172.31.0.10
172.31.0.11
172.31.0.12
172.31.0.13
172.31.0.14
172.31.0.15
… 240 more IPs …

/24 Subnet Reference

Total IPs 256
Usable Hosts 254
Subnet Mask 255.255.255.0
Wildcard 0.0.0.255

Calculate Another