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

Jacni Qin <jacni@jacni.com> Tue, 11 October 2011 07:35 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 1729021F877F for <softwires@ietfa.amsl.com>; Tue, 11 Oct 2011 00:35:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.177
X-Spam-Level:
X-Spam-Status: No, score=-0.177 tagged_above=-999 required=5 tests=[AWL=-1.390, BAYES_00=-2.599, HOST_MISMATCH_NET=0.311, HTML_MESSAGE=0.001, J_CHICKENPOX_61=0.6, J_CHICKENPOX_92=0.6, MANGLED_FROM=2.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 Mlu0MdlDTjnk for <softwires@ietfa.amsl.com>; Tue, 11 Oct 2011 00:35:36 -0700 (PDT)
Received: from srv05.olivemail.cn (mx100.vip.olivemail.net [74.82.185.218]) by ietfa.amsl.com (Postfix) with ESMTP id 1034D21F8713 for <softwires@ietf.org>; Tue, 11 Oct 2011 00:35:34 -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 4E88E380092 for <softwires@ietf.org>; Tue, 11 Oct 2011 03:35:33 -0400 (EDT)
Received: from oray.cn (unknown [202.105.21.248]) by srv01.olivemail.cn (Olivemail) with SMTP id A8D0434009F for <softwires@ietf.org>; Tue, 11 Oct 2011 15:35:29 +0800 (CST)
Received: from [172.20.24.150] (unknown [221.11.61.55]) by app (Coremail) with SMTP id +AWowJDbhwm58ZNOxPIXAA--.31825S2; Tue, 11 Oct 2011 15:35:23 +0800 (CST)
Message-ID: <4E93F21B.4060702@jacni.com>
Date: Tue, 11 Oct 2011 15:36:59 +0800
From: Jacni Qin <jacni@jacni.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: Qiong <bingxuere@gmail.com>
References: <F259BF79-B3C9-4434-AAC4-9F84B8D9A0FA@laposte.net> <CAH3bfACp_xvzotgrAhBrYhZ9ki47kbBVb-vmSsRtOOoyXxRSrA@mail.gmail.com> <10DF6CE6-394E-4FC9-BB80-9F24D4D2634B@laposte.net> <4E9065BD.3050001@jacni.com> <2904870A-866E-4093-8754-3D75510B82AA@laposte.net> <CAH3bfABJ=6CHA_QmtxtnoGmS2bSPhrDtdpebm9TwTLeMVdVMSA@mail.gmail.com> <96BD287F-910B-4E50-B902-4D135D2DFEAE@laposte.net> <CAH3bfADrj2BuQwEM3=ZC6_QCDe7RuEorM1=bAoyNH7JJao2_xQ@mail.gmail.com>
In-Reply-To: <CAH3bfADrj2BuQwEM3=ZC6_QCDe7RuEorM1=bAoyNH7JJao2_xQ@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------090103040301030203050303"
X-CM-TRANSID: +AWowJDbhwm58ZNOxPIXAA--.31825S2
X-Coremail-Antispam: 1UD129KBjvJXoWxGryDJF47XFyDWFWkXryxZrb_yoW5Aryrpa 1fKr15tanrJw1xuF1fXw1ftr1SgF4kGF4jkr92kw4kWws8JFyftF1xK34Yka43ur1rJ342 qr40yrW8u3yUZrJanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUU7mb7IF0VCYb41lb7IF0VCFI7km07C26c804VAKzcIF0wAYjsxI 4VWkKwAYFVCjjxCrM7CY07I20VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM2kK64x0aVW7Gw IE548m6rI_Jw1UWr17M2vj6xkI62vS6c8GOVWUtr1rJFylYx0E2Ix0cI8IcVAFwI0_Jr0_ Jr4lYx0Ex4A2jsIE14v26r1j6r4UM4x0Y48IcVAKI48JMx8GjcxK6IxK0xIIj40E5I8Crw CYjI0SjxkI62AI1cAE67vIY487MxAIw28IcxkI7VAKI48JMxCIbVAxMI8E67AF67kF1VAF wI0_Jrv_JF1lIxkGc2Ij64vIr4UvcSsGvfC2KfnxnUUI43ZEXa7IU0S_MDUUUUU==
X-CM-SenderInfo: xmdf0xo6mdu03lof0z/1tbiAQISEko7lOhhXAAAsz
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: Tue, 11 Oct 2011 07:35:38 -0000

hi,

On 10/10/2011 11:33 PM, Qiong wrote:
> Hi, Qiong,
>
> Please see inline.
>
>>     On Mon, Oct 10, 2011 at 3:26 PM, Rémi Després
>>     <despres.remi@laposte.net <mailto:despres.remi@laposte.net>> wrote:
>>
>>
>>         The 4rd function examines ALL packets that reach the CE.
>>         It processes all those that have V in their destination
>>         addresses, and only those.
>>
>>
>>     Qiong: I think it might be better achieved via routing lookup for
>>     prefix+V bits (e.g. /80 ), rather than extracting V bits before
>>     traditional routing.
>>
>>
>>         The reason why 4rd packets reach the CE is NOT that their
>>         destinations are the IPv6 address that the CE has on its link
>>         to the ISP.
>>         It is that their destinations start with the CE delegated
>>         prefix. The routing information base of the ISP edge router
>>         is such that, for such destinations, the next hop is the CE.
>>
>>
>>>         Then the variable "max" PSID derived from dst. ports may get
>>>         a problem.
>>
>
>>      Qiong: I think the "max" PSID design might have a problem in
>>     virtual interface implementation. When implementing an virtual
>>     encapsulation/translation interface, the packets can reach the
>>     virtual interface from a downstream physical interface via
>>     traditional routing.
>
>>     For example, identifying a specific address or /80 prefix to the
>>     destinated virtual interface. However, when the "max" PSID is not
>>     stable and the length of "Rule IPv6 prefix+ Max PSID" exceeds 64
>>     bit long, how to construct this kind of internal routing table ?
>>     I think it would be too many routing entries here.
>
>     Routing being only concerned with /64s, and information in IIDs
>     being used only by 4rd functions themselves, or for O&M, I don't
>     see the problem.
>
> Qiong: My concern is specific for virtual interface implementation. If 
> you implement a virtual interface(as most existing encapsulation 
> approaches have adopted in CPE ), you still need to do routing within 
> CE (from physical interface to virtual interface). In traditional 
> encapsulation implementation, a specific routing entry can be assigned 
> to help forward the traffic with a tunnel endpoint address. And all 
> the following decapsulation things can be done in this virtual 
> interface. I think this kind of implementation can be applied to 
> translation as well, to make use of traditional routing and 
> implementation translation functionality only on the virtual interface.
I doubt whether the two can share the same interface by just switching 
between encapsulation/translation modes, maybe a separated one is needed 
for translation since the implementation is different.


Cheers,
Jacni

> And since the first 64 bits will be same for both native traffic and 
> translated traffic, the lower bits would be needed for internal 
> routing. That's why I think unstable "max" PSID would make it 
> difficult to construct internal routing table (not routing procedure 
> from ISP to CE). But anyway, it is only restricted to this kind of 
> implementation (determine the translated traffic by routing rather 
> than bit extracting).
>
> Hope it is clear now.
>
> Thanks
>
> Qiong
>