Re: [IPv6] Suggestion for multi homed clients without NAT/NPT

Vasilenko Eduard <vasilenko.eduard@huawei.com> Fri, 06 January 2023 15:43 UTC

Return-Path: <vasilenko.eduard@huawei.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 75E26C14CE3C for <ipv6@ietfa.amsl.com>; Fri, 6 Jan 2023 07:43:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.198
X-Spam-Level:
X-Spam-Status: No, score=-4.198 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PY1TLF118DEc for <ipv6@ietfa.amsl.com>; Fri, 6 Jan 2023 07:43:42 -0800 (PST)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D22B0C14CF07 for <ipv6@ietf.org>; Fri, 6 Jan 2023 07:43:41 -0800 (PST)
Received: from mscpeml500002.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4NpSDT4Q8Jz6HJTS; Fri, 6 Jan 2023 23:38:49 +0800 (CST)
Received: from mscpeml500001.china.huawei.com (7.188.26.142) by mscpeml500002.china.huawei.com (7.188.26.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Fri, 6 Jan 2023 18:43:38 +0300
Received: from mscpeml500001.china.huawei.com ([7.188.26.142]) by mscpeml500001.china.huawei.com ([7.188.26.142]) with mapi id 15.01.2375.034; Fri, 6 Jan 2023 18:43:38 +0300
From: Vasilenko Eduard <vasilenko.eduard@huawei.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>, "Philipp S. Tiesel" <philipp@tiesel.net>, 6man <ipv6@ietf.org>
Thread-Topic: [IPv6] Suggestion for multi homed clients without NAT/NPT
Thread-Index: AQHZHOy7l9f89tMDvE2g8IQ1Jw9DE66IOhkAgAAdrgCABXpxAIACAQwAgAG7q/A=
Date: Fri, 06 Jan 2023 15:43:37 +0000
Message-ID: <94476ea4e8894e60b6c7d43d4ddde616@huawei.com>
References: <b3742e2b-6472-9eb4-bee2-507fa8cdf4c6@posteo.de> <05ed3426-7731-baef-44a1-6fc50ce69a5b@gmail.com> <9586.1672523456@localhost> <14437462-8E95-4554-A4A4-A83E08382439@tiesel.net> <9192.1672934804@localhost>
In-Reply-To: <9192.1672934804@localhost>
Accept-Language: en-US, zh-CN
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.81.191.1]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/vvnnafKKL3mSyaqDgsI0eH1-bpU>
Subject: Re: [IPv6] Suggestion for multi homed clients without NAT/NPT
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jan 2023 15:43:46 -0000

PvD has no value for 1)ND, 2)source routing,
That may be needed in a multihoming environment.

But PvD has a value for 3) DNS,
If RDNSS is received from the same router in a situation where it may have a different context (different PIOs).

Strictly speaking, all 3 solutions are needed for a complete multihoming package.

I am not aware of any PvD alternative on how to inform from the same router that "this DNS is for this PIO, but that DNS is for a different PIO".

PS: if the host is receiving different RDNSSes (with respective PIOs) from different routers then PvD is not needed.

Eduard
-----Original Message-----
From: ipv6 [mailto:ipv6-bounces@ietf.org] On Behalf Of Michael Richardson
Sent: Thursday, January 5, 2023 7:07 PM
To: Philipp S. Tiesel <philipp@tiesel.net>; 6man <ipv6@ietf.org>
Subject: Re: [IPv6] Suggestion for multi homed clients without NAT/NPT


Philipp S. Tiesel <philipp@tiesel.net> wrote:
    > I did my Ph.D. on that topic and called it Happy Eyeballs on Steroids.

    > Most results went into the TAPS WG… maybe have a look at
    > - https://datatracker.ietf.org/doc/draft-ietf-taps-arch/
    > - https://datatracker.ietf.org/doc/draft-ietf-taps-interface/
    > - https://datatracker.ietf.org/doc/draft-ietf-taps-impl/

Very cool.  I will read them. I didn't know TAPS was doing this, and I suspect that few in 6man know either.  Maybe a 5 minute presentation is in order.

Philipp S. Tiesel <philipp@tiesel.net> wrote:
    > I am convinced RFC 8028 would also be a great start for clients with
    > multiple default routes, e.g., enabling stuff like multi-path TCP to
    > work correctly, but it will not be sufficient for meaningful
    > multi-homing / source address selection.

Do your IDs explain why?

    > In addition, to avoiding problems with CDNs, it is also  required to
    > separately keep track of DNS on a per-router/PvD basis and only use the
    > matching source addresses for new connections, so RDNSS should also be
    > treated analog to the source address in RFC 8028.

I'm surprised to hear this.  I'm not convinced that PvD are a good idea, I think that they represent IPv4 thinking, and I think that there are better ways to do this in IPv6.  So I'm curious to understand how they are connected.

    > Having tried to manage traffic from within getaddrinfo() I can only
    > recommend to abandon that idea.
    > A lengthly write-up why can be found here in Section 6 of this expired
    > draft:
    > https://datatracker.ietf.org/doc/html/draft-tiesel-taps-socketintents-bsdsockets-02

Thank you. I agree that it can't be done properly in getaddrinfo().

    > The only way forward I see is something like TAPS and Appel’s
    > implementation is already pretty close what it would needs to make use
    > of multi-homing here. They just need a litte more
    > aggressive/opportunistic happy eyeball candidate selection.

Is there a FAQ on how to play with this code?


--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide