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

Tetsuya Murakami <tetsuya@ipinfusion.com> Wed, 12 October 2011 05:55 UTC

Return-Path: <tetsuya@ipinfusion.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 E12E621F8C54 for <softwires@ietfa.amsl.com>; Tue, 11 Oct 2011 22:55:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 LTYSTuy3uh1N for <softwires@ietfa.amsl.com>; Tue, 11 Oct 2011 22:55:16 -0700 (PDT)
Received: from mail-iy0-f172.google.com (mail-iy0-f172.google.com [209.85.210.172]) by ietfa.amsl.com (Postfix) with ESMTP id 578A721F8C4F for <softwires@ietf.org>; Tue, 11 Oct 2011 22:55:16 -0700 (PDT)
Received: by iaby26 with SMTP id y26so496435iab.31 for <softwires@ietf.org>; Tue, 11 Oct 2011 22:55:15 -0700 (PDT)
Received: by 10.42.148.198 with SMTP id s6mr32362355icv.56.1318398915654; Tue, 11 Oct 2011 22:55:15 -0700 (PDT)
Received: from [192.168.0.6] (c-76-102-170-116.hsd1.ca.comcast.net. [76.102.170.116]) by mx.google.com with ESMTPS id z11sm2735304iba.6.2011.10.11.22.55.12 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 11 Oct 2011 22:55:13 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1244.3)
Content-Type: text/plain; charset="us-ascii"
From: Tetsuya Murakami <tetsuya@ipinfusion.com>
In-Reply-To: <CAM+vMET5J4XVbrKR9zdHXN8LqhBYJ=psYMoSXBNFzwZVUkE0YA@mail.gmail.com>
Date: Tue, 11 Oct 2011 22:55:10 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <14AB4609-752F-44E2-BE75-EB414CC2ACFA@ipinfusion.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>
To: GangChen <phdgang@gmail.com>
X-Mailer: Apple Mail (2.1244.3)
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: Wed, 12 Oct 2011 05:55:17 -0000

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