Warning: not implemented for IPv6
This is a useful tool for doing your networking homework, based on my experience in my networking course.
It is based on a few mathematical formulas, explained by follow.
Given an address
The netmask
The network address
The broadcast address