Re: [Softwires] Proposed Unified Address Mapping for encapsulation and double-translation

Jacni Qin <jacni@jacni.com> Sat, 08 October 2011 14:56 UTC

Return-Path: <jacni@jacni.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 66E9B21F8B83 for <softwires@ietfa.amsl.com>; Sat, 8 Oct 2011 07:56:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.471
X-Spam-Level:
X-Spam-Status: No, score=-0.471 tagged_above=-999 required=5 tests=[AWL=-0.150, BAYES_00=-2.599, HOST_MISMATCH_NET=0.311, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, SARE_RECV_IP_222064=1.666]
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 4G+TZ+Ib4nYs for <softwires@ietfa.amsl.com>; Sat, 8 Oct 2011 07:56:38 -0700 (PDT)
Received: from srv05.olivemail.cn (mx100.vip.olivemail.net [74.82.185.218]) by ietfa.amsl.com (Postfix) with ESMTP id 4CB6D21F85A8 for <softwires@ietf.org>; Sat, 8 Oct 2011 07:56:38 -0700 (PDT)
Received: from srv01.olivemail.cn (unknown [202.105.21.229]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by srv05.olivemail.cn (Olivemail) with ESMTPS id 3E8E438006D for <softwires@ietf.org>; Sat, 8 Oct 2011 10:59:54 -0400 (EDT)
Received: from oray.cn (unknown [202.105.21.248]) by srv01.olivemail.cn (Olivemail) with SMTP id 7F17C340096 for <softwires@ietf.org>; Sat, 8 Oct 2011 22:59:52 +0800 (CST)
Received: from [192.168.1.4] (unknown [222.65.34.251]) by app (Coremail) with SMTP id +AWowJDbPgdTZZBOezIVAA--.18759S2; Sat, 08 Oct 2011 22:59:31 +0800 (CST)
Message-ID: <4E9065BD.3050001@jacni.com>
Date: Sat, 08 Oct 2011 23:01:17 +0800
From: Jacni Qin <jacni@jacni.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0) Gecko/20110922 Thunderbird/7.0
MIME-Version: 1.0
To: Rémi Després <despres.remi@laposte.net>
References: <F259BF79-B3C9-4434-AAC4-9F84B8D9A0FA@laposte.net> <CAH3bfACp_xvzotgrAhBrYhZ9ki47kbBVb-vmSsRtOOoyXxRSrA@mail.gmail.com> <10DF6CE6-394E-4FC9-BB80-9F24D4D2634B@laposte.net>
In-Reply-To: <10DF6CE6-394E-4FC9-BB80-9F24D4D2634B@laposte.net>
Content-Type: multipart/alternative; boundary="------------030705080805010107040504"
X-CM-TRANSID: +AWowJDbPgdTZZBOezIVAA--.18759S2
X-Coremail-Antispam: 1UD129KBjvJXoW7ur18GFWxXry3Jr48CrWxWFg_yoW8uFyfpF W3tr17JF4DJw18Wr48Jw4UJr1Ykr4rJw15Jr1Dtry8WF4Yvr1Yvw17Kr18J34UXry8Jr1U tr4UJa45Jr15ArJanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrn_kYjxAI6xkYrwAYjxAI6xCIbckI1I0E57IF64kEYxAxM7k0a2IF6w4k M7kC6x804xWl1xkIjI8I6I8E6xAIw20EY4v20xvaj40_Wr0E3s1lnx0Ec2IEnICE548m6r 1DJrWUZwAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr0_Gr1lF7xvr2IY 64vIr41l7480Y4vEI4kI2Ix0rVAqx4xJMxk0xIA0c2IEe2xFo4CEbIxvr21l42xK82IYc2 Ij64vIr41l4IxY624lx4CE17CEb7AF67AKxVWUXVWUAwCIc40Y0x0EwIxGrbIYCTnIWIev Ja73UjIFyTuYvjxUxnN3UUUUU
X-CM-SenderInfo: xmdf0xo6mdu03lof0z/1tbiAQAPEko7lOc3DQAAsk
Cc: Softwires-wg <softwires@ietf.org>
Subject: Re: [Softwires] Proposed Unified Address Mapping for encapsulation and double-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: Sat, 08 Oct 2011 14:56:50 -0000

hi,

Inline please,

On 10/6/2011 10:37 AM, Rémi Després wrote:
> ...
>
>> 2. Still for the destination address format, I suggest to embed PSID 
>> as well in the lower 64 bits (as in the following).
>
> <--------- 64 ------------>< 8 ><----   32 ----><--- 16 ----><8 >
> +--------------------------+----+---------------+------------+---+
> |     BR subnet prefix     | V  |  IPv4 address | PSID |  0  | L |
> +--------------------------+----+---------------+------------+---+
>
> The reported informal agreement we had in Beijing didn't explicitly 
> cover destination addresses, and I just reported what we said, but 
> this is AFAIK the implicit direction to go to.
> Yet, there is a point to be taken into account:
> - It concerns use cases where IPv6 prefixes are assigned without any 
> relationship with IPv4 prefixes and where different sharing ratios are 
> implicitly expressed by different IPv6 prefix lengths (they aren't the 
> only use cases, but are the only ones where a flat IPv6 routing plan 
> can be used with differentiated sharing ratios).
> - For this, a BR or CE that transmits to a CE destination doesn't know 
> the exact PSID length of this CE. It only knows the maximum possible 
> length of this PSID, but this is enough for the right CE to be reached 
> (ref draft-despres-softwire-4rd-addmapping-01 sec 7.)
>
> Thus, for more generality, the format for a Destination CE would 
> rather be:
>
> <--------- 64 ------------>< 8 ><----   32 ----><--- 16 ----><8 >
> +--------------------------+----+---------------+--------+---+---+
> |     BR subnet prefix     | V  |  IPv4 address |Max PSID| 0 | L |
> +--------------------------+----+---------------+--------+---+---+
>
> If the PSID length is known, then the Max PSID is the exact PSID, but 
> this isn't the only case.
>
I understand the "Max" PSID, based on which there will be no problem 
being routed to the destination. While I'm rethinking of it from the 
implementation perspective, the IID part the IPv6 address destined to a 
given CE should be a fixed value (the same as the IID of the "4rd 
interface" for example). Then the variable "max" PSID derived from dst. 
ports may get a problem.


Cheers,
Jacni