Re: [v6ops] AWS ipv6-only features

Brian E Carpenter <brian.e.carpenter@gmail.com> Mon, 29 November 2021 21:06 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 60A6D3A09A1 for <v6ops@ietfa.amsl.com>; Mon, 29 Nov 2021 13:06:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.95
X-Spam-Level:
X-Spam-Status: No, score=-2.95 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, NICE_REPLY_A=-1.852, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 K5L_bGRjE2uq for <v6ops@ietfa.amsl.com>; Mon, 29 Nov 2021 13:05:59 -0800 (PST)
Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) (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 BF9B13A09A3 for <v6ops@ietf.org>; Mon, 29 Nov 2021 13:05:59 -0800 (PST)
Received: by mail-pf1-x432.google.com with SMTP id n85so18215952pfd.10 for <v6ops@ietf.org>; Mon, 29 Nov 2021 13:05:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=qRrBsQN2hW1uUvmZ56QwKSqfsnQpXJWpn00TouufGn0=; b=MMniAe2HKcEYAKE2obWB/WkFjJwgaCQSy3OXbeluYiz/0DvV9O/IDvE9QYdJD+Ue/7 Kq427h7usuckVl7SDGUs1lkkHgAdUIVhj8vM2U5r/LuFcrfEv+0AmxIA9nS58GJ69sit opNqddBnyaq7odMx5603Z/S61N4ZWV64S+7gqXZGmnak/uZYTfloMl3TWAkhpL66wLYk U6pM86defcl6tFkUeHbVvaFevkkcb9FzVb8iz+DM4Y1YzhnvWu9bQHviqrp0UC8YZ+YU adI+m5Z8eRmooEVGMLWl/uyosclusFVtNyzRp+8ya6ALuZIBQUcMx575j++RvxTn/zd3 RKjQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=qRrBsQN2hW1uUvmZ56QwKSqfsnQpXJWpn00TouufGn0=; b=dvXJA5GX1tFy/JScG5Aw2KsGBVM75woIxp6EfWqQbVrYCztAMDBFPg6QWI7G4/gLVN vJPY7Tt8gRAYtRIObc5K1P1FkaAuFKumgqAUqMJ+TXn0HDrIZgK2EhF9b3e0LNY0n47z KHTFgGAWL1NX/rj9nG16UW+hkD1xkT5+fcHhb+M05ywOw0j+pJomm/+fk8sn4WWzjhXW Uhs3M5EB4Ow4dte3GddzHAMbra21ojURZxwnupEc6tl15QudAXevDZX2liZwoyPneaX3 yr9W6bScwPyO6Sr37BbaWBVf6vZS7lg+XTtuw5I+sss550V2csLtfuHlUNvHy2SwcDi/ N+ug==
X-Gm-Message-State: AOAM531NAcZLH9v60iopjqmP2ziU/4+5wqSuyg1eb2aIuhf4VlKn2w/a Agav4hpQmUjvIw0zx9lbdiSqY4VNOCoMOQ==
X-Google-Smtp-Source: ABdhPJx/O3LGs4ebE31lyjVNbepfF7zlhY2S/+mRO/n01HarsXaAqt1uV7Xo08gR+kASOh6pUTLcAA==
X-Received: by 2002:a05:6a00:1a56:b0:4a3:3c0c:11c0 with SMTP id h22-20020a056a001a5600b004a33c0c11c0mr41965528pfv.42.1638219958122; Mon, 29 Nov 2021 13:05:58 -0800 (PST)
Received: from ?IPv6:2406:e003:102d:e801:80b2:5c79:2266:e431? ([2406:e003:102d:e801:80b2:5c79:2266:e431]) by smtp.gmail.com with ESMTPSA id i10sm244418pjd.3.2021.11.29.13.05.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 Nov 2021 13:05:57 -0800 (PST)
To: buraglio@es.net, Mark Smith <markzzzsmith@gmail.com>
Cc: IPv6 Ops WG <v6ops@ietf.org>
References: <CAD6AjGRAkpMDaAh31mVL=+Gcz5PHejUxxLazr4Xb=vVRHfaSpw@mail.gmail.com> <CAO42Z2z8u_DQMd9eNSQp_RhBinXk2KyH4pdbVLMEqOta-hoG1w@mail.gmail.com> <CADzU5g5odQ82FJ0TsdNxFB42OkgLZ+PWanLLrK1roLojAUS54A@mail.gmail.com> <CAO42Z2z+ZJ_pLwZmBjZ_HFsNXQ6jok-PMRTP23ZD2UMch61wtw@mail.gmail.com> <CAM5+tA9JhRWfZ2VLLQnT8Mg+Xng-+Rc-oQnX8Ma5DguL2uDO8w@mail.gmail.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <771a145e-8483-63e5-5200-a1ff32a0e781@gmail.com>
Date: Tue, 30 Nov 2021 10:05:53 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <CAM5+tA9JhRWfZ2VLLQnT8Mg+Xng-+Rc-oQnX8Ma5DguL2uDO8w@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/iN86ih1XYicRWOmrk95C_fhKUjw>
Subject: Re: [v6ops] AWS ipv6-only features
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 29 Nov 2021 21:06:05 -0000

Nick,

On 30-Nov-21 07:33, Nick Buraglio wrote:
> Thank you for writing some information on ULA, it's an important part of IPv6 and not really discussed enough. Perhaps we should start another thread, but I'd like to hear more about when you see this behavior:
> 
> /"ULAs are preferred over GUAs, so when a host is presented with both a 
ULA and GUA as possible ways to reach a destination, the host will select 
the ULA. Once the ULA destination address is chosen, the host will then choose its ULA as a source address to reach the ULA destination. This preference of ULA addressing over GUA addressing is the mechanism that provides internal network connectivity independence from concurrent external Internet connectivity."/
> 
> In testing and in practice I have experienced that exactly the opposite 
of this is true in both day-to-day use and every single explicit test I have done where ULA and GUA are present on both sides with a variety of hardware platforms and operating systems. GUA is used in every scenario I test when the AAAA records are all matching (i.e. appropriately correct DNS). 

Please be more precise about the scenario. Do you mean that both hosts have AAAA records for their GUAs *and* ULAs, and that the app uses DNS names, or what?

Nevertheless, default address selection in RFC6724 is that GUAs win over ULAs, so what you report is correct out-of-the-box behaviour. The description in Mark's blog is not the default scenario, but you could make it true by changing the RFC6724 policy table in all your hosts.

If an individual app *wants* to prefer ULAs, it's not hard, but it does have to be an explicit choice. (My implementation of GRASP, for example, explicitly picks ULA over GUA if both are available, and reverts to link-local if neither is available.)

> I'm happy to learn that I am incorrect, as it would make certain things 
easier, but nothing so far in my experience has shown the described behavior.
> 
> Seemingly relevant to the discussion at hand, and definitely relevant to enterprises and providers actively using or considering ULA.

The default in RFC6724 was chosen precisely to avoid surprises for enterprises and providers. If you want ULAs as the default preference, you have 
to change something.

     Brian

> 
> nb
> 
> On Thu, Nov 25, 2021 at 2:49 PM Mark Smith <markzzzsmith@gmail.com <mailto:markzzzsmith@gmail.com>> wrote:
> 
> 
> 
>     On Fri, 26 Nov 2021, 07:41 Clark Gaylord, <cgaylord@vt.edu <mailto:cgaylord@vt.edu>> wrote:
> 
>         Yeah AWS hold their cards close and don't seem to engage the community, but they do have decent IPv6 coverage across the services. Notwithstanding that the whole VPC concept has the whiff of ancient days about 
it; tonight we're gonna network like it's 1999!
> 
>         EC2 as part of the address is a great idea. I am so stealing that (can't believe I haven't thought of it.)
> 
> 
>     It's a terrible idea. The "Unique" in ULA is on purpose.
> 
> 
>       Getting IPv6 private addressing right
> 
>     https://blog.apnic.net/2020/05/20/getting-ipv6-private-addressing-right/ <https://blog.apnic.net/2020/05/20/getting-ipv6-private-addressing-right/>
> 
> 
> 
>         On Thu, Nov 25, 2021, 15:09 Mark Smith <markzzzsmith@gmail.com <mailto:markzzzsmith@gmail.com>> wrote:
> 
> 
> 
>             On Thu, 25 Nov 2021, 23:51 Ca By, <cb.list6@gmail.com <mailto:cb.list6@gmail.com>> wrote:
> 
>                 Fyi, aws has gone beyond perfunctory ipv6 support and has released a series of enhancements, with a focus on ipv6-only scenarios, including nat64 / dns64
> 
>                 https://aws.amazon.com/about-aws/whats-new/2021/11/aws-nat64-dns64-communication-ipv6-ipv4-services/ <https://aws.amazon.com/about-aws/whats-new/2021/11/aws-nat64-dns64-communication-ipv6-ipv4-services/>
> 
>                 AWS has lapped Google and Azure in advanced network features, which is really surprising given the early muscle Google developed 
at IPv6 launch and a stronger need to differentiate … 
> 
> 
>             AWS failed to do ULAs properly. 'ec2' could be a random global ID, but unlikely when their service is "EC2".
> 
>             Matters more here because they're exposing that to all of their tenants. I think GUAs would have been better for these internal all tenant services.
> 
>             I've never seen AWS participate here in 20 years, unlike G and M.
> 
> 
>                 _______________________________________________
>                 v6ops mailing list
>                 v6ops@ietf.org <mailto:v6ops@ietf.org>
>                 https://www.ietf.org/mailman/listinfo/v6ops <https://www.ietf.org/mailman/listinfo/v6ops>
> 
>             _______________________________________________
>             v6ops mailing list
>             v6ops@ietf.org <mailto:v6ops@ietf.org>
>             https://www.ietf.org/mailman/listinfo/v6ops <https://www.ietf.org/mailman/listinfo/v6ops>
> 
>     _______________________________________________
>     v6ops mailing list
>     v6ops@ietf.org <mailto:v6ops@ietf.org>
>     https://www.ietf.org/mailman/listinfo/v6ops <https://www.ietf.org/mailman/listinfo/v6ops>
> 
> 
> _______________________________________________
> v6ops mailing list
> v6ops@ietf.org
> https://www.ietf.org/mailman/listinfo/v6ops
>