Re: [v6ops] I-D Action: draft-ietf-v6ops-host-addr-availability-04.txt

Alexandre Petrescu <alexandre.petrescu@gmail.com> Wed, 06 January 2016 13:36 UTC

Return-Path: <alexandre.petrescu@gmail.com>
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 C8FCA1B2B9E for <v6ops@ietfa.amsl.com>; Wed, 6 Jan 2016 05:36:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.983
X-Spam-Level:
X-Spam-Status: No, score=-4.983 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, HELO_EQ_FR=0.35, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_HI=-5, SPF_SOFTFAIL=0.665] autolearn=ham
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 h8Q5OUzeotg6 for <v6ops@ietfa.amsl.com>; Wed, 6 Jan 2016 05:36:57 -0800 (PST)
Received: from sainfoin-out.extra.cea.fr (sainfoin-out.extra.cea.fr [132.167.192.145]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ED72E1B2B93 for <v6ops@ietf.org>; Wed, 6 Jan 2016 05:36:22 -0800 (PST)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by sainfoin.extra.cea.fr (8.15.2/8.15.2/CEAnet-Internet-out-2.4) with ESMTP id u06DaKvP007536 for <v6ops@ietf.org>; Wed, 6 Jan 2016 14:36:20 +0100
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id B73D4202A8C for <v6ops@ietf.org>; Wed, 6 Jan 2016 14:43:47 +0100 (CET)
Received: from muguet1.intra.cea.fr (muguet1.intra.cea.fr [132.166.192.6]) by pisaure.intra.cea.fr (Postfix) with ESMTP id AE5C6200C0E for <v6ops@ietf.org>; Wed, 6 Jan 2016 14:43:47 +0100 (CET)
Received: from [10.8.34.184] (is227335.intra.cea.fr [10.8.34.184]) by muguet1.intra.cea.fr (8.15.2/8.15.2/CEAnet-Intranet-out-1.4) with ESMTP id u06DaK43002777 for <v6ops@ietf.org>; Wed, 6 Jan 2016 14:36:20 +0100
To: v6ops@ietf.org
References: <20160104031639.16535.43111.idtracker@ietfa.amsl.com> <CAKD1Yr3--uA06uec-CrR-33Bj3=r47a3CrZpFrmjDQjmWU5pOA@mail.gmail.com> <2134F8430051B64F815C691A62D9831832F98901@XCH-BLV-504.nw.nos.boeing.com> <CAKD1Yr2Y1QyYVQGa61i6piR7zxLwvi3oX88wdcpK-XtdEVFtrw@mail.gmail.com> <2134F8430051B64F815C691A62D9831832F98A37@XCH-BLV-504.nw.nos.boeing.com> <CAKD1Yr3oXCkEqU1nUr82K32+=g+GxE0nGZBQ0ab-ZCLWfy9sVQ@mail.gmail.com> <m1aGRLe-0000EhC@stereo.hq.phicoh.net> <CAKD1Yr3trjpGJ+WEML58jhaVnChCQaGStWjjtBqCHpUoJtFwdw@mail.gmail.com>
From: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Message-ID: <568D1854.7000300@gmail.com>
Date: Wed, 06 Jan 2016 14:36:20 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
MIME-Version: 1.0
In-Reply-To: <CAKD1Yr3trjpGJ+WEML58jhaVnChCQaGStWjjtBqCHpUoJtFwdw@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/v6ops/pZRxiqNnOU2GkHUtIT7jwUoEnHE>
Subject: Re: [v6ops] I-D Action: draft-ietf-v6ops-host-addr-availability-04.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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 06 Jan 2016 13:36:59 -0000

sidenote...

Le 05/01/2016 16:21, Lorenzo Colitti a écrit :
> On Tue, Jan 5, 2016 at 10:08 PM, Philip Homburg
> <pch-v6ops-4@u-1.phicoh.com <mailto:pch-v6ops-4@u-1.phicoh.com>> wrote:
>
>     - there are essentially no hosts requesting DHCPv6-PD
>        (I wonder if there are any hosts requesting multiple addresses using
>        DHCPv6 IA_NA).
>     - we know that in the CPE world there are at least two different
>     approaches of
>        doing DHCPv6-PD which does affect how the network provides those
>        addresses. (And also affects client implementations)
>
>     So in short, there simply is no real practice when it comes to a
>     large part
>     of this document.
>
>
> But it's not a "large part of the document" at all. It's not even a
> large part of the requirements section. I think what you are disagreeing
> with is only one of the recommendations, which is "if your network will
> only allow hosts to connect if they do DHCPv6, then don't hand out an
> addres via IA_NA, but hand out a prefix via DHCPv6 PD".
>
>     And we also have to curious word play where a host that uses a prefix
>     obtained through DHCPv6-PD has to be a router from the point of view
>     of ND,
>
>
> No, that's not true. A router is "a node that forwards packets not
> explicitly addressed to itself" [RFC2460]. A host that uses a prefix
> obtained using DHCPv6 PD does not need to do that.

If one reads the Note attached to the router definition in 2460, then 
one understands that a host that uses a prefix obtained with DHCP-PD 
does need to forward, and maybe its apps to explicitate the source address.

>     and is actually a router in one of the use cases (tethering). And
>     will be a router
>
>     in many implementations (AREO seems an exception in assigning
>     adresses to
>     the upstream interface), but we insist in calling it a host.
>
>
> Looks like you're assuming that a node needs to be a router in order to
> send a packet on one interface with a source address assigned to another
> interface. That's not true at all. In fact, to give you an idea on how
> this works I just ran a DHCPv6 PD client on my linux laptop to get a
> prefix from my home router, picked an address out of the prefix,
> assigned it to lo, and used it:
>
>  1. dhclient -d -6 -D LL -P eth0   # Run PD and note the prefix you get.
>     I got 2400:2410:20c0:4450::/60
>  2. ip -6 addr add dev lo 2400:2410:20c0:4450::1/128    # Pick an
>     address out of the prefix, assign to lo
>  3. ping6 -I 2400:2410:20c0:4450::1 www.google.com
>     <http://www.google.com>   # Use that address to talk to the Internet
>     via eth0
 >
> This all works as expected (and as predicted by the specifications). My

This is not as expected.  It is the "unusual" word of 2460.

It is unusual in that you had to argument "-I" to that ping6.

The usual way is to be able to say just "ping6 google.com" without 
arguments.

Alex

> laptop sends the packets on eth0 because it's the interface with the
> default route, both my laptop and my home router do NUD for the
> link-local address of the other device, and packets flow. My laptop is
> most certainly a host, and IPv6 forwarding is off.
>
> As for tethering - sure, a device with tethering enabled is a router.
> But that's a minor point. If you were to pick only one of the two, would
> you say that your phone and your laptop are "hosts" or "routers"? I
> think it's appropriate to call them "hosts", even though they
> occasionally act as routers. I suppose the word "node" would be more
> correct, but it would be much less readable.
>
>     So, publish as informational. Actually get some experience deploying
>     exactly what is proposed here. And then write a BCP on what is actually
>     deployed and how that works.
>
>
> Again, I think you're not seeing the forest for the (DHCPv6 PD) tree.
> The point of this document is not "networks should use DHCPv6 PD". The
> point of this document is "networks that provide service to general
> purpose devices should provide those devices with multiple addresses at
> connection time". As the draft says, that statement is true of the
> networks used by tens of millions of devices every day: pretty much
> every home network, all 3GPP networks, and so on.
>
> DHCPv6 PD is cited simply because if a network has decided "we will use
> DHCPv6 and nothing else", then the only possible way to assign enough
> addresses is to use DHCPv6 PD. But that's a tiny minority of the
> networks out there, and it's only a small part of the draft.
>
>
> _______________________________________________
> v6ops mailing list
> v6ops@ietf.org
> https://www.ietf.org/mailman/listinfo/v6ops
>