Re: [v6ops] Q about IPv4-mapped IPv6 address & MPLS

"Rajiv Asati (rajiva)" <rajiva@cisco.com> Thu, 01 May 2014 22:21 UTC

Return-Path: <rajiva@cisco.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BD3911A0948; Thu, 1 May 2014 15:21:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.152
X-Spam-Level:
X-Spam-Status: No, score=-10.152 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fGou2mUIlS-b; Thu, 1 May 2014 15:21:29 -0700 (PDT)
Received: from alln-iport-4.cisco.com (alln-iport-4.cisco.com [173.37.142.91]) by ietfa.amsl.com (Postfix) with ESMTP id EE7331A09C3; Thu, 1 May 2014 15:21:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1716; q=dns/txt; s=iport; t=1398982884; x=1400192484; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=myYq2XzCSmfR0qTQjRtA3D652avJA/7IdtRy07C9q9c=; b=NxfuQKN55d1iNsknSrfUoa05TsgBXINv8Di+Ia0grH1+4KKCBcMJ0UjR z5l7UGgQARY7QZNO0v6juLiA3Rz3VEtLAj8iaCYuYfXJvYHvTSJs+J/FR 7VGD/A/LMmEWh3J4YCdAAZJx72n7rl1+dVt9FAm5GysHxYp0Ym/dAzmt7 U=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgEFAK/HYlOtJA2N/2dsb2JhbABagwbGAIEUFnSCJQEBAQMBOj8FCwIBCBgeECERJQIEDgWILQMJCMMiDYZFF4w7gWQzB4MkgRUBA5c9gXKNE4VbgzM
X-IronPort-AV: E=Sophos;i="4.97,967,1389744000"; d="scan'208";a="40393657"
Received: from alln-core-8.cisco.com ([173.36.13.141]) by alln-iport-4.cisco.com with ESMTP; 01 May 2014 22:21:23 +0000
Received: from xhc-aln-x15.cisco.com (xhc-aln-x15.cisco.com [173.36.12.89]) by alln-core-8.cisco.com (8.14.5/8.14.5) with ESMTP id s41MLNSx024751 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 1 May 2014 22:21:23 GMT
Received: from xmb-rcd-x06.cisco.com ([169.254.6.41]) by xhc-aln-x15.cisco.com ([173.36.12.89]) with mapi id 14.03.0123.003; Thu, 1 May 2014 17:21:23 -0500
From: "Rajiv Asati (rajiva)" <rajiva@cisco.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Thread-Topic: [v6ops] Q about IPv4-mapped IPv6 address & MPLS
Thread-Index: AQHPZRuxmza+wZtqAkG9xRAfqumSLZsshpGA///GlVc=
Date: Thu, 01 May 2014 22:21:22 +0000
Message-ID: <C1C2AD52-81C1-4BDB-87B6-550530F01389@cisco.com>
References: <CF875D2F.1951A9%rajiva@cisco.com> <20140501085939.GG43641@Space.Net>, <5362B2BD.7060602@gmail.com>
In-Reply-To: <5362B2BD.7060602@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/v6ops/rNCMbtrppDAySPTfjadebSx0WvM
Cc: "mpls@ietf.org" <mpls@ietf.org>, "v6ops@ietf.org" <v6ops@ietf.org>, "6man@ietf.org" <6man@ietf.org>
Subject: Re: [v6ops] Q about IPv4-mapped IPv6 address & MPLS
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 01 May 2014 22:21:30 -0000

Thanks, Brian. Which RFC 4038 section in particular should be referenced to?

Cheers,
Rajiv

> On May 1, 2014, at 4:47 PM, "Brian E Carpenter" <brian.e.carpenter@gmail.com> wrote:
> 
>> On 01/05/2014 20:59, Gert Doering wrote:
>> Hi,
>> 
>>> On Thu, May 01, 2014 at 06:08:51AM +0000, Rajiv Asati (rajiva) wrote:
>>> We need your guidance on handling v4-mapped v6 addresses (section 2.5.5.2
>>> of [RFC4291]). 
>>> 
>>> 1. Should/Would they appear in IPv6 routing table?
>> 
>> "Yes and no".  It depends on the context - if the packet comes in and has
>> an IPv6 header, address lookup happens via the IPv6 routing table.  If 
>> a packet comes in with an IPv4 header, address lookup happens via the
>> IPv4 routing table.  
>> 
>> So, IPv4 should never "bleed over" to the IPv6 routing table, but if 
>> you happen to receive an IPv6 packet with a destination IPv6 address
>> in it's header of ::ffff:1.2.3.4, you'd either drop it right away,
>> or use the IPv6 routing table to find the destination.
>> 
>> The router itself should never ever source packets with a v4-mapped
>> destination address in the packet (see below).
>> 
>>> 2. Should an IPv6 packet with ::FFFF:127.0.0.0  be forwarded or dropped or
>>> treated as a loopback packet, if ever received?
>> 
>> Dropped.  v4-mapped is an internal representation of an IPv4 address
>> recevied on an ipv6 socket, and should never ever appear in packets on
>> the wire.
> 
> Nobody seems to have mentioned RFC 4038, which makes this very clear.
> These addresses are an artefact and have no place in the routing
> system as such, and still less on the wire.
> 
>    Brian
>