jump to navigation

sipcalc The Advanced subnet calculator on Linux March 7, 2011

Posted 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
-c ,
Display classfull address information (IPv4)
-x ,
Display a classfull bitmap
-i ,
Display  CIDR address information (default IPv4)
-b ,
Display CIDR based bitmap (IPv4)
-n ,
Display xx extra subnets , starting from the current subnet . Will display all subnets in the current /24 is xx is zero .
-d ,
Enable name resolution .

.Let us now pretend the following scenario : We have already a class C network ( 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 .


No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s