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

Brian E Carpenter <brian.e.carpenter@gmail.com> Tue, 18 October 2011 20:01 UTC

Return-Path: <brian.e.carpenter@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 016AC21F8B5A for <softwires@ietfa.amsl.com>; Tue, 18 Oct 2011 13:01:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.399
X-Spam-Level:
X-Spam-Status: No, score=-103.399 tagged_above=-999 required=5 tests=[AWL=-0.100, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
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 iBAUARMq5RcI for <softwires@ietfa.amsl.com>; Tue, 18 Oct 2011 13:01:49 -0700 (PDT)
Received: from mail-qy0-f179.google.com (mail-qy0-f179.google.com [209.85.216.179]) by ietfa.amsl.com (Postfix) with ESMTP id 5499021F8B59 for <softwires@ietf.org>; Tue, 18 Oct 2011 13:01:49 -0700 (PDT)
Received: by qyk31 with SMTP id 31so880204qyk.10 for <softwires@ietf.org>; Tue, 18 Oct 2011 13:01:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=7FoarAoT4MlGq2s4WOdCPkC1JRoKkhUrf9FBub9vfgM=; b=JzU1hIRFC/9t9v5mduITTs83EboALoT4DEgERN+Up0pxTIHgy51dV706nHerTiezxB HhIH2bb2jBkA8uoU+cUjvDkt3KBTVLbs2CWIyeg+ES4AiUJdAQ425Bsh8MVxa8Sv4YOY d4rRGsXtF96hU+SkzWqk7cl0b2LF3zmtfmkEk=
Received: by 10.229.85.146 with SMTP id o18mr863987qcl.111.1318968108659; Tue, 18 Oct 2011 13:01:48 -0700 (PDT)
Received: from [130.216.38.124] (stf-brian.sfac.auckland.ac.nz. [130.216.38.124]) by mx.google.com with ESMTPS id em9sm3675660qab.10.2011.10.18.13.01.45 (version=SSLv3 cipher=OTHER); Tue, 18 Oct 2011 13:01:47 -0700 (PDT)
Message-ID: <4E9DDB22.9000908@gmail.com>
Date: Wed, 19 Oct 2011 09:01:38 +1300
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Rémi Després <despres.remi@laposte.net>
References: <85015B23-C124-43DB-913D-3829B895C2A9@laposte.net> <4E9C8D5C.4060706@gmail.com> <B83FCD09-0563-4DC3-ADDC-92E0DAA32030@laposte.net>
In-Reply-To: <B83FCD09-0563-4DC3-ADDC-92E0DAA32030@laposte.net>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
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: Tue, 18 Oct 2011 20:01:50 -0000

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.

>> 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. 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.

Regards
   Brian

> Regards,
> RD
> 
> 
> 
> 
>  
>> Regards
>>   Brian Carpenter
>>
>>
>>
>