nanog mailing list archives

Re: using "reserved" IPv6 space


From: Jeroen Massar <jeroen () unfix org>
Date: Wed, 18 Jul 2012 00:34:37 +0200

On 2012-07-18 00:21, Seth Mattinen wrote:
[..]
Don't, because there's already a /10 defined for such things. It's
called ULA (unique local address) aka RFC 4193. ULAs are not globally
routable.

Here's a calculator that will generate a random one for you:

http://bitace.com/ipv6calc/

A random one indeed, because the javascript for it is just:
8<-----------------------------------------------------
  var calc_private = function() {

    var str = "fd";

    for(i = 0; i<10; i++) {
      str = str + toHex(Math.floor(Math.random()*16));
      if (i % 4 == 1) str = str + ":";
    }

    $("#private_subnet").html("Your private subnet is:
<code>"+str+":/48</code>");
    $("#multicast1").val(str+":/48");
    calc_multicast1();
------------------------------------------------------->8

does not follow RFC4193 in any way at all. A such do not use it.

The original real RFC4193 ULA generator script can be found at:
 http://www.kame.net/~suz/gen-ula.html

google(ipv6 ula) for another page, that has been referenced often enough
on this very list already, if you want to 'register' it there to avoid
another small chance of collision, that page also uses the script from
the above site for a true RFC4193 prefix.

Greets,
 Jeroen


Current thread: