Re: [Rift] IPv4 vs IPv6

Tony Przygienda <tonysietf@gmail.com> Fri, 19 July 2019 15:17 UTC

Return-Path: <tonysietf@gmail.com>
X-Original-To: rift@ietfa.amsl.com
Delivered-To: rift@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 652B21205FD for <rift@ietfa.amsl.com>; Fri, 19 Jul 2019 08:17:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 esWczpsmWYJL for <rift@ietfa.amsl.com>; Fri, 19 Jul 2019 08:17:51 -0700 (PDT)
Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4EA101205FE for <rift@ietf.org>; Fri, 19 Jul 2019 08:17:51 -0700 (PDT)
Received: by mail-ed1-x535.google.com with SMTP id e3so34834832edr.10 for <rift@ietf.org>; Fri, 19 Jul 2019 08:17:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=t/lxRGtzcE8DP8cGwBobxMzSTFhwljXDNzfYQZ/wsnQ=; b=tLxlWY8LbOvOb2m0ZA707LMxJkbnlrbWyZAtGr7nEomQHBeudqnqQTm6exM91V3zZV Tn0liW3Pt5/W5iLHVcujArTyFoR8j3NVedZCVOs/qWCPdFyLuGs+r8VrenMbe5lfxU+g M4QMEgmDShJxo13jghGA6IfKCRgGrmVgOSqKwC/XpHmELRPVphOCkAjGkz08kDi1cU2/ dSAmhJvIxqfSYNbhi5zCXYmSTwsAbW3c+P/71qNQB02Va2mEY0e/XCKQP+RbajqaruW9 FZzLol3BPYctrWy9vMVv6ru9uvuBzIb1rMja0Md/MCU8C4ly54xUgjlucJpKdGR8uN0P CrNQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=t/lxRGtzcE8DP8cGwBobxMzSTFhwljXDNzfYQZ/wsnQ=; b=qCaldE6P9q9AfANww2nLVi1zxIZHzwN/NuAml3O711QII+RH5hP2gTB8ZnnGQwcWG+ J4ZDNIFzbIljfGXVv1zQKm+79922Cz1yTaY9fZyG84Pz2TKBTc2xkhl+St2cq0mBvWdw qkQIsUDaQC+8Qcl0aAFF6P77hVMwcp6HZhCLQcsElQPUKZeVQG24PhFqpV6nXPmIdldr JHwlYc4YufgUP++L/1mIChHNM0VnNJVOtEHfNjYhoZZqR228OOTbTVrNnK/Cx0KrAYV+ 1B2TowiVtJ+cwgy8JUCf+hggU7fZEp8XSYwywqyEmaHNBhbMq4wkgO6jgiCxzJIuX1Wc VleA==
X-Gm-Message-State: APjAAAWE1uTUNm1+Vee6ix7eHRquJY2uoWSOkOovtSqDM6rPLkmgnMj+ xF7kHRf/EO+X9E22zoBi5dJEucPMZCkjqF1mdfg=
X-Google-Smtp-Source: APXvYqwi09KuqCQh/WIrAr4j0Fnbcq0vl0GEWTYUGOpfASprXTFBKCCM8O+NWwlCAW8YkfLmdMC2PGXr2bPg6P74LJ0=
X-Received: by 2002:a50:b13b:: with SMTP id k56mr48377585edd.192.1563549469941; Fri, 19 Jul 2019 08:17:49 -0700 (PDT)
MIME-Version: 1.0
References: <alpine.DEB.2.20.1907180636330.19225@uplift.swm.pp.se> <CA+wi2hP6K3Or7ynOUzKovxkx8ZtvnTUdKVDvjRcB8=4yjFD6aQ@mail.gmail.com> <alpine.DEB.2.20.1907182001590.19225@uplift.swm.pp.se> <CA+wi2hOkZH0O44yTikfabmDpJSqZN+_qmZnDBA1gsyFoVhzYuQ@mail.gmail.com> <CAMMESsznSPyS7zEKQNE2Ey8uZh-64P2MFE+fJt1054oaScyJtw@mail.gmail.com> <CA+wi2hPSa7HAijtNAd4niWEZ0muGikkvp=8SDFUiHRbYBL2WYg@mail.gmail.com> <741E9BFC-1516-4E49-936A-FB096ECAFE8D@gmail.com>
In-Reply-To: <741E9BFC-1516-4E49-936A-FB096ECAFE8D@gmail.com>
From: Tony Przygienda <tonysietf@gmail.com>
Date: Fri, 19 Jul 2019 11:17:13 -0400
Message-ID: <CA+wi2hPXjFYeGardqVc1XXNUEFFdoCHFvKUm0YXWakN7m=AoEg@mail.gmail.com>
To: Bruno Rijsman <brunorijsman@gmail.com>
Cc: Alvaro Retana <aretana.ietf@gmail.com>, rift@ietf.org, Mikael Abrahamsson <swmike@swm.pp.se>
Content-Type: multipart/alternative; boundary="000000000000bea4bc058e0a3ae8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rift/nAGbh42jzAgpJmfwvD7GOrR3ihI>
Subject: Re: [Rift] IPv4 vs IPv6
X-BeenThere: rift@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussion of Routing in Fat Trees <rift.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rift>, <mailto:rift-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rift/>
List-Post: <mailto:rift@ietf.org>
List-Help: <mailto:rift-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rift>, <mailto:rift-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jul 2019 15:17:54 -0000

