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

Jacni Qin <jacni@jacni.com> Mon, 10 October 2011 04:46 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 BFA2A21F85B9 for <softwires@ietfa.amsl.com>; Sun, 9 Oct 2011 21:46:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.287
X-Spam-Level:
X-Spam-Status: No, score=-2.287 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HOST_MISMATCH_NET=0.311, HTML_MESSAGE=0.001]
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 aERr4LwrCTC4 for <softwires@ietfa.amsl.com>; Sun, 9 Oct 2011 21:46:18 -0700 (PDT)
Received: from srv05.olivemail.cn (mx100.vip.olivemail.net [74.82.185.218]) by ietfa.amsl.com (Postfix) with ESMTP id D538021F8483 for <softwires@ietf.org>; Sun, 9 Oct 2011 21:46:17 -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 8B8453800A5 for <softwires@ietf.org>; Mon, 10 Oct 2011 00:46:16 -0400 (EDT)
Received: from oray.cn (unknown [202.105.21.248]) by srv01.olivemail.cn (Olivemail) with SMTP id 31A0134010C for <softwires@ietf.org>; Mon, 10 Oct 2011 12:46:13 +0800 (CST)
Received: from [172.21.25.30] (unknown [221.11.61.66]) by app (Coremail) with SMTP id +AWowJALkwRzeJJOf6cWAA--.29282S2; Mon, 10 Oct 2011 12:46:10 +0800 (CST)
Message-ID: <4E9278DC.1030004@jacni.com>
Date: Mon, 10 Oct 2011 12:47:24 +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: GangChen <phdgang@gmail.com>
References: <F259BF79-B3C9-4434-AAC4-9F84B8D9A0FA@laposte.net> <CAM+vMER2CBTpYOhcu63th7AJejCJ4sv0_GqeiZmwHVHEEeW1WA@mail.gmail.com> <0C2B5428-98D4-4F67-B18D-9ACA946A68E7@laposte.net> <CABv173VeFd5DVLm5XvX5+PTgW2biQpUCnW=Z7EXHj7EDG-5LUg@mail.gmail.com> <CAM+vMERXwqJWobpUsk=Pq6OkubBSCc8QFdNsRgMSyzf+1e8SgQ@mail.gmail.com> <CAFUBMqVkMQ89tffeGcBT5mJpz56mrvabe0pjdiJ-ia7XfoVhYw@mail.gmail.com> <CABv173U4wOBYBjM+kaCfHM1ksNPSk1WW_JvMTf1Y1=b_-X=jrg@mail.gmail.com> <CAM+vMETVf763VWLLCHy072NcHTi0v=cMOyjQ+u2HHa5SwiFF_A@mail.gmail.com> <CAFUBMqX01bLG4Rkn=zvT9o4Q4UF3sGCqEGd7AD0aW-ZkC9AS6w@mail.gmail.com> <CAM+vMET5J4XVbrKR9zdHXN8LqhBYJ=psYMoSXBNFzwZVUkE0YA@mail.gmail.com> <CAFUBMqUdZ8dstRYdMjTi183737ms=na2OWpRSF6phqOK0FN9iA@mail.gmail.com> <CAM+vMEQJzPUwLN2w1ZfuC5vy1C5sBBbVjPnjka+eoe_t3bPxKQ@mail.gmail.com>
In-Reply-To: <CAM+vMEQJzPUwLN2w1ZfuC5vy1C5sBBbVjPnjka+eoe_t3bPxKQ@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------040205000104000407070700"
X-CM-TRANSID: +AWowJALkwRzeJJOf6cWAA--.29282S2
X-Coremail-Antispam: 1UD129KBjvJXoW7ZFyDAr4fKr43uFy8ArWDurg_yoW8try5pF WIq3s3tF1kKF1xZw4kZw429w4rAan0ga1UGrWrK3saywn8GFn2vr4I9w1jva98Xrn7JrnF qrWqkry5Ca1kZaDanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrn_kYjxAI6xkYrwAYjxAI6xCIbckI1I0E57IF64kEYxAxM7k0a2IF6w4k M7kC6x804xWl1xkIjI8I6I8E6xAIw20EY4v20xvaj40_Wr0E3s1lnx0Ec2IEnICE548m6r 1DJrWUZwAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr0_Gr1lF7xvr2IY 64vIr41l7480Y4vEI4kI2Ix0rVAqx4xJMxk0xIA0c2IEe2xFo4CEbIxvr21l42xK82IYc2 Ij64vIr41l4IxY624lx4CE17CEb7AF67AKxVWUXVWUAwCIc40Y0x0EwIxGrbIYCTnIWIev Ja73UjIFyTuYvjxUxnN3UUUUU
X-CM-SenderInfo: xmdf0xo6mdu03lof0z/1tbiAQEREko7lOfAjAAAsN
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: Mon, 10 Oct 2011 04:46:19 -0000

hi,

One comment on the example you proposed, please see below,

On 10/9/2011 7:30 PM, GangChen wrote:
> ...
> I'm not sure what formula you have to deduce this *requirement*.
> Different sharing ratios should implicitly be expressed by different
> IPv6 prefix lengths when an operator would deploy PD. At this point,
> you can't help even you encode whole IPv4 address in suffix. As for
> the question you raised, I think that are operational issues more than
> technical issues. I take your example as explanation for your better
> understanding.
>
> A small ISP has its Rule IPv4 prefix such as 10/8, while its total
> IPv6 block has fairly long prefix like /48 or a /56.
>
> Then an operator could strategically pre-config a relatively small
> IPv4 subnet to 4v6 domain as rule IPv4 prefix, like 10/24. Then you
> could get more space in IPv6 prefix to put PSID information. See that
> is quite flexible if you do have a good operational planning.
>
I get it, but let me try in another way.
The IPv6 addressing must not be affected, that's one of the basic 
objectives of MAP we'll agree on, right?

So, firstly the IPv6 address planning should be done natively according 
to the service requirements, the expected scale of subscribers, and the 
address space assigned respectively.
For example, if you plan to assign a /60 to each subscriber in a given 
domain with 1M subscribers totally, an IPv6 prefix of "/40" is required 
(probably shorter given the efficiency loss of hierarchical aggregation).
Then, this becomes the assumption (or restriction) on which we've got 20 
bits space to play with our art.

The next step is to decide the sharing ratio, say, 2k ports per 
subscriber, the PSID will be of 5 bits. Here the tradeoff is to use how 
many bits borrowed from ports or from the first 32 bits.
Then in this case, an IPv4 prefix of "/17" is required to accommodate 
the 1M subscribers (through "15+5").
If we're lucky to get a block of "/17", one piece of MAP rule is enough. 
Otherwise, we'll have to face another tradeoff, smaller number of rules 
or smaller number of fragmented blocks used.

ISPs' cases are quite different, while the philosophy of address 
planning is not, and should be kept in mind when we design the MAP.


Cheers,
Jacni

>