Shortening IPv6 Addresses

Hello Anshul

If you have the following address:

2041:0000:140F:1234:1234:6543:875B:131B

you can shorten it to:

2041:0:140F:1234:1234:6543:875B:131B

but you can’t shorten it to:

2041::140F:1234:1234:6543:875B:131B

A string of at least two sets of zeros such as :0000:0000: can be replaced with :: but a single string of zeros such as :0000: can only be replaced with :0:

Now having said that, even if you do it people will still know what you’re talking about, and some operating systems or network device firmware may even accept it, but according to the official rules, this is what needs to be done.

I hope this has been helpful!

Laz

1 Like