Tag Archives: IP

Did you know that IP addresses (IPv4) can be written in shorter representations?

Did you know that IPv4 addresses can be written in shorter representations, like IPv6 addresses?

Everyone have seen form of IPv6 represented as “shorter form”:
Example from IPv6:

  • 2001::7334
  • ::1
  • ::

You can use our free tool ipv6-literal.com to convert these addresses to long form. The result is:

  • 2001:0000:0000:0000:0000:0000:0000:7334
  • 0000:0000:0000:0000:0000:0000:0000:0001
  • 0000:0000:0000:0000:0000:0000:0000:0000

What admins / programmers usually do not know, is that the same principle applies to IPv4 addresses:

  • 127.1
  • 1
  • 192.168.257
  • 192.168.65535
  • 192.168.65535
  • 192.168
  • 10.1

To test these, use built in ping command. I used ping in Windows 7 and Ubuntu 10, and the result addresses are:

  • 127.1 ->
  • 1 ->
  • 192.168.257 ->
  • 192.168.65535 ->
  • 192.168 ->
  • 10.1 ->

As a bonus, you can try to ping other IP address representations:

  • ping 0x7F000001 – hex
  • ping 010 – octal, does not work in Ubuntu
  • ping 2130706433 – decimal

Why it works this way? Because network funcions built into OS support a such behavior, for example:

Have a fun, and remember, that year of IPv6 is near.

IPv6, literals and legacy software

IPv4 address exhaustion is slowly going into final phase.

To use IPv6 addresses in legacy software, some mechanism must be in place to not confuse programs with colons (:) in the addresses. For Windows this is IPv6 literals.

We have created IPv6 to literal online converting tool. It is a free tool to convert IPv6 to literal address ending with .ipv6-literal.net

For example, these two lines behave identically:
ping 0--1.ipv6-literal.net
ping ::1

Also, zone ID is supported and shortest / longest IPv6 address form is calculated.

IPv6 literal screenshot

For more information and to test this tool in action, click here!

Use form below, if you have suggestions or comments.

UPDATE Apr 26, 2011. As Takyoji suggested, just added support for Reverse DNS lookup. Now last row is calculated for use with the special domain ip6.arpa.