Exercise: IPv6 addresses
expand and compress IPv6 addresses

You are given a IPv6 addresses in expanded and compressed notation.
Rewrite the addresses a follows:

  • Compress the full IPv6 notation
  • Expand the compressed IPv6 notation



Compress IPv6 adresses

{{solution.Sol_UncompressedAddress1}}
{{solution.Sol_UncompressedAddress2}}

Expand IPv6 adresses

{{solution.Sol_CompressedAddress1}}
{{solution.Sol_CompressedAddress2}}
Try another »

{{score}} / {{maxScore}}

Impressive! Keep it up!