Languages
[Edit]
EN

Maximal IPv6 address length

6 points
Created by:
Kate_C
2854

In this article, we're going to have a look at what is maximal length IP v6 address.

Quick overview:

Maximal IP v6 length is 45.

Explaination

Most commonly know IP address format is:

2001:0db8:0000:0000:0000:ff00:0042:8329

8 * 4 + 7 = 39 characters (hexadecimal numbers separated with : character)

What can be written in shorter form too:

2001:db8:0:0:0:ff00:42:8329 
// or 
2001:db8::ff00:42:8329

In practive there is IPv4-mapped IPv6 addresses format too:

ffff:ffff:ffff:ffff:ffff:ffff:192.168.100.100

6 * 4 + 6 + 4 * 3 + 3 = 45 characters

References

  1. IPv4-mapped IPv6 addresses - Wikipedia
Hey 👋
Would you like to know what we do?
  • Dirask is a friendly IT community for learners, professionals and hobbyists to share their knowledge and help each other in extraordinary easy way.
  • We welcome everyone,
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.