Re: [Softwires] MAP and 4rd - Relationship with Single translation

Wojciech Dec <wdec.ietf@gmail.com> Mon, 26 March 2012 09:08 UTC

Return-Path: <wdec.ietf@gmail.com>
X-Original-To: softwires@ietfa.amsl.com
Delivered-To: softwires@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A4D9121F8468 for <softwires@ietfa.amsl.com>; Mon, 26 Mar 2012 02:08:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.677
X-Spam-Level:
X-Spam-Status: No, score=-2.677 tagged_above=-999 required=5 tests=[AWL=-0.263, BAYES_00=-2.599, HTML_FONT_FACE_BAD=0.884, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ebbSd6JzKcB3 for <softwires@ietfa.amsl.com>; Mon, 26 Mar 2012 02:08:51 -0700 (PDT)
Received: from mail-qa0-f44.google.com (mail-qa0-f44.google.com [209.85.216.44]) by ietfa.amsl.com (Postfix) with ESMTP id 0777421F84F6 for <softwires@ietf.org>; Mon, 26 Mar 2012 02:08:49 -0700 (PDT)
Received: by qadc14 with SMTP id c14so2051203qad.10 for <softwires@ietf.org>; Mon, 26 Mar 2012 02:08:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=biwL2ynlwmkutfgfhcus/MHqPKWN1GejuKMFLXg5GZk=; b=fk65Q5GYiiu149w/6xPQ6eeDC73WGu/BIQa2mQcEPy9zG1Ywo5j8LOXMmk9/owmz7n 7TOcqT6dCrhSmN01ABQbHnVNuusQUzk8xnmRyJbA/lEbSXWCZiVKWqTu29pKoNHQ0K6z YI/so11r6ptgY1t7hxqg9YgKJyud665D1xmeO3KGrpb+9RSbSoZy+dOrpXKEnVN82lFJ 5526dl69mPnaf6dBarWeF18rempeuNJ0BCHwt7nTNocBWphyR+Kp0a2z8zkWLLg4czz+ 9nNs6BABBkPl3iU7TryHSuEs8yM39bsrxmsmtVHhHiVrFfKnsCRw3HrGaZAMuxDqamnH wdyg==
MIME-Version: 1.0
Received: by 10.224.59.7 with SMTP id j7mr26849881qah.38.1332752929511; Mon, 26 Mar 2012 02:08:49 -0700 (PDT)
Received: by 10.229.218.4 with HTTP; Mon, 26 Mar 2012 02:08:49 -0700 (PDT)
In-Reply-To: <A03FA585-0426-4DA6-A199-F2E64DF34391@laposte.net>
References: <B140D6B2-1B19-43D7-9B63-6BEA83CEB164@juniper.net> <3AAD65F3-5169-49B7-9698-E820EF419B35@employees.org> <171F46DF-2C26-48A8-BE2D-D859C9DE43E9@laposte.net> <8A238676-62B7-4A8B-8986-B24A964CFD9B@juniper.net> <29D1D1C9-CC1E-4F92-81BC-81ECC3402C47@laposte.net> <63E186D0-B49E-4AB4-93C1-C6C7412519E8@laposte.net> <96214733-7D45-436E-81C2-6E6701542C79@employees.org> <4F348EEB.4050908@cernet.edu.cn> <86ABDF99-789A-47D3-AD70-476F998E31AE@laposte.net> <4F59AE74.4090204@cernet.edu.cn> <5AAB9CD9-4C3E-469E-B5C5-64E4C9C3E82F@laposte.net> <4F666409.9050800@cernet.edu.cn> <8B228A6B-4D3C-4E39-BE94-E1B4773649E0@laposte.net> <CAFFjW4ip0DBZ-4qmBBHwyQutnYwJ+F9LOYJ79w2vtqz_5VKEdA@mail.gmail.com> <A03FA585-0426-4DA6-A199-F2E64DF34391@laposte.net>
Date: Mon, 26 Mar 2012 11:08:49 +0200
Message-ID: <CAFFjW4gv+EA39=SLsVX4L+79LNuZswooJQ7u42z27DzRL5nz7A@mail.gmail.com>
From: Wojciech Dec <wdec.ietf@gmail.com>
To: Rémi Després <despres.remi@laposte.net>
Content-Type: multipart/alternative; boundary="20cf306f74deefd9e604bc21b8f1"
Cc: Softwires WG <softwires@ietf.org>, Yong Cui <cuiyong@tsinghua.edu.cn>, Ralph Droms <rdroms@cisco.com>
Subject: Re: [Softwires] MAP and 4rd - Relationship with Single translation
X-BeenThere: softwires@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: softwires wg discussion list <softwires.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/softwires>, <mailto:softwires-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/softwires>
List-Post: <mailto:softwires@ietf.org>
List-Help: <mailto:softwires-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/softwires>, <mailto:softwires-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Mar 2012 09:08:52 -0000

With the checksum re-computed, as per the rfc6145 option, translated IPv6
packets would get the right checksum. With 4rd-u so far I see no such
option.

-Woj.

On 23 March 2012 14:55, Rémi Després <despres.remi@laposte.net> wrote:

> Hi, Wojciech,
>
> Are you suggesting that T would work with IPv4 packets having UDP checksum
> = 0?
>
> RFC6145 says that IPv4 packets with UDP checksum = 0 are either always
> discarded, or optionally discarded if not fragmented (with checksum
> recomputed if not discarded).
> I don't see:
> - how this would work with double translation
> - why anything should be added to U for checksum-less UDP  (IPv6-only
> hosts don't support it anyway).
>
> Cheers,
> RD
>
>
>
> Le 2012-03-23 à 13:46, Wojciech Dec a écrit :
>
>
>
> On 19 March 2012 14:22, Rémi Després <despres.remi@laposte.net> wrote:
>
>> Hi, Xing,
>>
>> I look forward to face to face discussions in Paris if we don't clarify
>> everything before that (I will be busy on something else in the next 3
>> days).
>>
>>
>> Le 2012-03-18 à 23:39, Xing Li a écrit :
>> ...
>>
>>
>>   A key point is that 4rd doesn't prevent a 4rd-capable dual-stack CE
>> node, when it receives no 4rd mapping rule, to exercise single translation.
>>  Actually, I believe that using for this the BIH of RFC6535 is both
>> sufficient and recommendable.
>>  Translated IPv4 packets, because they are sent from CE nodes to DNS64
>> synthesized addresses, are appropriately routed to their destinations. (It
>> can be via the NAT64-CGN if needed, or via more direct paths if possible.)
>> Anything missed?
>>
>>
>> Sorry, this is a misunderstanding.
>> Hint: Single translation and double translation are based on the same
>> mapping rule in the CERNET2 deployment.
>>
>>
>> I am well aware of this, but this doesn't explain why 4rd mapping rules
>> similar to those of CERNET2 wouldn't have, like MAP-T, "IPv4 to IPv6
>> communication (single translation) supported".
>>
>> As said in RFC6219, CERNET hosts have their IPv6 addresses configured
>> "via manual configuration or stateful autoconfiguration via DHCPv6".
>> Hosts can therefore be assigned Interface IDs that have the 4rd-u format
>> (with V octet and CNP).
>>
>> Now, when both addresses happen to be checksum neutral, RFC6145
>> translation doesn't modify L4 data, so that it doesn't matter whether the
>> DS node has used 4rd-u header mapping or single translation.
>> Thus, IPv6-only hosts can exchange packets with IPv4 applications of 4rd
>> CE nodes.
>>
>
> If those packets are UDP checksum 0, the IPv6 host would either need to be
> customized, or something else would need to changed/configured on the 4rd-u
> CE specifically to get that to work for specific IPv6 destinations, while
> with MAP-t this would be transparent (and not require specific forwarding
> rules).
>
> -Woj.
>
>
>>
>> Regards,
>> RD
>>
>>
>>
>>
>>
>>
>>
>> Regards,
>>
>> xing
>>
>>
>>
>>  Regards,
>> RD
>>
>>
>>
>>
>>
>>  Regards,
>>
>> xing
>>
>>
>>
>>  Regards,
>> RD
>>
>>
>>
>>
>>
>>  Le 2012-02-10 à 04:28, Xing Li a écrit :
>> ... | | | | |
>>
>>     |  5 | IPv6 web caches work for IPv4        |  Y  |  N  |  Y  |  N  |
>>   |    | packets                              |     |     |     |     |
>>
>>  suggest you rename to "IPv4 to IPv6 communication (single translation) supported"
>>
>>
>>
>> (2) More clarification should be added here. I am not sure 4rd-H can
>> support single translation.
>>
>> (a) According to (1), 4rd-H does not perform header translation defined
>> by RFC6145.
>>
>> (b) In the softwire mailing list, it seems that 4rd-H cannot support
>> single translation.  See the thread containing
>> http://www.ietf.org/mail-archive/web/softwires/current/msg03324.html and
>> other posts.
>>
>> (c) If 4rd-H cannot support single translation, then "IPv6 web caches
>> work for IPv4 packets" requires special configurations, it cannot do IPv6
>> web caches for non 4rd-H packets.
>>
>>
>>  ...
>>
>>  (5) I would like to see the details of how 4rd-H handles ICMP and ICMP
>> error messages. In the softwire mailing list there were some discussions. See
>> the thread containing
>> http://www.ietf.org/mail-archive/web/softwires/current/msg03324.html and
>> other posts. Please add
>>
>>  | 17 | Handle ICMP (RFC6145) | Y | n/a | ? | ? |
>>
>>  ...
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Softwires mailing list
>> Softwires@ietf.org
>> https://www.ietf.org/mailman/listinfo/softwires
>>
>>
>
>