good, let's remove the sentence but we have to resolve the following
scenario now.

v6 LIEs are exchanged, with that we have v6 gateways

now, if v4 addresses are not present, no v4 LIEs can be exchanged but a
node may be able to forward v4 over v6 gateways (in fact highly desirable).
How do we know whether v4 can or cannot be forwarded over the link?

A possible solution is to send on the adjacency which address families can
be forwarded like this

/* Link capabilities */

struct LinkCapabilities {
    /* indicates that the link's `local ID` can be used as its BFD
       discriminator and the link is supporting BFD */
    1: optional bool                           bfd =
            common.bfd_default;


*    2: optional bool                           v4_forwarding_capable = true;*}

which will allow a node to decide whether it installs the v4 route v6
nexthop with v6 gateways on this link if it does not have a v4 address. Or
we just say "v4 can be forwarded over RIFT links even if only v6 LIEs have
been exchanged?" ...

-- tony



On Fri, Jul 19, 2019 at 12:30 AM Bruno Rijsman <brunorijsman@gmail.com>
wrote:

> That would be my vote.
>
> AFAIK the protocol supports v4-only, v6-only, and v4-and-v6.
>
> I don’t see a need to put a requirement in the spec that a router must
> support a specific subset of those options.  That is up to the implementor
> / operator.
>
> — Bruno
>
> On Jul 19, 2019, at 4:45 AM, Tony Przygienda <tonysietf@gmail.com> wrote:
>
> If the consensus is that we should be dropping the sentence completely in
> the next versions and not specify any RIFT router requirements, I think
> that's perfectly reasonable as well.
>
> --- tony
>
> On Thu, Jul 18, 2019 at 4:39 PM Alvaro Retana <aretana.ietf@gmail.com>
> wrote:
>
>> On July 18, 2019 at 3:50:34 PM, Tony Przygienda (tonysietf@gmail.com)
>> wrote:
>>
>> [Speaking as a WG member.]
>>
>> Aha ok, what you say is reasonable. I was steered here originally by the
>> fact the even cheapest stuff today
>> <http://airmail.calendar/2019-07-18%2012:00:00%20GMT-3> does v4 and if
>> we have v6 support on the fabric v4 forwarding over v6 nexthops is possible
>> at basically zero config cost and you have a great v4 to v6 migration
>> story. but with the angle you propose I see that writing "SHOULD support
>> v4" would be better assuming silicon will become v6 only over years and v4
>> will vanish.
>>
>> We can't write of course "MUST support v6" since that makes the stuff
>> undeployable in foreseable future albeit we all wish the world would have
>> moved on for last 20 years :-}
>>
>> Other opinions?
>>
>> I would go all the way and not make specific support Normative.  Even a
>> “SHOULD support IPv4” could raise a lot of questions.
>>
>> My 2c.
>>
>> Alvaro.
>>
>> _______________________________________________
> RIFT mailing list
> RIFT@ietf.org
> https://www.ietf.org/mailman/listinfo/rift
>
>
>