Re: [Softwires] ECN [4rd-U complement - e2e transparency to IPv4 TOS]

Rémi Després <despres.remi@laposte.net> Wed, 19 October 2011 07:51 UTC

Return-Path: <despres.remi@laposte.net>
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 7A31321F8B3B for <softwires@ietfa.amsl.com>; Wed, 19 Oct 2011 00:51:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.784
X-Spam-Level:
X-Spam-Status: No, score=-1.784 tagged_above=-999 required=5 tests=[AWL=0.165, BAYES_00=-2.599, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3]
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 RYW0iV8i+XGK for <softwires@ietfa.amsl.com>; Wed, 19 Oct 2011 00:51:02 -0700 (PDT)
Received: from smtp23.services.sfr.fr (smtp23.services.sfr.fr [93.17.128.22]) by ietfa.amsl.com (Postfix) with ESMTP id 9A7A421F8B2A for <softwires@ietf.org>; Wed, 19 Oct 2011 00:51:02 -0700 (PDT)
Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2316.sfr.fr (SMTP Server) with ESMTP id BF3CD70000EB; Wed, 19 Oct 2011 09:50:59 +0200 (CEST)
Received: from [192.168.0.21] (per92-10-88-166-221-144.fbx.proxad.net [88.166.221.144]) by msfrf2316.sfr.fr (SMTP Server) with ESMTP id 42FDC70000E2; Wed, 19 Oct 2011 09:50:57 +0200 (CEST)
X-SFR-UUID: 20111019075057274.42FDC70000E2@msfrf2316.sfr.fr
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="iso-8859-1"
From: Rémi Després <despres.remi@laposte.net>
In-Reply-To: <4E9DDB22.9000908@gmail.com>
Date: Wed, 19 Oct 2011 09:50:56 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <50357926-C09B-4BFE-B7AB-976B48C0E704@laposte.net>
References: <85015B23-C124-43DB-913D-3829B895C2A9@laposte.net> <4E9C8D5C.4060706@gmail.com> <B83FCD09-0563-4DC3-ADDC-92E0DAA32030@laposte.net> <4E9DDB22.9000908@gmail.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
X-Mailer: Apple Mail (2.1084)
Cc: Softwires WG <softwires@ietf.org>
Subject: Re: [Softwires] ECN [4rd-U complement - e2e transparency to IPv4 TOS]
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: Wed, 19 Oct 2011 07:51:03 -0000

Le 18 oct. 2011 à 22:01, Brian E Carpenter a écrit :

> On 2011-10-18 19:55, Rémi Després wrote:
>> Le 17 oct. 2011 à 22:17, Brian E Carpenter a écrit :
>> 
>>> On 2011-10-18 01:36, Rémi Després wrote:
>>>> Hi Satoru-san,
>>>> 
>>>> Thank you for identifying a limitation of the 4rd-U  
>>>> You are right, as currently specified, "it doesn't support diff-serv tunneling model, pipe and short-pipe".
>>>> All these need e2e transparency to the IPv4 Type of Service.
>>>> 
>>>> Fortunately, this is easy to fix:
>> 
>> *
>>>> in the Identification field of the IPv6 Fragment header, copy not only the DF bits but also the IPv4 TOS.
>> *
>> 
>>> Will this cause any difficulties for ECN, if ECN is supported on the IPv6
>>> leg of the journey?
>> 
>> Not in my understanding.
>> Since the IPv4 TOS is copied in the Identification field of the IPv6 Fragment header, it will be restored at exit of the IPv6 leg independently of any MPLS and ECN that may be used in that leg.
> 
> That's my problem. If the IPv6 leg supports ECN, any change to the ECN bits
> during the IPv6 journey will be lost, so the end systems will not be informed
> about congestion. I think the ECN bits need to be copied to and from the IPv6
> Traffic Class.

Thanks for the clarification.
Whether ECN is deployed or not is beyond my current knowledge, but I now understand that this issue exists, and is applicable to 4rd-U as it is to encapsulation. 

>>> Apart from that, please remember that the DSCP part of the DS Field is not an
>>> end-to-end field; it is mutable.
>> 
>>> I advise applying the relevant considerations
>>> from Sections 4.1 and 5.1 of RFC 6145.
>> 
>> This isn't necessary because RFC 6145 is about Translation, while 4rd-U, with the above between asterisks, precisely avoids translations between IPv4 TOS and IPv6 Traffic. 
>> In this respect, is more like 4rd Encapsulation than like 4rd Translation.
> 
> Firstly, that means that any diffserv treatment specified for the IPv4 packet is
> missed during the IPv6 journey. So as for ECN, the IPv4 DSCP value should probably
> be copied into the the IPv6 traffic class.

Using the same field for ECN and for QoS differentiation seems to me a source of difficulty.
A minimal approach seems to be treating IPv6-domain traversal as just one link traversal.   


> Second, as discussed in RFC 6145 section 5.1,
> the diffserv code point might be rewritten at the exit from IPv6.

> Please also see the extensive discussion about diffserv and tunnels in RFC 2983.
> Actually the treatment in RFC 6145 was supposed to be roughly equivalent to RFC 2983.

Thanks for the reference.

Regards,
RD