IP Calculator borrowed from Krischan Jodies
Updated with information on ipcalc perl script.