Re: [v6ops] New Version Notification for draft-ipversion6-loopback-prefix-00.txt

Mark Andrews <marka@isc.org> Tue, 17 February 2015 03:20 UTC

Return-Path: <marka@isc.org>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D0FD81A014D for <v6ops@ietfa.amsl.com>; Mon, 16 Feb 2015 19:20:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.311
X-Spam-Level:
X-Spam-Status: No, score=-1.311 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_21=0.6, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8i1xpt3Gx_aU for <v6ops@ietfa.amsl.com>; Mon, 16 Feb 2015 19:20:40 -0800 (PST)
Received: from mx.pao1.isc.org (mx.pao1.isc.org [IPv6:2001:4f8:0:2::2b]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A32C11A0145 for <v6ops@ietf.org>; Mon, 16 Feb 2015 19:20:40 -0800 (PST)
Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) by mx.pao1.isc.org (Postfix) with ESMTP id E65163493CE; Tue, 17 Feb 2015 03:20:37 +0000 (UTC)
Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id 1B47D160060; Tue, 17 Feb 2015 03:27:29 +0000 (UTC)
Received: from rock.dv.isc.org (c122-106-252-81.belrs3.nsw.optusnet.com.au [122.106.252.81]) by zmx1.isc.org (Postfix) with ESMTPSA id AA91D16004C; Tue, 17 Feb 2015 03:27:28 +0000 (UTC)
Received: from rock.dv.isc.org (localhost [IPv6:::1]) by rock.dv.isc.org (Postfix) with ESMTP id 87BA329A857B; Tue, 17 Feb 2015 14:20:29 +1100 (EST)
To: Mark ZZZ Smith <markzzzsmith@yahoo.com.au>
From: Mark Andrews <marka@isc.org>
References: <20150217012326.698E829A71C4@rock.dv.isc.org> <1733494631.8203276.1424140594033.JavaMail.yahoo@mail.yahoo.com>
In-reply-to: Your message of "Tue, 17 Feb 2015 02:36:34 -0000." <1733494631.8203276.1424140594033.JavaMail.yahoo@mail.yahoo.com>
Date: Tue, 17 Feb 2015 14:20:28 +1100
Message-Id: <20150217032029.87BA329A857B@rock.dv.isc.org>
Archived-At: <http://mailarchive.ietf.org/arch/msg/v6ops/YXZSEL7lpwyclbsx9BrKwp3wLDA>
Cc: "v6ops@ietf.org" <v6ops@ietf.org>
Subject: Re: [v6ops] New Version Notification for draft-ipversion6-loopback-prefix-00.txt
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Feb 2015 03:20:43 -0000

In message <1733494631.8203276.1424140594033.JavaMail.yahoo@mail.yahoo.com>, Ma
rk ZZZ Smith writes:
> 
> 
> 
> 
> ________________________________
> From: Mark Andrews <marka@isc.org>
> To: Mark ZZZ Smith <markzzzsmith@yahoo.com.au> 
> Cc: David Conrad <drc@virtualized.org>; "v6ops@ietf.org" <v6ops@ietf.org> 
> Sent: Tuesday, 17 February 2015, 12:23
> Subject: Re: [v6ops] New Version Notification for draft-ipversion6-loopback-p
> refix-00.txt
> 
> 
> 
> The fundemental reason for 127.0.0.0/8 was to give each node a
> addresses block they could use. 127.0.0.1 evolved as the "standard"
> loopback address over time.
> 
> / Actually, 4.2BSD made added the '.1' as the default address, as the '0' the
> y'd originally chosen was the BSD broadcast address:
> 
> http://minnie.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/netinet/if_lo
> op.c

Yes, BSD squatted on the address.  I was well aware of the history.
 
>  For the most part no one uses the rest
> of 127.0.0.0/8 but it is useful to have available.
> 
> / I'm not sure I completely agree with the idea, however the NTP reference cl
> ock drivers use 127.127/16 addresses to make them available to the ntp daemon
> . I think this use is a bit different to what ICANN specified, as those addre
> sses only have local significance on the host that both the ntp daemon and th
> e reference clocks are attached to. Outside of that host they're unreachable 
> and have no meaning. Fortunately with millions of other addresses within 127/
> 8 there are plenty of others to use for other purposes on the host.

Yes, they have squatted on these address for internal uses.  The
only reason this doesn't cause issues is that for the most part
127.0.0.0/8 is not used.

> That said any
> use of the rest of 127.0.0.0/8 has to be negotiated between the
> users.  You can't just grab 127.0.0.2 and hope that no one else is
> using it for IP traffic.
> 
> 
> / I'm a bit confused by this. 127.0.0.2 traffic should not be leaking outside
>  of the host, as that is contrary to RFC990/RFC1122 rules. So the only risk o
> f collision is two users on the same host. That is of course possible, howeve
> r the great thing is that there are millions of other loopback addresses avai
> lable on the host that the users can choose from, and the ones in use can be 
> viewed with 'netstat -a -4 -n' or similar. Hosts have become pretty much sing
> le user too these days.

I have two different applications which have hard coded 127.0.0.2
port 2356 as the way to connect to them.  Which one gets to use
127.0.0.2 port 2356?  As I said the use of the rest of 127.0.0.0/8
needs to be negotiated.  No one and "rights" on any part of it.

> / ::1/128 is pretty much single user use.
> 
> In IPv6 we had both link local and site local addresses from the
> get go.  These gave the operator addresses they could use.  They
> were also slightly more complicated than a GUA as you needed to
> specify scope.  We now have ULA addresses which gets rid of the
> need to specify scope.  Just like with 127.0.0.2 you need to negotiate
> the use of a address.
> 
> Reserving a new block of addressing in IPv6 will not stop the need
> to negotiate address use.
> 
> If you need truly automatic assignment you need to go to IANA or a
> RIR (e.g. ARIN and 100.64/10) and request a block for a specific
> 
> purpose.  There is no other way to do truly automatic.
> 
> / From my draft:
> 
> "9.  IANA Considerations
> 
> IANA is requested to allocate 0001::/32 from within 0000::/8 of the
> Internet Protocol Version 6 Address Space, for use as a larger
> loopback prefix for IPv6, as detailed in this memo, and to record it
> in the [IANA-IPV6REG]."

And 1::1 will have what automatic meaning?  Which application get
*exclusive* use of 1::1?  1::/32 would be scratch space.

We already have enough mechanisms to create scatch space.  If you
need a /32 then you can get one from ULA space.  There are 16M /32's
ULA blocks for local assignment.

If a application needs reserved address space that will never collide
with anyone else then the vendor should request it from the RIR's
for the use of the application.  Even if 1::/32 is allocated it is
useless for that purpose.

Mark

> Mark
> 
> In message <776573476.8036822.1424133091182.JavaMail.yahoo@mail.yahoo.com>, M
> ar
> k ZZZ Smith writes:
> > So the fundamental problem is 'configured like this'. It's a manual operati
> on
> >  to generate and apply a ULA. ULAs on loopbacks aren't going to well known 
> or
> >  ubiquitous.
> > 
> > If you want something to be used you need to make it easy, and the best way
>  t
> > o make something easy is to make it automatic.
> > 
> > The value in 127/8, ::1 and a larger IPv6 loopback prefix is that it is or 
> wo
> > uld be automatically configured by the OS, with operator intervention. It's
>  a
> > lways there, and always available to use. The 4.1c/2.9BSD people though the
> re
> >  was value in automatic configuration of the loopback address on a loopback
>  i
> > nterface, way back in 1982/1983:
> > 
> > http://minnie.tuhs.org/cgi-bin/utree.pl?file=2.9BSD/usr/net/sys/net/if_loop
> .c
> > 
> > http://minnie.tuhs.org/cgi-bin/utree.pl?file=4.1cBSD/a/sys/netinet/if_loop.
> c
> > 
> > 
> > 
> > ----- Original Message -----
> > From: Mark Andrews <marka@isc.org>
> > To: David Conrad <drc@virtualized.org>
> > Cc: Mark ZZZ Smith <markzzzsmith@yahoo.com.au>; "v6ops@ietf.org" <v6ops@iet
> f.
> > org>
> > Sent: Tuesday, 17 February 2015, 10:22
> > Subject: Re: [v6ops] New Version Notification for draft-ipversion6-loopback
> -p
> > refix-00.txt
> > 
> > 
> > We don't need *more* reserved address for this.  This is from my
> > laptop and it has been configured like this for years.
> > 
> > Yes, I have a ULA site on my loopback interface.  If your loopback
> > interface does not support this it is broken.
> > 
> > 
> > Mark
> > 
> > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> >     options=3<RXCSUM,TXCSUM>
> >     inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
> >     inet 127.0.0.1 netmask 0xff000000 
> >     inet6 ::1 prefixlen 128 
> >     inet 10.53.0.1 netmask 0xffffffff 
> >     inet6 fd92:7065:b8e:ffff::1 prefixlen 64 
> >     inet 10.53.0.2 netmask 0xffffffff 
> >     inet6 fd92:7065:b8e:ffff::2 prefixlen 64 
> >     inet 10.53.0.3 netmask 0xffffffff 
> >     inet6 fd92:7065:b8e:ffff::3 prefixlen 64 
> >     inet 10.53.0.4 netmask 0xffffffff 
> >     inet6 fd92:7065:b8e:ffff::4 prefixlen 64 
> >     inet 10.53.0.5 netmask 0xffffffff 
> >     inet6 fd92:7065:b8e:ffff::5 prefixlen 64 
> >     inet 10.53.0.6 netmask 0xffffffff 
> >     inet6 fd92:7065:b8e:ffff::6 prefixlen 64 
> >     inet 10.53.0.7 netmask 0xffffffff 
> >     inet6 fd92:7065:b8e:ffff::7 prefixlen 64 
> >     inet 10.53.0.8 netmask 0xffffffff 
> >     inet6 fd92:7065:b8e:ffff::8 prefixlen 64 
> >     inet 10.53.0.9 netmask 0xffffffff 
> >     inet6 fd92:7065:b8e:ffff::9 prefixlen 64 
> >     inet 10.53.0.10 netmask 0xffffffff 
> >     inet6 fd92:7065:b8e:ffff::10 prefixlen 64 
> > 
> > -- 
> > Mark Andrews, ISC
> > 1 Seymour St., Dundas Valley, NSW 2117, Australia
> > PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org
> 
> 
> 
> -- 
> Mark Andrews, ISC
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org