Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Compression Rules to IPv6

I’m having trouble compressing the IPv6 address: 8​b​f​a​:​9​9​f​0​:​d​4​c​5​:​0​b​8​c​:​0​f​6​f​:​0​4​d​f​:​2​8​0​4​:​2​8​3​d​

I think it would be: 8bfa:99f:d4c5:b8c:f6f:4df:284:283d

Unfortunately this is not correct.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Just like regular decimal numbers you work with every day, only leading zeros can be removed. Trailing zeros and zeros in the middle must stay.

If the other ones could be removed you wouldn’t know whether 284 means 0284, 2084, 2804, or 2840.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading