Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.

ipcalc

http://jodies.de/ipcalc?host=${a=192.168.0.0}&mask1=${m1=24}&mask2=${m2=24}
ipcalc - Jodies.de IP Subnet calculator

ipcalc requires 2 arguments, and takes a third optional argument, they are:

-a - network / host address for the address you want additional information for.
This is specified in dotted decimal octet notation (eg 192.168.0.1)

-m1 - subnet mask for the addres you want additional information for.
can be either CIDR notation (24) or dotted octet notation (255.255.255.0)

-m2 - supernet mask, like the subnet mask, however it shows how the network will appear with an alternate subnet mask.
can be either CIDR notation (24) or dotted decimal octet notation (255.255.255.0)

Returned is a "Wildcard" field widely employed in Cisco access-lists.

example:
ipcalc -n 192.168.0.1
Will return your network settings for a fairly common home network.

ipcalc -n 192.168.0.1 -m1 29 -m2 24
Will return network settings for a slighty less common home or SOHO network where you might have a smaller range separated from the remainder of the network (such as print and file servers) as well as the whole network itself.
    
38 uses - Created 2006-04-15 18:07:29 - Last used 2013-05-16 12:34:11
Is this command broken? Tell Jon if you know how to fix it.
Do you find this command offensive? Let Jon know.