Netmask calculator

Ripped from http://www.foobar.de/home.html

Size of subnet
Available nodes
Netmask (dotted quad)
Netmask (hexadecimal)
Netmask (1-bits)
Legal mask
Node Address
Node Address
Network address
Network address
Broadcast addres
Broadcast addres