IPv6 Address Compressor Expander
By Stephen Bucaro
Instructions: Enter the IPv6 address in the top text box. Click on the appropriate button.
The formatted address will appear in the bottom text box. For example, if you have already
omitted leading zeros, and you want to consolidate consecutive all zeros segments, click on
the [Consolidate Zeros Segments] button. See instructions below.
Enter only the 128-bit, 16-bit colon separated, hexadecimal IPv6 address.
Leave off any identifiers at the end i.e %(scope), [address]:port number.
IPv4 addresses are 32-bit decimal numbers separated by dots. IPv6 addresses
are 128-bit hexadecimal numbers separated by colons. It takes 39 characters
to write an IPv6 address, so the Internet Engineering Task Force came up with
a 2-step way to compress them.
Step 1. Omit the leading zeros in each segment:
full: 2001:0db8:0000:0000:0000:0000:1428:57ab
eliminated: 2001:db8:0:0:0:0:1428:57ab
Step 2. Compress consecutive fields of zeros, leaving a field of 4 colons:
eliminated: 2001:db8:0:0:0:0:1428:57ab
consolidated: 2001:db8::1428:57ab
There is generally only one compression in an address because if there were
more, there is no information about how many fields of zeros were compressed
in each field. This application compresses only the first group of fields of
zeros that it finds going from left to right.
Note: Before using the results from this calculator, check this site's
Web Site User Agreement.
Also I would be greatful to hear your comments and suggestions about this app, or anything else.
use the Contact Form.
More Network Troubleshooting and Support Articles: • Brainstorming to Collect Data in Designing the Corporate Computer Network • How to Make a Network Cable • What is Network Automation? • Introduction to Designing an IPv6 Address Plan • Remote Connectivity • Standard Network Path Metrics • Five Free Tools Every Network Administrator Should Have • Network Design Process - Effective Network Planning and Design • Network Log Collection and Monitoring • SME Network Internet IP Addressing Strategies
|