IPAddr provides a set of methods to manipulate an IP address. Both IPv4 and IPv6 are supported. WWW: https://github.com/ruby/ipaddr