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

Maoke <fibrib@gmail.com> Wed, 12 October 2011 06:17 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 F119121F8C51 for <softwires@ietfa.amsl.com>; Tue, 11 Oct 2011 23:17:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.732
X-Spam-Level:
X-Spam-Status: No, score=-2.732 tagged_above=-999 required=5 tests=[AWL=0.866, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 I8e2UyAxD7Ms for <softwires@ietfa.amsl.com>; Tue, 11 Oct 2011 23:17:19 -0700 (PDT)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by ietfa.amsl.com (Postfix) with ESMTP id 2260621F8BEB for <softwires@ietf.org>; Tue, 11 Oct 2011 23:17:19 -0700 (PDT)
Received: by qadb12 with SMTP id b12so353739qad.31 for <softwires@ietf.org>; Tue, 11 Oct 2011 23:17:18 -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=4g9XjdRigDSWbsj0IEIlLRp1mwCz3CW6lEyJaFQLw7c=; b=Zc9eHwkth1uDmjjVup51V3IeVFTjPHGE8lxt7xU2SwFei2lfQxd4ivMOJbVMV3hNAS 5nB9mxdnJpBG8kalqcDpiAEqBpszTv/YSwAXORGYqzoSGde4cJAJpqOhxtJvbGd1vN5q CD7bE/YfCuhI6DGJ5otHUVPaHjk34IEgjRXQ0=
MIME-Version: 1.0
Received: by 10.224.174.199 with SMTP id u7mr16659242qaz.50.1318400238584; Tue, 11 Oct 2011 23:17:18 -0700 (PDT)
Received: by 10.229.40.197 with HTTP; Tue, 11 Oct 2011 23:17:18 -0700 (PDT)
In-Reply-To: <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> <14AB4609-752F-44E2-BE75-EB414CC2ACFA@ipinfusion.com>
Date: Wed, 12 Oct 2011 15:17:18 +0900
Message-ID: <CAFUBMqVni_GNqmEx-FwzNUKUD1x2hN=xoe7Zc9pre4rfmGBWRw@mail.gmail.com>
From: Maoke <fibrib@gmail.com>
To: Tetsuya Murakami <tetsuya@ipinfusion.com>
Content-Type: multipart/alternative; boundary="20cf30334c89e4852d04af13f979"
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 06:17:20 -0000

hi Tetsuya,

questions of trying to understand points, inline.

2011/10/12 Tetsuya Murakami <tetsuya@ipinfusion.com>

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


how does 4rd do the check? through routing table(s) or through all the
mapping rules which is either configured or distributed or learned?


> 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.
>
>
how many additional CPU cycles (or instructions) per packet will cost in
order to put things in the last 64bits?
does it not cost CPU cycles to check whether the destination exists inside
or outside of the domain? or it is not per-packet pace?

Thanks,
> Tetsuya Murakami


thanks and regards,
maoke