Home > Linux > ipcalc – perform simple manipulation of IP addresses

ipcalc – perform simple manipulation of IP addresses

This utility is so cool, how many times I did try to figure out netmasks, broadcasts etc, this utility actualy performs simple manipulation of IP addresses:

ipcalc – provides a simple way to calculate IP information for a host.  The various options specify what information ipcalc should display on standard out. Multiple options may be specified.  An IP address to operate on must  always be specified.  Most operations also require a netmask or a CIDR prefix as well.

# ipcalc -nbm 192.168.1.254/29
NETMASK=255.255.255.248
BROADCAST=192.168.1.255
NETWORK=192.168.1.248
#

  1. No comments yet.
  1. No trackbacks yet.
*
Please leave these two fields as-is:

Protected by Invisible Defender. Showed 403 to 3,211 bad guys.

Powered by WP Robot

Stop SOPAPowered by Yahoo! Answers