What is the correct compressed format of the IPv6 address 2001:0db8:eeff:000a:0000:0000:0000:0001?

What is the correct compressed format of the IPv6 address 2001:0db8:eeff:000a:0000:0000:0000:0001?

  • 2001:db8:eeff:a::1
  • 2001:db8:eeff:a:1
  • 2001:db8:eeff:a::0001
  • 2001:db8:eeff:a:::1
    Explanation:

    There are two rules for IPv6 address compression. Rule 1: leading zeros in any hextet can be removed. Rule 2: contiguous hextets of all zeros can be compressed to a double colon. Rule two can only be applied once.