Re: NAT64 in RA, draft-ietf-6man-ra-pref64

Jen Linkova <furry13@gmail.com> Mon, 01 July 2019 04:08 UTC

Return-Path: <furry13@gmail.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 1F81A1201F0 for <ipv6@ietfa.amsl.com>; Sun, 30 Jun 2019 21:08:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.749
X-Spam-Level:
X-Spam-Status: No, score=-1.749 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no 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 AGFWCzsr-Q0Q for <ipv6@ietfa.amsl.com>; Sun, 30 Jun 2019 21:08:22 -0700 (PDT)
Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (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 04FFA12019D for <6man@ietf.org>; Sun, 30 Jun 2019 21:08:21 -0700 (PDT)
Received: by mail-qt1-x834.google.com with SMTP id d23so13247527qto.2 for <6man@ietf.org>; Sun, 30 Jun 2019 21:08:21 -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:content-transfer-encoding; bh=nL2dqOFu2yXJB0XX9UD4kx5sy450th2PfJ3luA8oGWI=; b=OwryH1PwtvOde6AsHF/7mXUJgHuQr1uy60KAHtnYzEJrdujTvyplZmco6O/C/rew7t X1+QIoy7qq+ftvs3K3SReoi1QcEtj1lbQ77QwHov7jhnagD6Tce28DaNAiFxMBXiWQS2 cQ7R+tlh7OaeM80hn9l7dBIsSiDenW7FMcE9DxIAM1F6e8qVbBLV/C7hEHFCuVgqnCem 5v3BKLKFXMGMlihXbVS5mN+8ULVNxJdj3EmDIFyrgZqa9iZm/h/NyirbfpO7WbDhzyXd F20MstXIifHCjJH7Z70bMwfWEPS+23aBV1id+Y62gupwxUvrccfgjiESId5Ym0ONtL/e Pb7A==
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:content-transfer-encoding; bh=nL2dqOFu2yXJB0XX9UD4kx5sy450th2PfJ3luA8oGWI=; b=GzlZ6b0qDeD7mkK6utAMaK+aRBcSVK62jmQfO0fCWIB5jNy2u00QxvDrn97DacUH8l 9w+ABxi/3I2iXVirvGTiZWD0UDPcOH1b9toFViNYDtx3q1yehXHAEImc1QZ4P8P76Lu2 6NQ/aqZ/pkyypC5WE/w0FgKqDHs1RpNHgp77quNxhUKggef1Y5qNmUCm/VDJ7iiJN5Wo n5k89thCI2Tk1RPCpS+4pYABuxu3yM9UsG/OmotSSDEHo7Zhe4ZvjW1LY19m1OYx6CfZ SBoozIWDQwcB1AokI9qtDgHpgeBxyt8bDbXfS2JA97AyukTFAGMP1uicsCYUSk/qpveK iJiQ==
X-Gm-Message-State: APjAAAXKLz6IB3Es9+c7jg4Cg8GEREQNj2o7AENOh/Au9+t0wPjIYqX3 cFY2jKUOuHD+RjAifUy2thndsJN14VKEKultSHo=
X-Google-Smtp-Source: APXvYqxUComQkybUJY/bRYkdA4sfVSDXqNcb71j1mvpTvXwYxuV4iF9HwzlpJnvRTFWq9VYXStlfe0CEG0HnK8ZvlGk=
X-Received: by 2002:ac8:2e59:: with SMTP id s25mr18336591qta.94.1561954100828; Sun, 30 Jun 2019 21:08:20 -0700 (PDT)
MIME-Version: 1.0
References: <12187.1558972629@localhost> <D3C7EB41-02E8-48D6-9335-26A041FD64C2@isc.org> <00C00FE5-C7CD-4B99-A2C9-CCBFCB1E4850@isc.org> <CAFU7BASfJ4YS6xBzK8hNJRSMnFZmdn3VE5A=sPCC3JqRa8SQEQ@mail.gmail.com> <EC63A89D-26CD-4093-8814-4461B6D3D327@isc.org> <CAFU7BASsAwitEc==Zj6qT4izy-tFosg23DHXFVVzOixidEfMFA@mail.gmail.com> <CAKD1Yr3jDTS25ERGZYDDM9yRRTxEfY4Ltcd-QgFNor6ze2G7xA@mail.gmail.com> <6053.1561748461@localhost> <CAKD1Yr0sKOc-yhWosq6LCHRoufOeTWyKEge9w8WeQabQYsfgyA@mail.gmail.com> <F01178F0-724F-4E74-A959-2B1C77B2AC09@isc.org>
In-Reply-To: <F01178F0-724F-4E74-A959-2B1C77B2AC09@isc.org>
From: Jen Linkova <furry13@gmail.com>
Date: Mon, 01 Jul 2019 14:08:08 +1000
Message-ID: <CAFU7BAS1W=kUEZp9fLwJVkduXs49EZJGMXUmiuY=rE3ThGDY6g@mail.gmail.com>
Subject: Re: NAT64 in RA, draft-ietf-6man-ra-pref64
To: Mark Andrews <marka@isc.org>
Cc: Lorenzo Colitti <lorenzo@google.com>, Michael Richardson <mcr+ietf@sandelman.ca>, 6man <6man@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/t-dN1tA0ai0SuJAsy0kI3Oab0Dw>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 01 Jul 2019 04:08:23 -0000

On Sun, Jun 30, 2019 at 7:50 AM Mark Andrews <marka@isc.org> wrote:
>
> Well the information in needed the moment you use the DNS64 prefix anywhere else than in the setup for a virtual interface.

I think the point is that information is needed only of the host has a
dual-stack interface and is using DNS64 (and there is a NAT64
somewhere behind that interface).
What I'm trying to say is that scenario looks very special and I'm
sure people are doing it in real life ex. for some experiments.

>The only reason you can get away with it in that scenario is that the routing table acts as a filter and only then if you have the node learning the routes and it is not relying on default to reach the rest of the internal subnets.

Not sure I understand what you mean.
Let's say there is a node connected to an IPv6-only LAN.
Scenario 1: the node has one route, ::/0 pointing to the router LLA.
Scenario 2: the node has a number of more specific routes, pointing to
some other LLAs.

How does it different for NAT64/DNS64 case with or without APL?

> Adding it in a second option also increases the RA overhead. Your main objection it that it increases the size of the RA option but you want to add the overhead of a second RA option.

I'm not sure there will be an overhead in case of two options.
[Disclaimer: writing this before my first coffee, so please
double-check my math]

If /96 prefix is used (remember, in that case to have the APL the
pref64 option would need to include all 128 bits of the prefix and the
prefix length so we are adding 64 bits of the overhead)

Case 1: the APL name is 24 bits or shorter
if we include it in the pref64 option, then we can keep Len = 3, so 192 bits
Separate options: the new option would have length = 1, and the pref64
option would have length = 2, total length of both options = 3, 192
bits. No overhead.

Case 2:  24 bits < the APL length  < 48 bits
If included in pref64 option: length = 4 (or 256 bits)
Separate option: length = 1, the pref64 option length = 2. Still 192
bits, We are even saving the bits.

Case 3: 48 bits < The APL name < 88 bits
If included into pfe64: len = 4 ( 256 bits)
The separate option would still have the length = 2. Pref64 option
length = 2. No overhead.

Case 4: 88 bits < the APL < 112 bits
If included into pfe64: len = 5
The separate option: len = 2. Pref64 len = 2. Having a separate option
saves bits.

etc.
If we look at random example of an APL name using 20 bytes:
- having it in the pref64 option: the option len = 6
- with two separate options: pref64 len = 2; the APL option len = 3 =>
the total len = 5.
Again, it's better to have a separate one.

> Go try and set up a validating DNS64 server on a tethered host and see if you can.

Tethered like 'tethered to a phone which is connected to v6-only network'?


> On 29 Jun 2019, at 10:38, Lorenzo Colitti <lorenzo@google.com> wrote:
>
> On Sat, 29 Jun 2019, 04:01 Michael Richardson, <mcr+ietf@sandelman.ca> wrote:
>>
>>     > As a co-author, I don't see a real operational need for this at the moment.
>>     > Why is this not something that we can define later on in its own draft,
>>     > once we get more support for it and consensus that it is a useful thing to
>>     > do?
>>
>> I'm not okay with this: I'd really like to be able to specify this in an RFP.
>> I'm okay with the mechanism being optional to support.
>
>
> That was not my point. My point was: why does this functionality need to be in this option? Why does it need to be in this draft? For example - why can't you and Mark submit a separate draft - at your earliest convenience - defining a new RA option to do this?
>
> Particularly given that you're saying this would be optional to implement, it seems natural to have two different options.
>
--
SY, Jen Linkova aka Furry