Re: Last Call: <draft-ietf-6man-rfc4291bis-07.txt> (IP Version 6 Addressing Architecture) to Internet Standard

Alexandre Petrescu <alexandre.petrescu@gmail.com> Wed, 22 February 2017 17:47 UTC

Return-Path: <alexandre.petrescu@gmail.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 44FCA129A75 for <ietf@ietfa.amsl.com>; Wed, 22 Feb 2017 09:47:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.333
X-Spam-Level:
X-Spam-Status: No, score=-5.333 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_HI=-5, SPF_SOFTFAIL=0.665] autolearn=ham autolearn_force=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 Uv6VguRYjKpu for <ietf@ietfa.amsl.com>; Wed, 22 Feb 2017 09:47:15 -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 B6648129A7A for <ietf@ietf.org>; Wed, 22 Feb 2017 09:47:14 -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 v1MHlC9I012908 for <ietf@ietf.org>; Wed, 22 Feb 2017 18:47:12 +0100
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id D029920ACC6 for <ietf@ietf.org>; Wed, 22 Feb 2017 18:47:12 +0100 (CET)
Received: from muguet2.intra.cea.fr (muguet2.intra.cea.fr [132.166.192.7]) by pisaure.intra.cea.fr (Postfix) with ESMTP id C961F20ACC2 for <ietf@ietf.org>; Wed, 22 Feb 2017 18:47:12 +0100 (CET)
Received: from [10.8.34.184] (is227335.intra.cea.fr [10.8.34.184]) by muguet2.intra.cea.fr (8.15.2/8.15.2/CEAnet-Intranet-out-1.4) with ESMTP id v1MHlCYK009011 for <ietf@ietf.org>; Wed, 22 Feb 2017 18:47:12 +0100
From: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Subject: Re: Last Call: <draft-ietf-6man-rfc4291bis-07.txt> (IP Version 6 Addressing Architecture) to Internet Standard
To: ietf@ietf.org
References: <20170221101339.GC84656@Vurt.local> <CAKD1Yr33oQb=gMGaEM++hLgmMtxMdihiDrUihEsjs63vy8qRbA@mail.gmail.com> <54c81141-e4f5-4436-9479-9c02be6c09bb@Spark> <CAKD1Yr28iQHt0iuLvR3ndrT3Hfct=4k9dxjJeu3MAjDjOogEvA@mail.gmail.com> <CAL9jLaZgTp++PJ9KGHEWuPoVm6t3b8QfVDCEhz5h4fv-0fuUAA@mail.gmail.com> <CAKD1Yr3SbR=xt3RPu7+q1o14wKuUuwUc6oG+BgZtEK1O+m5sWw@mail.gmail.com> <4936e96b-fc82-4de0-9188-ced9547deb2f@Spark> <CAKD1Yr3K+SJb_4ksZ96yNypVKJE-fXopuVaXNhhKp1gkh1=QEg@mail.gmail.com> <20170222144147.GC89584@hanna.meerval.net> <CAKD1Yr2n=ogFo7LJYgjcraoFxioQQzmo8HYxzNRJ10VA8xMVOg@mail.gmail.com> <20170222153129.GE89584@hanna.meerval.net> <CAKD1Yr2-yS-tX9Pe0Rk_74hnXa9Rc-yTHV0m=Kbi2q0wvYGgPg@mail.gmail.com>
Message-ID: <d72bb63f-04c3-f72b-08f9-787a324afe1c@gmail.com>
Date: Wed, 22 Feb 2017 18:47:05 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1
MIME-Version: 1.0
In-Reply-To: <CAKD1Yr2-yS-tX9Pe0Rk_74hnXa9Rc-yTHV0m=Kbi2q0wvYGgPg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/oGCdkmFvY35sUtjQK10_P9lXabs>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Feb 2017 17:47:17 -0000

Sorry for interfering Lorenzo, but I think there is an error here.

Le 22/02/2017 à 16:56, Lorenzo Colitti a écrit :
[...]
> Also, bear in mind that the interface ID length is *not* the same as
> the prefix you route to the link.

I guess you mean the plen1 of a prefix routed to a link is not the same
as a plen2 (128-IIDlen) advertised by RA on that link.

If plen1 is /63 and the IIDlen is 64 then RFC4862 (SLAAC) text says the
prefix in the RA must be discarded.  For this reason people make a /64
out of that /63 by putting a 0 in there.  Should it be 0 or 1?  Silence
in specs about this.

If plen1 is /120 and the plen in the RA is /64 then there is a big
problem, below.

If on another hand you mean that that /64 is not in an RA but manually
configured in the interface: then why put 64 when all the subnet has is
a 120?  Who asks for this?  The 4291bis spec?  That's an error too.

> Given that you're talking about static configuration, you can
> perfectly well configure all the hosts with /64 prefixes, but give
> them addresses that are all in a given /120

I guess you mean to manually assign 2001:db8::1/120 on a machine, and
2001:db8::2/120 on another.  I dont see why setting a /64 there at all.

> and then route only the /120 to that link.

YEs.  One could route the /120 to that link, and have each Host on that
link statically configure an IP address with that /120 prefix length.
That works.

ND and NUD also work ok with /120.

But,

If one puts a /64 in a RA in a subnet where only a /120 is routed to
then things may break.  Some Hosts may self-configure SLAAC/Ethernet
some addresses with an IID of length 64 which are routed elsewhere, not
to them.  Outgoing packets may go, but incoming packets go to some other
place.

> That will also avoid all the attacks.

YEs, some ND attacks will be avoided if using a /120.  One does not need
to put /64 anywhere in order to avoid ND attacks.

> It also makes configuration much simpler, because you don't have to
> touch any of the hosts when you run out of the /120: just increase
> the /120 to a /119 on the router and move up from ::ff to ::100. That
> is 100% supported by the current text of RFC4291bis, which requires
> that the router forward packets to the /120.

YEs, I agree.  It can be extended that way.  But in this case, again,
why the need to put /64 there?

> This trick doesn't work in IPv4,

I agree: in IPv4 it amounts to forwarding a /24 to a subnet and set /16
as subnet mask on the addresses of Hosts in that subnet.  That can
create problems.  They are more visible in IPv4.

Same in IPv6: if one forwards a /120 to a subnet then set /120 as that
prefix length (aka subnet mask).  Otherwise problems.

One can do such trick equally well in IPv4 and in IPv6 and one is
equally conscious of the problems created.

Alex

>
> ...
>
> There is public data that suggests that the backbone you are
> familiar with might be connected to a public internet exchange which
> uses a /112 as peering lan prefix.
>
>
> For the record, I don't dispute either of those.
>
>> Also, backbone networks are a tiny percentage of the links on the
>> planet.
>
> I certainly will not deny that fact. Are you familiar with the
> concept of the McNamara fallacy?
>
>
> I wasn't. But that fallacy would apply to your arguments just as well
> as to mine. You're the one that brought numbers to the thread first.