Work with IPv4 and IPv6 addresses and subnets
