use similar format for ipv6