← All Subnets • /28 CIDR Guide
Sub-Netted Home/Lab BlockSegmented /28 subnet carved from the standard 192.168.0.0/24 address space.
| CIDR Notation | 192.168.0.0/28 |
|---|---|
| Network ID | 192.168.0.0 |
| First Usable Host IP | 192.168.0.1 |
| Last Usable Host IP | 192.168.0.14 |
| Broadcast Address | 192.168.0.15 |
| Subnet Mask | 255.255.255.240 |
| Wildcard Mask | 0.0.0.15 |
| Total / Usable Addresses | 16 total / 14 usable |
| Binary Network ID | 11000000.10101000.00000000.00000000 |
| Hexadecimal Representation | 0xC0A80000 |
New-NetIPAddress -InterfaceAlias "Ethernet" -IPAddress "192.168.0.10" -PrefixLength 28 -DefaultGateway "192.168.0.1"
interface GigabitEthernet0/0
ip address 192.168.0.1 255.255.255.240
! Permit traffic from 192.168.0.0/28
access-list 101 permit ip 192.168.0.0 0.0.0.15 any
ip route & iptablesip route add 192.168.0.0/28 via 192.168.0.1 dev eth0
iptables -A INPUT -s 192.168.0.0/28 -j ACCEPT
The usable host IP range for 192.168.0.0/28 is 192.168.0.1 to 192.168.0.14, providing 14 usable host addresses.
A /28 prefix uses the subnet mask 255.255.255.240 and the inverse wildcard mask 0.0.0.15.
The network ID is 192.168.0.0 and the broadcast address is 192.168.0.15.
The 192.168.0.0/28 block contains 16 total IPv4 addresses, of which 14 are assignable to hosts.