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

Leaf yeh <leaf.y.yeh@huawei.com> Mon, 17 October 2011 11:13 UTC

Return-Path: <leaf.y.yeh@huawei.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 77C5E21F8B4F for <softwires@ietfa.amsl.com>; Mon, 17 Oct 2011 04:13:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.524
X-Spam-Level:
X-Spam-Status: No, score=-6.524 tagged_above=-999 required=5 tests=[AWL=0.075, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 lTyQNU4v7xHQ for <softwires@ietfa.amsl.com>; Mon, 17 Oct 2011 04:13:19 -0700 (PDT)
Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [119.145.14.66]) by ietfa.amsl.com (Postfix) with ESMTP id 8DB8221F8B4E for <softwires@ietf.org>; Mon, 17 Oct 2011 04:13:19 -0700 (PDT)
Received: from huawei.com (szxga03-in [172.24.2.9]) by szxga03-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0LT7003BBJ5JWV@szxga03-in.huawei.com> for softwires@ietf.org; Mon, 17 Oct 2011 19:12:55 +0800 (CST)
Received: from szxrg01-dlp.huawei.com ([172.24.2.119]) by szxga03-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0LT7005TDJ4TOO@szxga03-in.huawei.com> for softwires@ietf.org; Mon, 17 Oct 2011 19:12:55 +0800 (CST)
Received: from szxeml206-edg.china.huawei.com ([172.24.2.119]) by szxrg01-dlp.huawei.com (MOS 4.1.9-GA) with ESMTP id AEM49076; Mon, 17 Oct 2011 19:12:52 +0800
Received: from SZXEML404-HUB.china.huawei.com (10.82.67.59) by szxeml206-edg.china.huawei.com (172.24.2.58) with Microsoft SMTP Server (TLS) id 14.1.270.1; Mon, 17 Oct 2011 19:12:51 +0800
Received: from SZXEML510-MBS.china.huawei.com ([169.254.8.227]) by szxeml404-hub.china.huawei.com ([::1]) with mapi id 14.01.0270.001; Mon, 17 Oct 2011 19:12:37 +0800
Date: Mon, 17 Oct 2011 11:12:36 +0000
From: Leaf yeh <leaf.y.yeh@huawei.com>
In-reply-to: <14AB4609-752F-44E2-BE75-EB414CC2ACFA@ipinfusion.com>
X-Originating-IP: [10.70.39.98]
To: Tetsuya Murakami <tetsuya@ipinfusion.com>, GangChen <phdgang@gmail.com>
Message-id: <E1CE3E6E6D4E1C438B0ADC9FFFA345EA057696C7@SZXEML510-MBS.china.huawei.com>
MIME-version: 1.0
Content-type: text/plain; charset="utf-8"
Content-language: zh-CN
Content-transfer-encoding: 7bit
Accept-Language: zh-CN, en-US
Thread-topic: [Softwires] Proposed Unified Address Mapping for encapsulation and double-translation
Thread-index: AQHMiKOML2dtJJ66xk2qaokQFlhyYpV4jGbw
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
X-CFilter-Loop: Reflected
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> <14AB4609-752F-44E2-BE75-EB414CC2ACFA@ipinfusion.com>
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, 17 Oct 2011 11:13:20 -0000

I'd like to add one more row in the below table, then let it look like as follows.

+----------+-----------------+--------------------+
|          |source address   | destination address|
+----------+-----------------+--------------------+
|  CE-CE   |                 |                    |
+----------+-----------------+--------------------+
|  CE-BR   |                 |        Yes         |
+----------+-----------------+--------------------+
|  BR-CE   |                 |                    |
+----------+-----------------+--------------------+

And one more question for you: Do you think it is really necessary to include the case while CE 4rd prefix (defined in draft-murakami-softwire-4rd-01) or CE generalized IPv4 prefix (defined in draft-despres-softwire-4rd-addmapping-01) is less than 32 bits, which sounds CE has been assigned a IPv4 subnet?


Best Regards,
Leaf



-----Original Message-----
From: softwires-bounces@ietf.org [mailto:softwires-bounces@ietf.org] On Behalf Of Tetsuya Murakami
Sent: Wednesday, October 12, 2011 1:55 PM
To: GangChen
Cc: Softwires-wg
Subject: Re: [Softwires] Proposed Unified Address Mapping for encapsulation and double-translation


On 2011/10/08, at 20:14, GangChen wrote:

> 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         |
> +----------+-----------------+--------------------+


+1.

The above matrix is very clear to me.

In case of CE-BR, this case represents the traffic to the outside of the domain. In this case, I agree the full IPv4 destination address must be embedded in IPv6 destination address.

In case of CE-CE, this case represents the mesh communication between CEs. In this case, I don't think we need to embed full IPv4 destination address to IPv6 destination address. Because IPv6 destination address already includes enough information of IPv4 destination address (part of IPv4 address and port-set id).

>From the implementation point of view, 4rd function checks if the destination is existed inside of the domain or outside of the domain at the first step. If the destination is inside of the domain, then 4rd function generates the IPv6 destination address from the IPv4 destination address or both IPv4 destination address and port. If the destination is outside of the domain, then 4rd function can generate the IPv6 destination address having the full IPv4 destination address. The process of the IPv6 address generation is different on each traffic case. Hence, I think 4rd function might be having the separated code for the destination address generation and either of code can be invoked according to the result of the first step check. In fact, our implementation is having the separated code for this IPv6 address generation.

In addition, if using the unified address format in CE-CE communication as well, some additional CPU cycles per packet are required at CE in order to embed the full IPv4 address (and port-set id) in the last 64bit of the IPv6 address.

Thanks,
Tetsuya Murakami
_______________________________________________
Softwires mailing list
Softwires@ietf.org
https://www.ietf.org/mailman/listinfo/softwires