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

Wojciech Dec <wdec.ietf@gmail.com> Mon, 26 March 2012 16:42 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 99B8021E80CF for <softwires@ietfa.amsl.com>; Mon, 26 Mar 2012 09:42:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.662
X-Spam-Level:
X-Spam-Status: No, score=-2.662 tagged_above=-999 required=5 tests=[AWL=-0.248, 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 pQE9r5gaMk9h for <softwires@ietfa.amsl.com>; Mon, 26 Mar 2012 09:42:50 -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 89E7C21E80BE for <softwires@ietf.org>; Mon, 26 Mar 2012 09:42:47 -0700 (PDT)
Received: by qadc14 with SMTP id c14so2322708qad.10 for <softwires@ietf.org>; Mon, 26 Mar 2012 09:42:46 -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=GynvDEjMmxy2efl7hghVzXmB8ZudwokAbR7o6DWnQTw=; b=B/bl46s13V1NHnTXfvNp4vBzK8Ana6u6s9sfaRxtmxq7hPF5H/JKxmWl9kPB++m8VU H5YUdGF8gfK67voXlantaH+waHKYizUGc6/qSeSpYl3XaS4EuWBjFLTwL3RYRK0tMy0S ++VeOKGNGOybOw+HyGA0QlV5OOsxWc8wg55TpX0+KW87Y8o4fj8PGaigi3+79AbW3CdH fiq+mRUGFlj6EBIP5DXNottPzg/wDDLWKL3aju0j26t9xlCJbS7sVoshLJsLbWD0sh1L EpszpxD1lXt854mQXYW3yyp8xKKvfWsLs+PX7j6qbucrfxvn29iXsUkq+tC0/uwifvTC 8IMQ==
MIME-Version: 1.0
Received: by 10.224.213.7 with SMTP id gu7mr2725255qab.25.1332780166904; Mon, 26 Mar 2012 09:42:46 -0700 (PDT)
Received: by 10.229.218.4 with HTTP; Mon, 26 Mar 2012 09:42:46 -0700 (PDT)
In-Reply-To: <2BF534DB-3665-4FB4-B7AC-335B9FCA92EB@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> <CAFFjW4gv+EA39=SLsVX4L+79LNuZswooJQ7u42z27DzRL5nz7A@mail.gmail.com> <2BF534DB-3665-4FB4-B7AC-335B9FCA92EB@laposte.net>
Date: Mon, 26 Mar 2012 18:42:46 +0200
Message-ID: <CAFFjW4gWV+fv1-cNg=Yy4tmJCt0kWGMEWMX6Ewv47ZgocBTicg@mail.gmail.com>
From: Wojciech Dec <wdec.ietf@gmail.com>
To: Rémi Després <despres.remi@laposte.net>
Content-Type: multipart/alternative; boundary="20cf300fb109697c7b04bc281034"
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 16:42:52 -0000

On 26 March 2012 13:34, Rémi Després <despres.remi@laposte.net> wrote:

>
> Le 2012-03-26 à 11:08, Wojciech Dec a écrit :
>
> 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.
>
>
> Are you saying that, when original IPv4 packets have null UDP
> checksums, MAP-T would REQUIRE CEs and BRs to recompute UDP checksums of
> complete packets?
> This would certainly prevent packets containing fragments to be forwarded
> on the fly, and would therefore have performance implication.
>

The fragmented packet case is not what I'm referring to, but rather, the
case where regular unfragmented IPv4 UDP checksum 0 packets are sent. As
per rfc6145, the checksum recalculation of such packets is allowed.

>
> In any case, this is not specified yet (one more open issue of the MAP set
> of documents).
>

There doesn't seem to be a need to do that as it's already specified in
rfc6145.

-Woj.


>
> RD
>
>
>
> -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.htmland 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.htmland other posts.Please add
>>>
>>>  | 17 | Handle ICMP (RFC6145) | Y | n/a | ? | ? |
>>>
>>>  ...
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Softwires mailing list
>>> Softwires@ietf.org
>>> https://www.ietf.org/mailman/listinfo/softwires
>>>
>>>
>>
>>
>
>