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

Ole Troan <otroan@employees.org> Thu, 06 October 2011 14:00 UTC

Return-Path: <ichiroumakino@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 6589A21F8CB0 for <softwires@ietfa.amsl.com>; Thu, 6 Oct 2011 07:00:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.235
X-Spam-Level:
X-Spam-Status: No, score=-3.235 tagged_above=-999 required=5 tests=[AWL=-0.236, BAYES_00=-2.599, J_CHICKENPOX_74=0.6, 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 Gd-Y8q1kmCN0 for <softwires@ietfa.amsl.com>; Thu, 6 Oct 2011 07:00:10 -0700 (PDT)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by ietfa.amsl.com (Postfix) with ESMTP id A04CF21F8CAD for <softwires@ietf.org>; Thu, 6 Oct 2011 07:00:10 -0700 (PDT)
Received: by wyh21 with SMTP id 21so3296694wyh.31 for <softwires@ietf.org>; Thu, 06 Oct 2011 07:03:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=5nGZ19gWGcrQGhhZc2QVxiR9cxcBA4KdFixwSn8hQX4=; b=ECcN323UTiSdExcrHybXLvAFeahWA1d3bXSF5+56hLyjtsq0ZHaDd2irN45d8h8yir 1Hvv2ZTO/skRCFsQ66J1i5X0/VsCE0OlRTmMxPr1NavO1Ts9RaoGiOL2SiCHwerJPMJg LInzTyBztk6w2BF+642kwNFCt/aj1bGE8GSCs=
Received: by 10.216.230.218 with SMTP id j68mr1227475weq.66.1317909800923; Thu, 06 Oct 2011 07:03:20 -0700 (PDT)
Received: from dhcp-10-61-97-48.cisco.com (64-103-25-233.cisco.com. [64.103.25.233]) by mx.google.com with ESMTPS id p2sm10373834wbo.17.2011.10.06.07.03.19 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 06 Oct 2011 07:03:20 -0700 (PDT)
Sender: Ole Troan <ichiroumakino@gmail.com>
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="windows-1252"
From: Ole Troan <otroan@employees.org>
In-Reply-To: <CABv173WfM+93wRj+k1JSRdarCwXOr6q-kRrT=8p=dewDn3jn1g@mail.gmail.com>
Date: Thu, 06 Oct 2011 10:03:18 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <845CF8A3-0463-4D52-A5DC-7AE697FA1208@employees.org>
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> <3C29CE19-E03A-4AC5-959A-7931FE5B9B04@employees.org> <CABv173WfM+93wRj+k1JSRdarCwXOr6q-kRrT=8p=dewDn3jn1g@mail.gmail.com>
To: Congxiao Bao <cx.cernet@gmail.com>
X-Mailer: Apple Mail (2.1084)
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: Thu, 06 Oct 2011 14:00:11 -0000

> > i couldn't understand why we "don't see such limitation in 4v6 translation". 4via6 translate the private ipv4 address with 4rd mapping rule while the public ipv4 address with RFC6052 algorithm, right? can the both case work fine if an ISP can only get a fairly long IPv6 prefix, like /40 or even longer?
> >
> > Yes, if ISP has /32 IPv6 address, then how to embed 32 bits IPv4 address and PSID in the first 64 bits?
> 
> only part of the IPv4 address would be embedded into the first 64 bits (not that I think that boundary should be "hard").
> e.g. if the SP has the prefix 10/8. the user the address 10.1.2.3. then only "1.2.3" would be embedded in the address.
> just like what's done for 6rd.
>  
> Thanks, Ole. That’s the point! In this case , you can only have part of the IPv4 address embedded in the first 64 bits. This embedding does work for encapsulation or tunneling, but can NOT work for stateless double translation, which requires the whole IPv4 address+PSID embeded for any IPv6 prefix length.

right, for the outside domain traffic.
putting the state into the IPv6 destination address doesn't affect routing.
so this works fine with the case where you give a user a /56, where you have to have efficient encoding. for the external to the domain traffic you need to encode the full IPv4 address.

cheers,
Ole