Sipcalc — IP Subnet Calculator
Sipcalc, in it’s simplest form takes an ip-address and a subnet mask on the commandline and outputs information about the subnet. Sipcalc has support for both IPv4 and IPv6 addresses. Sipcalc can take input in three forms, an ip-address/netmask, an interface or via stdin using the special character -.
Sipcalc output is divided into sections and subsections. Each section starts with the string “-[type : INPUT] – n” where type can be one of int-ipv4, ipv6, ipv4. INPUT is one input option from the commandline and n is the number of the section that this input option has produced currently displayed. Currently the only input option that produces multiple output sections is an interface with multiple addresses. A subsection starts with the string “[IDENTIFIER]“, where IDENTIFIER is an identifier for the subsection type. The subsection types are based on the used commandline options. Sections always en with the single character ‘-’ alone on a line. Worth mentioning is also that sections can include not only subsections, but also other sections, this currently only happen when the -u and -s/-S options are used. Warnings/errors etc. can also be displayed in the form -[type : message].
[ http://cs2.swfc.edu.cn/cgi-bin/dwww?type=runman&location=sipcalc/1 ]
You use sipcalc in it’s simplest form by just using sipcalc -d hostname (-d is used to enable name resolution)
If you want all kind of information from a host or an interface you could use the -a flag ie, sipcalc -d -a hostname
The above is a partial screenshot, it gives out more information which goes on for several pages long.
iEntry 10th Anniversary
LinuxHaxor
WH
MH
