using "reserved" IPv6 space
Seth Mattinen
sethm at rollernet.us
Tue Jul 17 22:47:01 UTC 2012
On 7/17/12 3:34 PM, Jeroen Massar wrote:
> 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.
>
Oh well, so much for the googles. Still, don't make up your own squat
range for "private" IPv6 space. Use ULA if you really want such a thing.
~Seth
More information about the NANOG
mailing list