192.168.0.0/24 IP Range
First and last address, mask and host count for 192.168.0.0/24.
The sibling of 192.168.1.0/24 and another frequent router default, with the gateway usually at 192.168.0.1.
| CIDR | 192.168.0.0/24 |
|---|---|
| Network address | 192.168.0.0 |
| Subnet mask | 255.255.255.0 |
| Wildcard mask | 0.0.0.255 |
| First usable IP | 192.168.0.1 |
| Last usable IP | 192.168.0.254 |
| Broadcast address | 192.168.0.255 |
| Total addresses | 256 |
| Usable hosts | 254 |
How it is used
These two ranges are separate networks: a device in one cannot reach the other without routing. Mixing them up is a common reason the router page will not open, because the gateway address must belong to your actual range. Check yours with ip route or ipconfig.
Allow this range in a firewall
sudo iptables -I INPUT 1 -p tcp -s 192.168.0.0/24 --dport 22 -j ACCEPT
This lets the whole range reach SSH. Change the port as needed, or build a complete rule set with the allow a port from specific IPs tool.
Calculate another range
Use the CIDR to IP range calculator for any other network.
FAQ
How many usable hosts are in 192.168.0.0/24?
254 usable addresses out of 256 total. The network and broadcast addresses are reserved.
Is 192.168.0.0/24 the same as 192.168.1.0/24?
No. They are two different /24 networks inside the 192.168.0.0/16 block. Both hold 254 usable hosts.
Is 192.168.0.0/24 a private range?
Yes. It belongs to the private address space defined in RFC 1918 and is not routed on the public internet.