Re: [Softwires] MAP Open issues: Interface-id

Rémi Després <despres.remi@laposte.net> Mon, 07 November 2011 09:46 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 1587A21F8A6C for <softwires@ietfa.amsl.com>; Mon, 7 Nov 2011 01:46:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[AWL=-0.050, BAYES_00=-2.599, 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 jyqUEMko9Us0 for <softwires@ietfa.amsl.com>; Mon, 7 Nov 2011 01:46:52 -0800 (PST)
Received: from smtp24.services.sfr.fr (smtp24.services.sfr.fr [93.17.128.82]) by ietfa.amsl.com (Postfix) with ESMTP id F375721F888A for <softwires@ietf.org>; Mon, 7 Nov 2011 01:46:51 -0800 (PST)
Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2407.sfr.fr (SMTP Server) with ESMTP id 546C97000160; Mon, 7 Nov 2011 10:46:50 +0100 (CET)
Received: from [192.168.0.21] (per92-10-88-166-221-144.fbx.proxad.net [88.166.221.144]) by msfrf2407.sfr.fr (SMTP Server) with ESMTP id DC4F57000175; Mon, 7 Nov 2011 10:46:49 +0100 (CET)
X-SFR-UUID: 20111107094649902.DC4F57000175@msfrf2407.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: <703EB6B3-AB8C-4690-91C6-2666C5779874@cisco.com>
Date: Mon, 07 Nov 2011 10:46:49 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <9D6EBB21-38BC-4E6C-99E6-C3448FA2D3C8@laposte.net>
References: <703EB6B3-AB8C-4690-91C6-2666C5779874@cisco.com>
To: Ole Troan <ot@cisco.com>
X-Mailer: Apple Mail (2.1084)
Cc: Softwires WG <softwires@ietf.org>
Subject: Re: [Softwires] MAP Open issues: Interface-id
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, 07 Nov 2011 09:46:53 -0000

Ole,

1. Checksum neutrality being an open question, it is relevant here.
2. It is useful AFAIK to distinguish CE addresses from BR addresses.

The best proposal I know so far is as follows (with CNP = Checksum neutrality preserver) 

CE ADDRESS

<- - - - - - IPv6 Unformatted  address (104 bits) - - - ->
+-------------------+----------+----------+---------------+
| Rule IPv6 prefix  |IPv4 suff.| Max PSID |  Padding = 0  |
+-------------------+----------+----------+---------------+
:
:<- - - - - - - - - 64  - - - - - >:<- - - - 40 - - - - ->:
:                                  :\                      \ 
:                                  <8>                      :<- 16 ->
:                                  : :                      :        :
+----------------------------------'-'----------------------+--------+
| IPv6 unformatted address (part 1)|V|                      |   CNP  |        
+----------------------------------+-+----------------------+--------+
<- - - - - - - - - - -  IPv6 address (108 bits)  - - - - - - - - - - >                


BR ADDRESS

+------------------------------------+-+-----------------+-+-------+
|              BR IPv6 prefix        |V|   IPv4 address  |0|  CNP  |
+------------------------------------+-+-----------------+-+-------+
< - - - - - - - - - 64  - - - - - - ><8><- - -  32 - - -><8><  16  > 



Cheers,
RD






Le 4 nov. 2011 à 14:45, Ole Troan a écrit :

> all,
> 
> what should the interface-id in MAP IPv6 addresses be?
> the interface-id is used both for creating a local source address, and for mapping an IPv4 address + port into an IPv6 destination address.
> 
> requirements:
> - MUST be possible for CE's in the domain to calculate with an algorithm based on destination IPv4 address + port
> - MUST encode the destination IPv4 address for out of domain traffic (for translation)
> - MUST be possible to use to configure an IPv6 address on the MAP node
> - MAY be globally unique
> - SHOULD be simple to read (by human or machine) for troubleshooting
> 
> possibilities:
> 1) RFC6052
> 2) IANA-ish:
>  Not globally unique:
>                 |   32 bits        |    32 bits       |
>                 +------------------+------------------+
>                 | 00-00-5E-FE      |  IPv4 address    |
>                 +------------------+------------------+
> 3) IANA type:
> 
>  Globally unique, with max sharing ratio of 256:
> 
>                 |   24 bits  |    32 bits     | 8 bits|
>                 +------------+----------------+-------+
>                 | 02-00-5E-FE|  IPv4 address  | PSID  |
>                 +------------+----------------+-------+
> 
> 4)
>  Globally unique with "Length" field to allow parsing of interface id (in case of full IPv4 address or IPv4 prefix)
> 
>                 <-8-><-------- L>=32 -------><48-L><8->
>                 +---+----------------+------+-----+---+
>                 | u |  IPv4 address  | PSID |  0  | L |
>                 +---+----------------+------+-----+---+
> 
> 5) New IANA assigned with V flag to allow 'identification' of MAP traffic versus native:
> 
>                 <-8-><-------- L>=32 -------><48-L><8->
>                 +---+----------------+------+-----+---+
>                 | V |  IPv4 address  | PSID |  0  | L |
>                 +---+----------------+------+-----+---+
> 
> 
> 6) Right aligned:
> 
>                 <-8-><--0-16->     < 5><--  32  ------>
>                 +---+--------+----+---+---------------+
>                 | u |  PSID  | 0  | L | IPv4 address  |
>                 +---+--------+----+---+---------------+
> 
> 
> _______________________________________________
> Softwires mailing list
> Softwires@ietf.org
> https://www.ietf.org/mailman/listinfo/softwires