1 example for ipcalc
# Find the subnet mask (e.g 255.255.255.0) when you have a the amount of bits (e.g 24) ipcalc -m 10.0.10.0/24 # Find the amount of bits when you have a the subnet mask ipcalc -p 10.0.10.0 255.255.255.0
# Find the subnet mask (e.g 255.255.255.0) when you have a the amount of bits (e.g 24) ipcalc -m 10.0.10.0/24 # Find the amount of bits when you have a the subnet mask ipcalc -p 10.0.10.0 255.255.255.0