Tools / cidr / common

192.168.0.0/24: network, broadcast and usable IPs

192.168.0.0/24 covers 256 IP addresses, from 192.168.0.0 to 192.168.0.255, with 254 usable hosts: 192.168.0.1 to 192.168.0.254. Its netmask is 255.255.255.0, and its scope is Private (RFC 1918). As a cloud subnet it leaves 251 usable on AWS and Azure, which reserve 5 addresses, and 252 on Google Cloud, which reserves 4.

Calculation

CIDR
192.168.0.0/24
Range
192.168.0.0 – 192.168.0.255
Network
192.168.0.0
Broadcast
192.168.0.255
Netmask
255.255.255.0
Wildcard
0.0.0.255
First host
192.168.0.1
Last host
192.168.0.254
Addresses
256
Usable hosts
254
Class
C
Scope
Private (RFC 1918)

Usable IPs in the cloud

ProviderUsable
AWS VPCReserves 5: network, VPC router, DNS, one held for future use, broadcast251
Azure VNetReserves 5: network, default gateway, two for Azure DNS, broadcast251
Google Cloud VPCReserves 4: network, default gateway, second-to-last, broadcast252

The first /24 of 192.168.0.0/16 and another common home-router default.

Split into four /26 subnets

192.168.0.0/24 holds 4 /26 blocks. See the /26 reference for that size, or the /24 reference for this block’s.

SubnetHostsBroadcast
192.168.0.0/26192.168.0.1 – 192.168.0.62192.168.0.63
192.168.0.64/26192.168.0.65 – 192.168.0.126192.168.0.127
192.168.0.128/26192.168.0.129 – 192.168.0.190192.168.0.191
192.168.0.192/26192.168.0.193 – 192.168.0.254192.168.0.255

Questions

Quick answers.

Worked out with the same code as the CIDR calculator, which takes any IPv4 block and also splits it and checks overlaps.

Is 192.168.0.0/24 a private IP range?

Yes. 192.168.0.0/24 sits inside 192.168.0.0/16, one of the three private ranges defined in RFC 1918 (10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16). Those addresses aren’t routed on the public internet, so you can use them inside any VPC or LAN.

What are the first and last usable IPs in 192.168.0.0/24?

The first usable host is 192.168.0.1 and the last is 192.168.0.254. 192.168.0.0 is the network address and 192.168.0.255 is the broadcast address, so neither goes on a host.

Can I use 192.168.0.0/24 as an AWS VPC CIDR?

Yes. AWS accepts VPC CIDRs and subnets from /16 to /28, and 192.168.0.0/24 is a /24. Used as one subnet it leaves 251 usable IPs, because AWS keeps 5 addresses in every subnet.