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.

 

Explanation

The 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
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