← All Subnets • /24 CIDR Guide
RFC1918 Private (192.168.x.x)Private RFC1918 Class C /24 network block (192.168.66.1 – 192.168.66.254) for local LAN or VLAN segmentation.
| CIDR Notation | 192.168.66.0/24 |
|---|---|
| Network ID | 192.168.66.0 |
| First Usable Host IP | 192.168.66.1 |
| Last Usable Host IP | 192.168.66.254 |
| Broadcast Address | 192.168.66.255 |
| Subnet Mask | 255.255.255.0 |
| Wildcard Mask | 0.0.0.255 |
| Total / Usable Addresses | 256 total / 254 usable |
| Binary Network ID | 11000000.10101000.01000010.00000000 |
| Hexadecimal Representation | 0xC0A84200 |
New-NetIPAddress -InterfaceAlias "Ethernet" -IPAddress "192.168.66.10" -PrefixLength 24 -DefaultGateway "192.168.66.1"
interface GigabitEthernet0/0
ip address 192.168.66.1 255.255.255.0
! Permit traffic from 192.168.66.0/24
access-list 101 permit ip 192.168.66.0 0.0.0.255 any
ip route & iptablesip route add 192.168.66.0/24 via 192.168.66.1 dev eth0
iptables -A INPUT -s 192.168.66.0/24 -j ACCEPT
The usable host IP range for 192.168.66.0/24 is 192.168.66.1 to 192.168.66.254, providing 254 usable host addresses.
A /24 prefix uses the subnet mask 255.255.255.0 and the inverse wildcard mask 0.0.0.255.
The network ID is 192.168.66.0 and the broadcast address is 192.168.66.255.
The 192.168.66.0/24 block contains 256 total IPv4 addresses, of which 254 are assignable to hosts.