Re: [Softwires] 4rd-addmapping - Possible independence of the IPv6 addressing plan from IPv4 prefixes

Maoke <fibrib@gmail.com> Fri, 21 October 2011 17:30 UTC

Return-Path: <fibrib@gmail.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 8A0B51F0C8C for <softwires@ietfa.amsl.com>; Fri, 21 Oct 2011 10:30:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.221
X-Spam-Level:
X-Spam-Status: No, score=-3.221 tagged_above=-999 required=5 tests=[AWL=0.077, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1]
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 h5MLeTdxG1C5 for <softwires@ietfa.amsl.com>; Fri, 21 Oct 2011 10:30:01 -0700 (PDT)
Received: from mail-qy0-f179.google.com (mail-qy0-f179.google.com [209.85.216.179]) by ietfa.amsl.com (Postfix) with ESMTP id 3689B1F0C87 for <softwires@ietf.org>; Fri, 21 Oct 2011 10:30:01 -0700 (PDT)
Received: by qyk31 with SMTP id 31so3702709qyk.10 for <softwires@ietf.org>; Fri, 21 Oct 2011 10:30:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xZ0pgxs8i3ECGWc9Fyq090wl6DpSuoACVLHxpUeui1w=; b=uv2IYjg9tWzBYLAfHTztn0YMr+zQme8jqkvCjoSa96yvdNagAl3nT6z4pHe7QsIViR +0jFzlr8bWv/FhdMH4xFm7sOynASkBUuPA+jx+JopqRVg55PONniFw4ygTWeQ2Z0KZu8 Nx5DG8AhevnhxhG+d3CUgBVBJrb9LJj9izVvk=
MIME-Version: 1.0
Received: by 10.229.59.78 with SMTP id k14mr856445qch.69.1319218200666; Fri, 21 Oct 2011 10:30:00 -0700 (PDT)
Received: by 10.229.175.205 with HTTP; Fri, 21 Oct 2011 10:30:00 -0700 (PDT)
In-Reply-To: <B6A3090B-7704-4DF9-8869-C00445845CF2@laposte.net>
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> <CAFUBMqW7xqxwzToxn1=0y4q48Dr5U8rx3pDoavcWGhPyO-OLpw@mail.gmail.com> <927947AB-FD61-4CCA-8E42-2DEC1854F2EA@free.fr> <CAFUBMqX9rrmTpksw7R4_59=rN0qDVkA_6y5B5cBP_7zgaRt=rQ@mail.gmail.com> <91111240-FEA5-49F4-B877-197FFA46AE1B@laposte.net> <CAFUBMqUN3oZ-ZhDsQHhLzgrW5U9xVmUDiAvcpsG-pUKF3tBb4g@mail.gmail.com> <B6A3090B-7704-4DF9-8869-C00445845CF2@laposte.net>
Date: Sat, 22 Oct 2011 02:30:00 +0900
Message-ID: <CAFUBMqWq8+uZzmGV=LebK3k1rb=hNhVAJ28dub7pGc6c5Ra04Q@mail.gmail.com>
From: Maoke <fibrib@gmail.com>
To: Rémi Després <despres.remi@laposte.net>
Content-Type: multipart/alternative; boundary="0016e6506c163b630304afd26cec"
Cc: Softwires WG <softwires@ietf.org>
Subject: Re: [Softwires] 4rd-addmapping - Possible independence of the IPv6 addressing plan from IPv4 prefixes
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: Fri, 21 Oct 2011 17:30:02 -0000

hi Remi,

thanks for the further explanation.

2011/10/21 Rémi Després <despres.remi@laposte.net>

