Support for multiple netmasks and IPv6