Re: IPv6 only host NAT64 requirements?

james woodyatt <jhw@google.com> Thu, 16 November 2017 00:28 UTC

Return-Path: <jhw@google.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 3C63E124319 for <ipv6@ietfa.amsl.com>; Wed, 15 Nov 2017 16:28:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=google.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 YoRuUe4ZytF6 for <ipv6@ietfa.amsl.com>; Wed, 15 Nov 2017 16:28:24 -0800 (PST)
Received: from mail-pg0-x22d.google.com (mail-pg0-x22d.google.com [IPv6:2607:f8b0:400e:c05::22d]) (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 D1F59120227 for <ipv6@ietf.org>; Wed, 15 Nov 2017 16:28:24 -0800 (PST)
Received: by mail-pg0-x22d.google.com with SMTP id p9so19233971pgc.8 for <ipv6@ietf.org>; Wed, 15 Nov 2017 16:28:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=Pi77uB+WpIthVFtdwpr4k+OTmwMZK6gAbBrpBx5lrqE=; b=iwKxEF7/diO7dmh0SBtYiLPThmgpKsXoIl2neOCQV+sfOtOZycbjgxffZMH268mJWm JBZHotI2BBIebpUg/eK0jgOKE6zESb54D2igNksphrjGdTsdzXUZaa86RC3CahYqbd1A JOg32lsjvcOV6zW7i+ZIPcOpqgRUGKRgBJfh/VZA2qtlj2aZFwBVpEaablAcI8HwqTyy Vj09E5sSrI1eL2trD5gVbvWGvN10c/ij8dXc6v7jphb+4eRU5hQ/+N5Iy/iF8dg6dZKN PD7YgQj8FYauzPuV0IttNwaIjG7yGPh406afnf35noX4M/EAuiYpsrOLCH5F8LkqcKs4 DDLA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=Pi77uB+WpIthVFtdwpr4k+OTmwMZK6gAbBrpBx5lrqE=; b=P2eMrbkD1iiln/ApC/XQJDgqDXW5PDf/4xteVofdaQvTm/iKWp2PkBL26r1hkT5e2K 18b7xIXTRuTgTkhncojm9GNzU0KEL007JvnfkmxZzwrFgMjNe+2QG3vutYfAzpc5TLZL uAHBlu0xdFGon3JF0R0ZqDm6C74fDHgP0+KH8DZCuPPuxwALVi2Zkdvf/vxqxvanoGJx o9bIC2YUeI+WDrA5YInb9FYG6CIdAGUMTpuidJAJxj4JljHglCEjwcDyDM8gcfye3c1i UmkqxF7HNg49aftPvKB1cS3i2SdCRctoSUG9HJkDKQYhaKdn9NGDEC4EPzbPOxmOXiu2 buFw==
X-Gm-Message-State: AJaThX4DkpsHKWczwuIpcnbcc8yvmuRAAqghKJ+edjOzeVKSmeuBUHRY BXA8oqaomXsFjMJQ+ig5l2B2oQ==
X-Google-Smtp-Source: AGs4zMZHsPC/QZliJTZUx0kGteaxA0aEpAyjqN0v8rL9aDnDt0yNeS0c4XBQH8GznN4ay0JbWhV+bQ==
X-Received: by 10.98.153.139 with SMTP id t11mr19560781pfk.210.1510792104217; Wed, 15 Nov 2017 16:28:24 -0800 (PST)
Received: from ?IPv6:2620::10e7:10:788d:282:9de1:e7b9? ([2620:0:10e7:10:788d:282:9de1:e7b9]) by smtp.gmail.com with ESMTPSA id c1sm41240095pfa.12.2017.11.15.16.28.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Nov 2017 16:28:23 -0800 (PST)
From: james woodyatt <jhw@google.com>
Message-Id: <24F322DA-F193-430C-8F97-CCDDFEF46931@google.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_99EB5C14-0D26-49BC-AAAB-80D480E1AFC2"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Subject: Re: IPv6 only host NAT64 requirements?
Date: Wed, 15 Nov 2017 16:28:22 -0800
In-Reply-To: <AEA51AB8-63B0-4CAA-A085-5290F5987E92@employees.org>
Cc: Jen Linkova <furry13@gmail.com>, 6man WG <ipv6@ietf.org>, Mark Andrews <marka@isc.org>
To: Ole Troan <otroan@employees.org>
References: <m1eEGbJ-0000EhC@stereo.hq.phicoh.net> <D43E103C-27B8-48CF-B801-ACCF9B42533E@employees.org> <m1eEHPS-0000FyC@stereo.hq.phicoh.net> <59B0BEC0-D791-4D75-906C-84C5E423291B@employees.org> <m1eEIGX-0000FjC@stereo.hq.phicoh.net> <73231F8D-498E-4C77-8DA8-044365368FC9@isc.org> <CAKD1Yr1aFwF_qZVp5HbRbKzcOGqn==MRe_ewaA8Qc8t3+CVu_Q@mail.gmail.com> <44A862B7-7182-4B3A-B46E-73065FC4D852@isc.org> <D42D8D7A-6D19-4862-9BB3-4913058A83B6@employees.org> <CAFU7BARCLq9eznccEtkdnKPAtKNT7Mf1bW0uZByPvxtiSrv6EQ@mail.gmail.com> <183A8772-6FEF-43BD-97F9-DD4A2E21DB90@google.com> <5D9D33A8-88F0-4758-84FA-BCB364E8013F@employees.org> <16B61573-E233-40ED-8A22-CD145EBB8F98@google.com> <AEA51AB8-63B0-4CAA-A085-5290F5987E92@employees.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/NIl8Zuw8ZNB99QIJcsWLpdMZF28>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 16 Nov 2017 00:28:27 -0000

On Nov 15, 2017, at 15:24, Ole Troan <otroan@employees.org> wrote:
>>> 
>>>>> IMHO the optimal solution is:
>>>>> - the network SHOULD provide a host with NAT64 prefix information in RA;
>>>> 
>>>> Disagree. If the network has NAT64, then it should deploy RFC 7225. Ye gods, this is the very last thing that should be jammed into RA messages.
>>> 
>>> Do we really want PCP in IPv6?
>> 
>> If we have any kind of NAT, then we need PCP. Using NAT without PCP considered harmful. That goes for NAT64 and NAT66.
> 
> It's not for the lack of trying that IPv6 isn't adopted everywhere.
> As IPv4 address sharing ratio's increase, say good bye to endpoint independent NATs, IP fragmentation...
> 
> But now I have to first implement a PCP client, discover the PCP server address, and then finally get the NAT64 prefix. ;-)

Having implemented a PCP client, I can say from experience that it is a lot easier than implementing a DHCPv6 client.

Oh, and you have to discover all the PCP server addresses (in addition to the PCP server anycast address by RFC 7723) before you can use RFC 7225 to discover the NAT64 network-specific prefix (NSP) for each one. If you’re really married to DHCPv6, then I suppose you could use RFC 7291 for that. But if you want to add those data to RA messages too, why not? (Oh right, I remember why not: because it’s a bad idea. Just use the anycast address.)

>>> Is PCP successful in IPv4?
>> 
>> Well, there was this: <https://www.ietf.org/proceedings/88/slides/slides-88-pcp-5.pdf>
>> 
>>> Or does it even work well with A+P based solutions?
>> 
>> Designed expressly for it.
> 
> Ah, yes so it does.
> Doesn't work well with address and port dependent filtering though.

Is there a reason you think <https://tools.ietf.org/html/rfc6887#section-13.3 <https://tools.ietf.org/html/rfc6887#section-13.3>> doesn’t work well? Seemed to work well when I implemented it.


--james woodyatt <jhw@google.com <mailto:jhw@google.com>>