I learned a new command: sipcalc. It calculates ip stuff.

Install:

	apt-get install sipcalc
	

Usage:

	bdeferme @ iris:~$ sipcalc 172.0.1.0/16
	
	[CIDR]
	Host address        - 172.0.1.0
	Host address (decimal)    - 2885681408
	Host address (hex)    - AC000100
	Network address        - 172.0.0.0
	Network mask        - 255.255.0.0
	Network mask (bits)    - 16
	Network mask (hex)    - FFFF0000
	Broadcast address    - 172.0.255.255
	Cisco wildcard        - 0.0.255.255
	Addresses in network    - 65536
	Network range        - 172.0.0.0 - 172.0.255.255
	Usable range        - 172.0.0.1 - 172.0.255.254