iputils.pm - some perl function for deal with ip.