Re: [Softwires] MAP Open issues: Interface-id

Ole Troan <ot@cisco.com> Tue, 08 November 2011 09:17 UTC

Return-Path: <ot@cisco.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 9F9A821F8CBB for <softwires@ietfa.amsl.com>; Tue, 8 Nov 2011 01:17:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.617
X-Spam-Level:
X-Spam-Status: No, score=-6.617 tagged_above=-999 required=5 tests=[AWL=-0.318, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4]
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 hxNpZTpFWnmp for <softwires@ietfa.amsl.com>; Tue, 8 Nov 2011 01:17:51 -0800 (PST)
Received: from ams-iport-4.cisco.com (ams-iport-4.cisco.com [144.254.224.147]) by ietfa.amsl.com (Postfix) with ESMTP id A282521F8C47 for <softwires@ietf.org>; Tue, 8 Nov 2011 01:17:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=ot@cisco.com; l=2982; q=dns/txt; s=iport; t=1320743871; x=1321953471; h=subject:mime-version:from:in-reply-to:date:cc: content-transfer-encoding:message-id:references:to; bh=vllABlOyjxTMxsCzdf7dRsiduJgCurrDhYsP0BzDx6Y=; b=BZcDbyAqtptEbEHa0uRO9Ky+Cj+mtYpglzuw3LSlVOAbyLr8A9A5QYHQ HTLTF+rI8KcM3NdBYBg3RnFx4XD21uc+WpNon7QRKNTYI+3Kbv3p5ibvh rndFZSXWGLpn9UyR0DKRph7lZbH8gTRnyiVF6LtmLkJrnhuzAOvJBDDbk w=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av0EAM/yuE6Q/khN/2dsb2JhbABDqgGBBYFyAQEBBBIBFBM/EAtGVwY1oCkBnxGISGMElCGRbQ
X-IronPort-AV: E=Sophos;i="4.69,476,1315180800"; d="scan'208";a="2621791"
Received: from ams-core-4.cisco.com ([144.254.72.77]) by ams-iport-4.cisco.com with ESMTP; 08 Nov 2011 09:17:50 +0000
Received: from dhcp-osl-vl300-64-103-53-182.cisco.com (dhcp-osl-vl300-64-103-53-182.cisco.com [64.103.53.182]) by ams-core-4.cisco.com (8.14.3/8.14.3) with ESMTP id pA89Hoe5018340; Tue, 8 Nov 2011 09:17:50 GMT
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="us-ascii"
From: Ole Troan <ot@cisco.com>
In-Reply-To: <BC2F2710-0097-4BA6-BE88-A4E3DCD8C537@laposte.net>
Date: Tue, 08 Nov 2011 10:17:50 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <4230DBF5-9EA6-43F9-B6D8-3E34DCF8082D@cisco.com>
References: <703EB6B3-AB8C-4690-91C6-2666C5779874@cisco.com> <9D6EBB21-38BC-4E6C-99E6-C3448FA2D3C8@laposte.net> <CAM+vMESudUt5PT+qxQED_P2s7DB7T+3D_M4OWQ1yUvNN-xqhzA@mail.gmail.com> <C09B8E42-A13F-4B30-AC88-43F98C709EDD@cisco.com> <BC2F2710-0097-4BA6-BE88-A4E3DCD8C537@laposte.net>
To: Rémi Després <despres.remi@laposte.net>
X-Mailer: Apple Mail (2.1084)
Cc: Softwires WG <softwires@ietf.org>
Subject: Re: [Softwires] MAP Open issues: Interface-id
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, 08 Nov 2011 09:17:52 -0000

>>>> 1. Checksum neutrality being an open question, it is relevant here.
>>>> 2. It is useful AFAIK to distinguish CE addresses from BR addresses.
>>>> 
>>>> The best proposal I know so far is as follows (with CNP = Checksum
>>>> neutrality preserver)
>>>> 
>>>> CE ADDRESS
>>>> 
>>>> <- - - - - - IPv6 Unformatted  address (104 bits) - - - ->
>>>> +-------------------+----------+----------+---------------+
>>>> | Rule IPv6 prefix  |IPv4 suff.| Max PSID |  Padding = 0  |
>>>> +-------------------+----------+----------+---------------+
>>>> :
>>>> :<- - - - - - - - - 64  - - - - - >:<- - - - 40 - - - - ->:
>>>> :                                  :\                      \
>>>> :                                  <8>                      :<- 16 ->
>>>> :                                  : :                      :        :
>>>> +----------------------------------'-'----------------------+--------+
>>>> | IPv6 unformatted address (part 1)|V|                      |   CNP  |
>>>> 
>>>> +----------------------------------+-+----------------------+--------+
>>>> <- - - - - - - - - - -  IPv6 address (108 bits)  - - - - - - - - - - >
>>>> 
>>>> 
>>>> 
>>>> BR ADDRESS
>>>> 
>>>> +------------------------------------+-+-----------------+-+-------+
>>>> |              BR IPv6 prefix        |V|   IPv4 address  |0|  CNP  |
>>>> +------------------------------------+-+-----------------+-+-------+
>>>> < - - - - - - - - - 64  - - - - - - ><8><- - -  32 - - -><8><  16  >
>>>> 
>>> 
>>> +1
>>> The checksum neutrality is desirable for translation case.
>>> I suggest to take above format into consideration
>> 
>> the consequence of that is that the destination IPv6 address will change for every flow.
> 
> If a source ignores the destination PSID length, yes, IPv6 addresses of two flows going to the same CE may differ.
> But so what?
> - The IPv4 packet submitted to the CE NAT is the same as the source IPv4 packet
> - The final destinations behind the NAT may differ too
> 
> 
>> the MAP node cannot any longer listen to a single IPv6 address for MAP traffic, but has to intercept packets for a whole prefix.
> 
> - BR's of double translation have always had this property.
> - Talking with Mark townsley, I got the understanding that this wasn't a real problem, at least with IOS.

everything can be _implemented_, that's not the point.

> => Clarifying this point would IMHO be useful. 

it is clearly requiring bigger changes to tunnel code. which unlike NAT code is attached to 'one' endpoint.
it makes co-existence of a MAP endpoint and native IPv6 nodes within a single /64 much harder.

let us turn this around. what's the point in embedding a new set of CNP bits in the IPv6 address, when the L4 checksum can be incrementally updated. that's what everyone has existing code to do already...

cheers,
Ole