Fixes #441 Private IP ranges in get_ip are incorrect

Fix for #441