Re: [Softwires] 4rd Address Mapping - version-01

Rémi Després <despres.remi@laposte.net> Thu, 29 September 2011 12:40 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 0CBA721F8C49 for <softwires@ietfa.amsl.com>; Thu, 29 Sep 2011 05:40:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.888
X-Spam-Level:
X-Spam-Status: No, score=-1.888 tagged_above=-999 required=5 tests=[AWL=0.060, BAYES_00=-2.599, HELO_EQ_FR=0.35, HTML_MESSAGE=0.001, 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 gQrd+Pg-PjNp for <softwires@ietfa.amsl.com>; Thu, 29 Sep 2011 05:40:06 -0700 (PDT)
Received: from smtp24.services.sfr.fr (smtp24.services.sfr.fr [93.17.128.81]) by ietfa.amsl.com (Postfix) with ESMTP id 9636621F8C44 for <softwires@ietf.org>; Thu, 29 Sep 2011 05:40:05 -0700 (PDT)
Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2404.sfr.fr (SMTP Server) with ESMTP id AF75E7000148; Thu, 29 Sep 2011 14:42:54 +0200 (CEST)
Received: from [192.168.0.21] (per92-10-88-166-221-144.fbx.proxad.net [88.166.221.144]) by msfrf2404.sfr.fr (SMTP Server) with ESMTP id C95B470000F9; Thu, 29 Sep 2011 14:42:51 +0200 (CEST)
X-SFR-UUID: 20110929124253824.C95B470000F9@msfrf2404.sfr.fr
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: multipart/alternative; boundary="Apple-Mail-19--309448629"
From: Rémi Després <despres.remi@laposte.net>
In-Reply-To: <4E82C970.8060801@jacni.com>
Date: Thu, 29 Sep 2011 20:42:47 +0800
Message-Id: <1B5D8314-5D17-46AA-9676-76A657A67C64@laposte.net>
References: <D8334AA7-5001-4A92-B977-CE32931F4197@laposte.net> <CAAuHL_Cm6WYiM2Cu-fmu=gBLgTYDZ6hr56BfcXMoeS=Af4Q_jw@mail.gmail.com> <B3D5FABA-72BA-4C35-A068-D823CC0A4682@laposte.net> <CAM+vMERSbGuraAC9snvGUgPBOY40m5p0SX46qfVqJaB6bHmvCw@mail.gmail.com> <D8B8F1D1-1FE7-44E1-A6C6-E1480BD91C0A@ipinfusion.com> <4E82C970.8060801@jacni.com>
To: Jacni Qin <jacni@jacni.com>
X-Mailer: Apple Mail (2.1084)
Cc: Softwires-wg <softwires@ietf.org>, Wojciech Dec <wdec@cisco.com>
Subject: Re: [Softwires] 4rd Address Mapping - version-01
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: Thu, 29 Sep 2011 12:40:07 -0000

Hi Tetsuya-san  and Jacni,

Please see inline.

Le 28 sept. 2011 à 15:14, Jacni Qin a écrit :

> hi Tetsuya,
> 
> Inline please,
> 
> On 9/28/2011 1:36 PM, Tetsuya Murakami wrote:
>> 
>> Hi Remi,
>> 
>> I have one question about your new address mapping draft.
>> 
>> In the draft, you mentioned the special IID can be used for distinguishing 4rd packets from other IPv6 packet whose destination start with CE IPv6 prefixes.
>> 
>> But I think it is difficult to distribute the IPv6 prefix matching to the assigned Domain IPv6 prefix. Here is one example.
>> 
>> CE IPv6 Prefix:
>> +----------------------------+------------------+
>> | Domain IPv6 Prefix (36bit) | CE index (20bit) |
>> +----------------------------+------------------+
>> 
>> Domain IPv4 Prefix:
>> +--------------+
>> |   16 bits    |
>> +--------------+
>> 
>> In this case, the first 16bits of CE index can be embedded in the last 16bits of IPv4 address followed by Domain IPv4 prefix. And then the remaining 4bits of CE index can be embedded as PSID followed by 4bit port head.
>> 
>> At the BR, BR can generate the destination IPv6 address from the IPv4 destination and the destination port number as shown below.
>> 
>> <---------------------------------- 64bit --------------------------------------->
>> +----------------------------+--------------------------------+------------------+
>> | Domain IPv6 Prefix (36bit) | suffix of IPv4 address (16bit) | MAX PSID (12bit) |
>> +----------------------------+--------------------------------+------------------+
>> <---------------- CE IPv6 Prefix (56bit)--------------------------->
>> 
>> PSID can be derived from the port number after removing the first 4bit even though the length of the actual PSID is only 4bit.
> The last 8 bits can be just ignored, but the first 56 bits are still unique and enough for routing.
> 
>> In this case, CPE should terminate the packet whose IPv6 destination is matched to CE IPv6 Prefix and then process the decapsulation for 4rd. So, I think this means that any IPv6 prefix matching to CE IPv6 Prefix can be terminated at 4rd functionality in CE.
> If only talking about encapsulation approach, the CE can check the next header to see whether the packet is for 4rd (of course, the tunneling by hosts in LAN may not be allowed in this case).

Same understanding.
Thanks Jacni.


> While, generally to be compatible with double translation, the 4rd IID can be employed.

Actually, having a recognizable format for 4rd addresses makes it possible for hosts behind a 4rd CE to use any other IPv4-in-IPv6 encapsulation that 4rd without their packets being (inappropriately) processed as 4rd packets by the CE.

With a 4rd-recognizable IID, there is a guarantee that 4rd will never interfere with any non-4rd protocol.  

OK?

Thats AFAIK an important feature.
I remember a discussion with Wojciech about this, which maybe he could confirm.

RD


> That is, after receiving an packet, the CE will check whether the IPv6 destination address matches its delegated prefix, and a 4rd IID exists. if so, the packet will be processed by 4rd functionality. Otherwise, the packet will be routed natively to some host attached in LAN.
> 
>> For this, even though CE IPv6 Prefix can be delegated to the CE, CE can not delegate any IPv6 prefixes matching to CE IPv6 Prefix to any hosts connected on the LAN side of the CE. Usually, if the CE can get an IPv6 prefix whose length is 56bit, CE can delegate an IPv6 prefix having the different prefix length (i.e. 64bit) to the hosts locating on the LAN side of the CE. But I don't think it can be working because the IPv6 destination matching to CE IPv6 prefix (delegated prefix) should be terminated at CPE for 4rd processing. So, in order to provide Dual-stack for the hosts locating on the LAN side of the CE, an additional IPv6 prefix different from CE IPv6 Prefix needs to be delegated.
> Please see my comments above, the 4rd and IPv6 services can share the same delegated IPv6 prefix.
> 
> 
> Cheers,
> Jacni
> 
>> 
>> Is my understand correct?
>> 
>> Thanks,
>> Tetsuya Murakami
>> 
>> 
>> _______________________________________________
>> Softwires mailing list
>> Softwires@ietf.org
>> https://www.ietf.org/mailman/listinfo/softwires