One of the best
(& classic...) explanations/tutorials on IPv4 addressing is the following:
http://tiszai.tricon.hu/PDF/3comip.pdf
Note that this 3Com whitepaper can found at numerous sources, but be aware that the formating is incorrect at some URL's -- in the translation to PDF, exponents may not be correctly superscripted. The link provided above is correct.