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

Rémi Després <despres.remi@laposte.net> Thu, 06 October 2011 16:03 UTC

Return-Path: <despres.remi@laposte.net>
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 8A52E1F0C5C for <softwires@ietfa.amsl.com>; Thu, 6 Oct 2011 09:03:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.856
X-Spam-Level:
X-Spam-Status: No, score=-1.856 tagged_above=-999 required=5 tests=[AWL=0.049, BAYES_00=-2.599, DATE_IN_PAST_03_06=0.044, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3]
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 ozdqm-5qz4pU for <softwires@ietfa.amsl.com>; Thu, 6 Oct 2011 09:03:45 -0700 (PDT)
Received: from smtp24.services.sfr.fr (smtp24.services.sfr.fr [93.17.128.83]) by ietfa.amsl.com (Postfix) with ESMTP id B28A71F0C5B for <softwires@ietf.org>; Thu, 6 Oct 2011 09:03:44 -0700 (PDT)
Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2411.sfr.fr (SMTP Server) with ESMTP id 27CEC700011B; Thu, 6 Oct 2011 18:06:55 +0200 (CEST)
Received: from [192.168.0.21] (per92-10-88-166-221-144.fbx.proxad.net [88.166.221.144]) by msfrf2411.sfr.fr (SMTP Server) with ESMTP id DD4897000118; Thu, 6 Oct 2011 18:06:54 +0200 (CEST)
X-SFR-UUID: 20111006160654906.DD4897000118@msfrf2411.sfr.fr
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="iso-8859-1"
From: Rémi Després <despres.remi@laposte.net>
In-Reply-To: <16C872EF-F79E-4FD8-89B9-21B50129BA70@employees.org>
Date: Thu, 06 Oct 2011 18:06:59 +0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <2118E521-F0CC-46F3-9F63-0EC6893326C6@laposte.net>
References: <F259BF79-B3C9-4434-AAC4-9F84B8D9A0FA@laposte.net> <16C872EF-F79E-4FD8-89B9-21B50129BA70@employees.org>
To: Ole Troan <otroan@employees.org>
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 16:03:45 -0000

Le 6 oct. 2011 à 18:47, Ole Troan a écrit :

> Remi,
> 
> [...]
> 
>> 2.
>> (a)
>> The IPv6 Source address of an IPv4 packet from a CE is:
>> 
>> a1- If the CE has an exclusive or shared IPv4 address:
>> 
>> <--------- 64 ------------><8 ><------ L >= 32 -------><48-L><8 >
>> +-------------+--------+---+---+----------------+------+-----+---+
>> | IPv6 prefix |CE index| 0 | V |  IPv4 address  | PSID |  0  | L |
>> +-------------+--------+---+---+----------------+------+-----+---+
> 
> putting the IPv4 address / port information at the end of the interface identifier will allow for > /64 support.

Could you explain more the requirement you have in mind?  

> what's the L?

On the picture, L is 32 bits + Length(PSID).
Don't see what you found unclear. 

> 
> you suggest that the first subnet of an allocation should be used for this purpose.

Did I do this?
Please explain because that's not, IMHO,  something to be done.

> the first subnet is convenient to use for e.g. manual addressing (since it allows the :: short hand).
> I do wonder if this has to be provisioned. e.g. some deployments may use the first subnet for the link between
> CE and PE. (i.e. a /56 - 1 using the PD exclude option is used).

See just above.

> 
>> a2- If the CE has an IPv4 prefix:
>> 
>> <--------- 64 ------------><8 ><-- L < 32 --><--- 48-L -----><8 >
>> +-------------+--------+---+---+-------------+---------------+---+
>> | IPv6 prefix |CE index| 0 | V | IPv4 prefix |         0     | L |
>> +-------------+--------+---+---+-------------+---------------+---+
>> 
>> (b)
>> V is the mark that characterizes IPv6 packets that are in reality IPv4 packets.
>> Its value differs from any permitted value of this octet in IPv6 IIDs  (ref RFC 4291).
>> 
>> It is understood that, if double Translation coexists with single translation, concerned ISPs may notify their CEs to use the U octet of RFC 6052 instead of V.
>> 
>> An unambiguous mark is fortunately possible because currently permitted IIDs have in their first octet either bit6 = 0 (the "u" bit"), or bit6 = 1 and bit7= 0 (the "g" bit).
>> With V having "u" = 1 (signifying Universal scope) AND "g" = 1, distinction is therefore deterministic.
>> 
>> The proposed V is = 00000011. 
>> (With other values of this octet, other IID formats can be defined in case some would be useful in the future.)
>> 
>> Note that, if and when a consensus is reached in Softwire, an extension of RFC 4291 will have to be submitted to 6MAN. 
> 
> or rather IEEE?

IMHO, IEEE has nothing to do with a marker that is purposely an escape mechanism from the modified EUI-64 format of RFC 4291.

> I am not convinced that "V" is needed.

The point is more, IMHO, whether you have an objection to it (and in this case which one).
Reason is that we are working for a consensus, and several are satisfied with the explanation that there are use cases where it is useful, and none where it is harmful.

> you could even use the IANA OUI if pretty printing was required.

The point is that it takes 32 bits which is too much to have IPv4 address + PSID in the IID.


>> (c)                                   
>> A Destination address from a CE to the outside IPv4 Internet is:
>> <--------- 64 ------------>< 8 ><----   32 ----><--- 16 ----><8 >
>> +--------------------------+----+---------------+------------+---+
>> |     BR subnet prefix     | V  |  IPv4 address |      0     |32 |
>> +--------------------------+----+---------------+------------+---+
> 
> this is a big change for encapsulation, where prior to this encapsulation means sending to a single destination.

Copying an available IPv4 address at a fixed place isn't IMHO a "big change".

> if we also allow for a BR subnet prefix of /128 I'm OK with this (I think).

I don't understand what you mean by "Subnet prefix of /128".


>> Note that if double-translation CEs are notified to use U instead of V, the last octet becomes 0 per RFC  6052.
> 
> how would a CE know if it was single or double translating?

Presumably with a usual method, e.g. DHCPv6.
Anything problematic with that?


> e.g we could do:
> 
> <--------- 64 ------------><--- 24 ------><----- 32 -------><--8 >
> +-------------+--------+---+--------------------+------+-----+---+
> | IPv6 prefix |CE index| S | 00-00-5E    |  IPv4 address  | PSID |
> +-------------+--------+---+---+----------------+------+-----+---+
> 
> we also need to handle the case where IPv6 prefix + CE index > 64.

Please explain more your understanding of this requirement.
(I personally believe we should avoid that.)

> I suggest we then just put as much as the interface identifier that will fit.


May I suggest that, to be more constructive, you could first express your objections to the proposed unified mapping, rather than making a number of new proposals whose justifications are sometimes hard to understand, 

Cheers,
RD 


> 
> cheers,
> Ole
> 
>