adding methods to detect multicast and public ip ranges