>
> Le 21 oct. 2011 à 13:34, Maoke a écrit :
> ...
>
> 2011/10/21 Rémi Després <despres.remi@laposte.net>
>
> ...
>
> The PSID is WITHIN the /60 (at its end).
>>
>
> to clarify: WITHIN the /60 means within the address block of the /60, not
> *within the first 60 bits*, (then at its end = starts from 61st bit), right?
>
>
> It looks like we have a misunderstanding here, the origin of which I
> couldn't find, but which I am sure we can resolve.
>
> In the 4rd-addmapping draft:
> - The PSID is at the end of the CE Generalized IPv4 prefix (Fig 3)
> - The CE index is at the end of the CE Generalized IPv4 prefix (Fig 2)
> - The CE index is at the end of the CE IPv6 prefix (within it)
>
> Consequently, if CE IPv6 prefixes are /60s, PSIDs are in my understanding
> "within the first 6O bits".
>
> Extracts from the 4rd-addmapping draft:
> - In Figure 2:
> <----------------- at most 64 bits ------------------>
> +-----------------------------------------------------+
> |                   CE IPv6 prefix                    |
> +-----------------------------------------------------+
> :                                                     :
> +--------------------------------+--------------------+
> |        Rule IPv6 prefix        |     CE index       |
> +--------------------------------+--------------------+
>                                  :                    :
>               +------------------+--------------------+
>               | Rule IPv4 prefix |     CE index       |
>               +------------------+--------------------+
>               :                                       :
>               +---------------------------------------+
>               |       CE Generalized IPv4 prefix      |
>               +---------------------------------------+
>               <----------- at most 44 bits ---------->
> - In Figure 3:
>                (C) CE Generalized IPv4 prefix having 33 to 44 bits
> +--------------------------------------------------+
> |       CE Generalized IPv4 prefix                 |
> +--------------------------------------------------+
> :                                                  :
> +-------------------------------------------+------+
> |              CE IPv4 address              | PSID |
> +-------------------------------------------+------+
> <----------------- 32 bits -----------------><--.-->
>                                                 |
>                                           max 12 bits
>
>
>
>
> The IPv6 /64 prefix to be used to reach a CE contains:
>> 1) The Rule IPv6 prefix (that of the rule whose IPv4 prefix matches the
>> IPv4 destination)
>> 2) The IPv4 suffix (that part of the IPv4 destination that follows the
>> IPv4 prefix of the matching rule)
>>
>
> the CE IPv6 prefix = 1) + 2), right?
>
>
>> 3) The PSID (whose length is known iff the matching rule specifies a CE
>> IPv6-prefix length)
>>
>
> the EA bits = 2) + 3), right?
>
>
> Depending on what you call EA bits, it can be 2+3  or 2+3+4 in case of
> unknown CE-prefix length by sources
>
>
after check with some examples i can cautiously say i accept your point, :)
(i was concerning if you wasted some port-set of some IPv4 addresses if the
PSID are in different length but it seems the rough check illustrate no such
a possibility).

may i understand it as: although variant PSID attached *after* instead of
being inside in the prefixes having a common length is also deployable, but
it is not what the residual deployment means. the purpose is: when deploying
IPv6 network, we try to assign the (not-yet-used) IPv4 addresses and sharing
them, if they are not many enough to support 1:1, for those CEs whose
delegated network may still need IPv4 communications.
therefore, the address planning is always deployable in the sense of IPv6
but if we can provide good IPv4 communicability for these IPv6 CE-delegated
networks depends on how many IPv4 address we have and how small port-set we
can suffer.
is this of my understanding right now?


>
>
>
>> 4) If the PSID length is unknown, the "PSID complement" that completes the
>> Max PSID.
>> 5) A 0 padding if fields 1 to 4 don't reach 64 bits
>>
>> Note 1: If a Domain-IPv6-suffix option is used, the PSID length is
>> necessarily known, and the PSID complement is then replaced by the Domain
>> IPv6 suffix found in the matching rule. (ref draft-murakami-softwire-4rd-01.
>>
>
> it seems to me that the draft-murakami-softwire-4rd-01 hasn't explain how
> do we use the "Domain IPv6 suffix", :(
>
>
> Indeed.
> That's why I wrote something about it in sec 5.5 of the 4rd-addmapping
> draft version -00 (where it is called the "CPE-cascade" option).
> That was based on explanations received privately from Tetsuya Murakami.
> However, having received neither approval nor criticism from him, or from
> anyone, I can't be sure it was accurate.
>
> In version -01, we decided to consider the subject out of scope, to be
> documented separately.
>
>
>
> Note 2: If ordinary CE IPv6 prefixes are /60s, the PSID complement has
>> typically 4 bits (to fit in the /64).
>> The only exception is if the sharing ratio needs to exceed 256, so that
>> the PSID length exceeds 8. Then, the PSID complement of less than 4 bits.
>>
>> on the other hand, there is a limitation. if c + m > 64, the above address
>> planning is not deployable, but with our effort of maximum compression,
>>
>> we believe the undeployable case rarely happens for normal providers,
>> right?
>>
>>
>> Yes.
>>
>> The only impossibility is if the available IPv4 space is so small that no
>> sharing ratio can be sufficient for the number of IPv4 shared addresses to
>> equal the number of ordinary CE IPv6 prefixes.
>>
>
> sure. in this case we can help nothing.
>
>
>> If the above is still unclear (or bugged!), thanks for letting me know.
>>
>>
> Regards,
>> RD
>>
>
>
>