ipcalc - An IPv4 Netmask/broadcast/etc calculator
To calculate subnet for 192.168.122.10/16 $ ipcalc 192.168.122.10/16
To calculate subnet for 192.168.122.10/16 without display ANSI color codes $ ipcalc -n 192.168.122.10/16
To Suppress the bitwise output $ ipcalc -b 192.168.122.10/16
To Deaggregate address range $ ipcalc -r 192.168.122.1 192.168.122.101 $ ipcalc -r 10.10.0.1 10.10.1.1 $ ipcalc -r 172.122.150.10 172.155.150.20
regards, T.Dhanasekar