Should work with ipv6 too.