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
Follow me on Twitter
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.