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

Jacni Qin <jacni@jacni.com> Tue, 18 October 2011 01:52 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 23FB611E80AE for <softwires@ietfa.amsl.com>; Mon, 17 Oct 2011 18:52:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.653
X-Spam-Level:
X-Spam-Status: No, score=-0.653 tagged_above=-999 required=5 tests=[AWL=-1.069, BAYES_00=-2.599, HOST_MISMATCH_NET=0.311, HTML_FONT_FACE_BAD=0.884, HTML_MESSAGE=0.001, J_CHICKENPOX_34=0.6, J_CHICKENPOX_42=0.6, RCVD_IN_SORBS_WEB=0.619]
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 UY4xbPqDkifw for <softwires@ietfa.amsl.com>; Mon, 17 Oct 2011 18:52:04 -0700 (PDT)
Received: from srv05.olivemail.cn (mx100.vip.olivemail.net [74.82.185.218]) by ietfa.amsl.com (Postfix) with ESMTP id 5B26111E80A2 for <softwires@ietf.org>; Mon, 17 Oct 2011 18:52:03 -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 B39123800AC for <softwires@ietf.org>; Mon, 17 Oct 2011 21:52:01 -0400 (EDT)
Received: from oray.cn (unknown [202.105.21.248]) by srv01.olivemail.cn (Olivemail) with SMTP id 407D334010E for <softwires@ietf.org>; Tue, 18 Oct 2011 09:52:00 +0800 (CST)
Received: from [172.22.35.174] (unknown [221.11.61.184]) by app (Coremail) with SMTP id +AWowJCroQa125xOVg0eAA--.6142S2; Tue, 18 Oct 2011 09:51:51 +0800 (CST)
Message-ID: <4E9CDC24.3000202@jacni.com>
Date: Tue, 18 Oct 2011 09:53:40 +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: c-sun@bb.softbank.co.jp
References: <D8334AA7-5001-4A92-B977-CE32931F4197@laposte.net> <CAAuHL_Cm6WYiM2Cu-fmu=gBLgTYDZ6hr56BfcXMoeS=Af4Q_jw@mail.gmail.com> <CAFUBMqUvrP-s1yrJ0=ToAA_SvRLWQtq7JCTtpASNiS1GAxdSNQ@mail.gmail.com> <4E9B9BC5.2090200@jacni.com> <CAFUBMqUS1cATWr07Os4d6aLUbNaVwuOCcthObOiMPuDv8VfU1g@mail.gmail.com> <4E9BE001.3060202@jacni.com> <6CADC58598A4D249AD3B5026CE8CC33906D75AC8@CI-EXMB-09V.bb.local>
In-Reply-To: <6CADC58598A4D249AD3B5026CE8CC33906D75AC8@CI-EXMB-09V.bb.local>
Content-Type: multipart/alternative; boundary="------------030400000503070008060301"
X-CM-TRANSID: +AWowJCroQa125xOVg0eAA--.6142S2
X-Coremail-Antispam: 1UD129KBjvJXoWxJF4xGF4xZF4rJw15GFyDWrg_yoW5Cryxpr y3tF13Jr4DJr1UAwnagw1DWrs8AF93Ja1UJ3yUKr1xu3W5AF1UZrs5KrZ3XFWUXrWxAw1I qr4qyryrAwn8AaDanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUU4Yb7IF0VCYb41lb7IF0VCFI7km07C26c804VAKzcIF0wAYjsxI 4VW3JwAYFVCjjxCrM7CY07I20VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM2kK64x0aVW7Gw IE548m6rI_Jw1UWr17M2vj6xkI62vS6c8GOVWUtr1rJFyl5I8CrVAYj202j2C_Jr0_Gr1l 5I8CrVAKz4kIr2xC04v26r1j6r4UMcIj6xIIjxv20xvE14v26r1j6r18McIj6I8E87Iv67 AKxVWUJVW8JwACjcxG0xvEwIxGrwCjr7xvwVCIw2I0I7xG6c02F41lc7I2V7IY0VAS07Al zVAYIcxG8wCF04k20xvY0x0EwIxGrwCFI7vE0wC2zVAF1VAY17CE14v26r1Y6r17MIIYrx kI7VAKI48JYxBIdaVFxhVjvjDU0xZFpf9x07jfL05UUUUU=
X-CM-SenderInfo: xmdf0xo6mdu03lof0z/1tbiAQAFEko7lOsNlgAAsD
Cc: softwires@ietf.org
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: Tue, 18 Oct 2011 01:52:05 -0000

