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

GangChen <phdgang@gmail.com> Sun, 09 October 2011 03:14 UTC

Return-Path: <phdgang@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 9869921F8514 for <softwires@ietfa.amsl.com>; Sat, 8 Oct 2011 20:14:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1
X-Spam-Level:
X-Spam-Status: No, score=-1 tagged_above=-999 required=5 tests=[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 W8bihGfs+2kZ for <softwires@ietfa.amsl.com>; Sat, 8 Oct 2011 20:14:33 -0700 (PDT)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by ietfa.amsl.com (Postfix) with ESMTP id 9D92D21F84A7 for <softwires@ietf.org>; Sat, 8 Oct 2011 20:14:24 -0700 (PDT)
Received: by wwf22 with SMTP id 22so5302596wwf.13 for <softwires@ietf.org>; Sat, 08 Oct 2011 20:14:24 -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:content-transfer-encoding; bh=fjzt5perK8PqmAplpiNcDPnlfCLiijKSEqQreGTa5/o=; b=gM0/D4lHYEP8hXC65MQbHczVjcK6zchJFB8CZRVI1GV6uNiimfYo2Mhfd7R3v5qTNI YcNb3Ux+wl2IkopIxHmfBEiNvx1k4ZQ/pu/yB+2aZ3qGuK07C2A/PJ5U3y9s6FfgK0AC aZw7srhUpHaXvmGNWTvD2ba6gR1utoZ6cCroY=
MIME-Version: 1.0
Received: by 10.227.7.159 with SMTP id d31mr4632579wbd.18.1318130064142; Sat, 08 Oct 2011 20:14:24 -0700 (PDT)
Received: by 10.180.84.161 with HTTP; Sat, 8 Oct 2011 20:14:24 -0700 (PDT)
In-Reply-To: <CAFUBMqX01bLG4Rkn=zvT9o4Q4UF3sGCqEGd7AD0aW-ZkC9AS6w@mail.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>
Date: Sun, 09 Oct 2011 11:14:24 +0800
Message-ID: <CAM+vMET5J4XVbrKR9zdHXN8LqhBYJ=psYMoSXBNFzwZVUkE0YA@mail.gmail.com>
From: GangChen <phdgang@gmail.com>
To: Maoke <fibrib@gmail.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
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: Sun, 09 Oct 2011 03:14:33 -0000

Hello Maoke,

Please see my reply inline.

2011/10/8, Maoke <fibrib@gmail.com>:
>> > Yes, if ISP has /32 IPv6 address, then how to embed 32 bits IPv4 address
>> and
>> > PSID in the first 64 bits?
>> >
>> 4v6 translation doesn’t need to embed whole 32 bits IPv4 address
>> according to the algorithm. Please take look EA-bits usage in
>> http://tools.ietf.org/html/draft-murakami-softwire-4rd-01 for more
>> details
>>
>>
> i suppose Ole and Congxiao have clarified this point, right? for the double
> translation, full ipv4 address is needed.

As Ole said, "for the outside domain traffic" (Actually, I never argue
that point for that case)
Thereby, it's worth to be clarified whether need encoding whole IPv4
address, as the below table

+----------+-----------------+--------------------+
|          |source address   | destination address|
+----------+-----------------+--------------------+
|  CE-CE   |      N/A        |        N/A         |
+----------+-----------------+--------------------+
|  CE-BR   |      N/A        |        Yes         |
+----------+-----------------+--------------------+


>
>> >> sorry but i may not yet understand the mapping algorithm. is the Rule
>> IPv6
>> >> prefix definitely short enough to take all Max CE in the first 64 bits?
>>
>> Yes, in padding case.
>>
>>
> what do you mean with the "yes"? do you mean having a short-enough Rule-IPv6
> is a prerequisite for deploying 4rd-pd?
>
> for example, a small ISP has its Rule IPv4 prefix such as 10/8, while its
> total IPv6 block is a /48 or a /56 prefix only. the ISP is deploying
> stateless transition, possibly 4rd-pd. is such an ISP surely able to pad
> necessary part of IPv4 address in the first 64 bits?

I guess I have already put some comments on that. Please see below.

>> >> again, what if an ISP can only get a fairly long IPv6 prefix?
>>
>> Can I interpret your question like how can we configure mapping
>> parameter if ISP only gets a fairly long IPv6 prefix? Yes. I mean that
>> could be possible for some ISP.
>
>
> it *could* be *possible* for *some* ISP but not for any ISP, right?
>
>
>> However, I find that is somewhat
>> contradictory with requirement of prefix delegation deployment. (Note:
>> there are also some statements for this requirement in
>> draft-boucadair-softwire-stateless-requirements-00 REQ#1, REQ#4). At
>> least, I see all current practices are trying to encoding the
>> information in first 64 bits (e.g.
>> draft-despres-softwire-4rd-addmapping-01
>> draft-boucadair-behave-ipv6-portrange-04
>> draft-murakami-softwire-4rd-00
>> draft-murakami-softwire-4v6-translation-00
>> draft-xli-behave-divi-pd-01
>> draft-chen-softwire-4v6-pd-00)
>>
>>
> i don't think all current practices are "trying to encode the information in
> the first 64bits". to my humble understanding, at least divi-pd encodes the
> IPv4 full address information, which identifies a specific user, not in the
> first 64 bits.

Thanks for the clarification. That is why you propose to insert full
IPv4 address?


>> >  For per-host traffic, the prefix length of ACL should be /128. In this
>> > case, you have to specify the value of the suffix. So different ISPs in
>> the
>> > IPv6 data path can implement IPv6 ACL without additional knowledge.
>>
>> Again. If there is a way to identify each user in first 64 bits, why not
>> use.
>>
>>
> in your proposal draft-chen-softwire-4v6-pd-00, you have
>
>   Delegated IPv6 prefix = IPv6 prefix + Add set + Port set
>
> where your Add-set is (32 - IPv4_pref_len) long, right? if the IPv4_pref_len
> = 8 while the IPv6_prefix_len = 48, can your first 64bits identify a user?
>
> thanks and regards,
> maoke
>
>
>> Many thanks
>>
>> Gang
>>
>