IPv6 addressing support in MainView for IP


IP version 6 (IPv6) is a version of the Internet Protocol, designed as the successor of IP version 4 (IPv4).

The biggest change in IPv6 is its expanded addressing capability. The IP address in IPv4 is 32 bits or 4 bytes long. The IP address in IPv6 is 128 bits or 16 bytes long. MainView for IP supports IPv6 by providing expanded IP addresses.

IPv4 addresses are represented in dotted decimal format. The 32 bit address is divided at 8 bit boundaries. Each of the 4 sets of 8 bits is converted to its decimal (base 10) equivalent, and the sets are separated from each other by a period (or stop).

For IPv6, the 128 bit address is divided at 16 bit boundaries. Each 16 bit block is converted to a 4 digit hexadecimal number (base 16, 0-F), and the blocks are separated from each other by a colon. Here are two examples of IPv4 and IPv6 uncompressed and compressed addresses.

Example

If the uncompressed IPv4 address is:

0000.0000.0000.0000.0000.0000.172.25.121.130

The compressed form is:

::172.25.121.130

Example

If the uncompressed IVP6 address is:

2001:0:0:0:0:5BFF:FE3A:2203

The compressed format will be: 2001::5BFF:FE3A:2203

To simplify IPv6 addresses, any consecutive sequence of 16-bit blocks that is set to 0 in the colon hexadecimal format is compressed to '::' (two colons) as shown in the following example:

Example

An IPv6 address of 2001:0:0:0:0:5BFF:FE3A:2203 is compressed to 2001::5BFF:FE3A:2203, and an IPv6 address of 2001:0:0:0:0:0:0:2203 is compressed to 2001::2203.

The loop back address of 0:0:0:0:0:0:0:1 in IPv6 (127.0.0.1 in IPv4) is compressed to two colons and 1 (::1).

An unspecified address of 0:0:0:0:0:0:0:0 is compressed to two colons (::).

The following guidelines apply:

  • Zero compression can be used only once in an IPv6 address.
  • Only one null string can be replaced with a double colon, which can then be filled out to retrieve the original long form address.
  • If there are two null strings, only one can be compressed. If both were compressed, it would be impossible to determine the length of each string, and the address would be ambiguous.

Another form, which is sometimes more convenient in dealing with a mixed environment of IPv4 and IPv6 nodes, is:

x:x:x:x:x:x:d.d.d.d.

The value of x represents the hexadecimal values of the six high-order 16-bit pieces of the address, and d represents the decimal values of the four low-order 8-bit pieces of the address.

Example

0:0:0:0:0:0:172.25.121.130, which can be compressed to ::172.25.121.130.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*