Languages
[Edit]
EN

Maximal IPv6 address length

6 points
Created by:
Nicola-Melendez
375

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

Quick overview:

Maximal IP v6 length is 45 characters.

 

Simple preview:

IPv6 length visualization.
IPv6 length visualization.

Explanation

The most commonly known IP address format is:

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

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

 

That can be written in shorter form too:

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

 

In practice there is available 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

Alternative titles

  1. The correct maximum IPv6 string length
  2. IPv6 max length / size
  3. Maximal IP v6 address length
  4. The correct maximum IP v6 string length
  5. IP v6 max length / size
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join