hi

On 10/17/2011 8:26 PM, c-sun@bb.softbank.co.jp wrote:
> Hi,
> This is my command in line.
>
>>
>>>     therefore my answer to Q1, is NO, unless we carefully select
>>>     IPv4 addresses for CEs with giving up to use some of them, which
>>>     have been so precious.
>>>     Q2. then it must fine as long as we map them to different Rule
>>>     IPv6 Prefix. (?)
>>>     suppose CE1 is the same as (1). for 64.32../16, we use a longer
>>>     stuff.
>>>     however, there is a CE3:
>>>     Rule IPv6 Prefix B: 20010db8 (2001:db8::/29)
>>>     CE3 IPv4 address: 4020 1876 (64.32.24.118)
>>>     CE3 PSID: 54
>>>     CE3 CE index: 987654
>>>     ---------------------------------------------------------------
>>>     (3) CE3 IPv6 prefix: 20010db 987654 (2001:db9:8765:4000::/52,
>>>     woops!)
>>>     ambiguity happens. then we may argue: using the ugly
>>>     Rule_IPv6_Prefix_B is the root of the problem! we have not to
>>>     use a prefix covered by another.
>>     No, I think the bits of the same position are not additive. So,
>>     it should be a delegated prefix of "/53", right?
>>
>>
>> :P sorry for the typo but i have pointed out in the errata. :P
>> however, even though this is /53, and you will have, in the route
>> table, both
>> 2001:db9:8765:4000::/52 => route to CE1
>> 2001:db9:8765:4000::/53 => route to CE3
>>
>> but for the packet encapsulated with the destination address
>> 2001:db9:8765:4000::200:5efe, you couldn't decide the route should go
>> to CE3 instead of CE1. here the longest-match doesn't work. right?
> I guess the second delegated prefix should be 2001:db8:1876:5400::/53
> I guess the second delegated prefix should be 2011:db8:c3b2:a000::/53.
Oops, sorry. ;-)

> Because the CE3 Rule IPv6 Prefix length is not mulitipe of 4 bits,it
> need calculate using Binary as follows.
>
> v(/29)
> --elipsis(0x2001 0db)--1000 (2011:db8::/29)
> --elipsis(0x4020)------ 000 1100 0011 1011 0 (64.32.24.118)
> 010 1010 0 (PSID 0x54)
> --------------------------------------------------------------------------
> CE3 IPv6 prefix: 2001:db8:c3b2:a000::/53
>
> If the CE3 IPv4 address is 64.32.48.236, CE3 PSID is 0xa8, calculate
> as follows,
> v(/29)
> --elipsis(0x2001 0db)--1000 (2011:db8::/29)
> --elipsis(0x4020)------ 001 1000 0111 0110 0 (64.32.48.236)
> 101 0100 0 (PSID 0xa8)
> --------------------------------------------------------------------------
> the CE3 IPv6 prefix is 2001:db9:8765:4000::/53
>
> I think this should be not gonna happen, since the IPv6 address
> planing must be done natively
> considering nothing about the IPv4 address. As exclusiveness, each CE
> has unique CE IPv6 Prefix.
>
> As described in the example Maoke given, since "Rule IPv6 Prefix B" is
> contained in the "Rule IPv6 Prefix A",
> if the IPv6 addresses under Rule IPv6 Prefix A and the IPv6 address
> under Rule IPv6 prefix B are assigned independently
> and have any consideration each other, same CE IPv6 prefix assigning
> to different CEs may be happen. I think this MUST be
> avoided when designing the mapping rules or setting the IPv6 assigning
> way(such as DHCPv6 etc.).
>
The address assignment under one given prefix should be done with
considerations to avoid conflicts.


Cheers,
Jacni

> Cheers
>
> Chunfa
>
>