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