192.168.1.0/24 IP Range
First and last address, mask and host count for 192.168.1.0/24.
One of the most common home and small office LAN ranges. Many consumer routers use 192.168.1.1 as the gateway, which puts every device in this /24.
| CIDR | 192.168.1.0/24 |
|---|---|
| Network address | 192.168.1.0 |
| Subnet mask | 255.255.255.0 |
| Wildcard mask | 0.0.0.255 |
| First usable IP | 192.168.1.1 |
| Last usable IP | 192.168.1.254 |
| Broadcast address | 192.168.1.255 |
| Total addresses | 256 |
| Usable hosts | 254 |
How it is used
A typical layout: the router at 192.168.1.1, a DHCP pool such as .100 to .199, and fixed addresses for printers and servers below that. If your router already uses this range, a VPN or second network must use a different one, or the routes will overlap.
Allow this range in a firewall
sudo iptables -I INPUT 1 -p tcp -s 192.168.1.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.1.0/24?
254 usable addresses out of 256 total. The network and broadcast addresses are reserved.
What is the subnet mask of 192.168.1.0/24?
It is 255.255.255.0, and the wildcard mask is 0.0.0.255.
Is 192.168.1.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.