Address: 192.168.0.1 11000000.10101000.00000000 .00000001
Netmask: 255.255.255.0 = 24 11111111.11111111.11111111 .00000000
Wildcard: 0.0.0.255 00000000.00000000.00000000 .11111111
=>
Network: 192.168.0.0/24 11000000.10101000.00000000 .00000000 (Class C)
Broadcast: 192.168.0.255 11000000.10101000.00000000 .11111111
HostMin: 192.168.0.1 11000000.10101000.00000000 .00000001
HostMax: 192.168.0.254 11000000.10101000.00000000 .11111110
Hosts/Net: 254 (Private Internet)
Should you ever forget intricacies of the subnetting Checkpoint bothered not to strip subnetting calculator from their Splat – ipcalc, so use it and litter not your memory with useless info.Given subnet show the 1st Ip (network) :
# ipcalc -n 192.168.34.45/27
NETWORK=192.168.34.32
Given subnet show the last IP (broadcast) :
# ipcalc -b 192.168.34.45/27
BROADCAST=192.168.34.63
Be careful though what you feed as no proof-reading is done by the ipcalc :
# ipcalc -b 192.168.34.45/33
BROADCAST=255.255.255.255