sipcalc The Advanced subnet calculator on Linux March 7, 2011Posted by Tournas Dimitrios in Linux admin tools.
Sipcalc is an advanced console-based IP sub-net calculator . It can take multiple forms of input (IPv4/IPv6/interface/host-name) and output a multitude of information about a given sub-net .In it’s simplest form takes an ip-address and a subnet mask on the command line and outputs information about the subnet. Sipcalc has support for both IPv4 and IPv6 addresses.
How to install sipcalc :
On RedHat based Linux distribution like CentOs 5.x , yum can handle the installation if EPEL is on the repository list : yum install sipcalc .
||Give all possible information about an address or interface|
|Display classfull address information (IPv4)|
|Display a classfull bitmap|
|Display CIDR address information (default IPv4)|
|Display CIDR based bitmap (IPv4)|
|Display xx extra subnets , starting from the current subnet . Will display all subnets in the current /24 is xx is zero .|
|Enable name resolution .|
.Let us now pretend the following scenario : We have already a class C network (192.168.5.0/24) and want to add 3 more subnet . Wat is the best IP schema ? Well let sipcalc make the calculation .
An alternative utility is ipcalc from rpmforge .