Learning a valid prefix (Re: ICMPv6: New destination unreachable codes)

Greg Daley <greg.daley@eng.monash.edu.au> Mon, 02 February 2004 00:42 UTC

Received: from optimus.ietf.org ([132.151.1.19]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA20369 for <ipv6-archive@odin.ietf.org>; Sun, 1 Feb 2004 19:42:40 -0500 (EST)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AnSAF-0002lc-Es for ipv6-archive@odin.ietf.org; Sun, 01 Feb 2004 19:42:13 -0500
Received: (from exim@localhost) by www1.ietf.org (8.12.8/8.12.8/Submit) id i120gB1X010633 for ipv6-archive@odin.ietf.org; Sun, 1 Feb 2004 19:42:11 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AnSAF-0002lQ-2k for ipv6-web-archive@optimus.ietf.org; Sun, 01 Feb 2004 19:42:11 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA20208 for <ipv6-web-archive@ietf.org>; Sun, 1 Feb 2004 19:42:07 -0500 (EST)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1AnSAD-0000Uh-00 for ipv6-web-archive@ietf.org; Sun, 01 Feb 2004 19:42:09 -0500
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1AnS8b-00005y-00 for ipv6-web-archive@ietf.org; Sun, 01 Feb 2004 19:40:29 -0500
Received: from [132.151.1.19] (helo=optimus.ietf.org) by ietf-mx with esmtp (Exim 4.12) id 1AnS7K-0007ke-07 for ipv6-web-archive@ietf.org; Sun, 01 Feb 2004 19:39:10 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AnRxW-0007IH-0a; Sun, 01 Feb 2004 19:29:02 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AnRwx-00079h-A6 for ipv6@optimus.ietf.org; Sun, 01 Feb 2004 19:28:27 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA19649 for <ipv6@ietf.org>; Sun, 1 Feb 2004 19:28:24 -0500 (EST)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1AnRwv-0006pf-00 for ipv6@ietf.org; Sun, 01 Feb 2004 19:28:25 -0500
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1AnRwH-0006gg-00 for ipv6@ietf.org; Sun, 01 Feb 2004 19:27:45 -0500
Received: from alpha6.its.monash.edu.au ([130.194.1.25]) by ietf-mx with esmtp (Exim 4.12) id 1AnRuz-0006OP-00 for ipv6@ietf.org; Sun, 01 Feb 2004 19:26:25 -0500
Received: from localhost ([130.194.13.81]) by vaxc.its.monash.edu.au (PMDF V6.1 #39306) with ESMTP id <01L64HWAZEZO91Y39P@vaxc.its.monash.edu.au> for ipv6@ietf.org; Mon, 02 Feb 2004 11:25:15 +1100
Received: from kapow.its.monash.edu.au (localhost.its.monash.edu.au [127.0.0.1]) by localhost (Postfix) with ESMTP id 0AE481B000C; Mon, 02 Feb 2004 11:25:15 +1100 (EST)
Received: from eng.monash.edu.au (knuth.eng.monash.edu.au [130.194.252.110]) by kapow.its.monash.edu.au (Postfix) with ESMTP id E36B2124005; Mon, 02 Feb 2004 11:25:14 +1100 (EST)
Date: Mon, 02 Feb 2004 11:25:14 +1100
From: Greg Daley <greg.daley@eng.monash.edu.au>
Subject: Learning a valid prefix (Re: ICMPv6: New destination unreachable codes)
To: Christian Huitema <huitema@windows.microsoft.com>
Cc: Mukesh.Gupta@nokia.com, pekkas@netcore.fi, mbagnulo@ing.uc3m.es, ipv6@ietf.org
Reply-to: greg.daley@eng.monash.edu.au
Message-id: <401D98EA.7070907@eng.monash.edu.au>
Organization: Monash University
MIME-version: 1.0
Content-type: text/plain; charset="us-ascii"; format="flowed"
Content-transfer-encoding: 7bit
X-Accept-Language: en, en-us
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529
References: <DAC3FCB50E31C54987CD10797DA511BA072FB908@WIN-MSG-10.wingroup.windeploy.ntdev.microsoft.com>
Content-Transfer-Encoding: 7bit
Sender: ipv6-admin@ietf.org
Errors-To: ipv6-admin@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Id: IP Version 6 Working Group (ipv6) <ipv6.ietf.org>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on ietf-mx.ietf.org
X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.60
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

Hi Christian,

I agree, Desination Unreachable is not
the right place to put this information.

I'll explain further below.

Christian Huitema wrote:
>>If I am not wrong, if we wanted the router to send the correct
>>prefix to the host in the ICMP message, we will have to change
>>the format of the ICMPv6 Destination Unreachable message.
>>
>>Currently, we just have 4 bytes unused in the message format and
>>this prefix can't fit in there.
>>
>>So the question is: is it worth changing the format of the message
>>for this optimization ??
> 
> 
> Probably not. Having the proper code is a really nice first step.

While the ICMP Dest Unreachable message isn't the right place
to put this sort of information, it should be available
in the advertised routing information (for a first hop router).

When configuring addresses, the first point of contact
is the router from which the address was configured.
Unless there's a configuration issue within the access network,
one of the most likely reasons for receiving this message is
that the host is misconfigured (may have changed access networks).

SEND defines not only standard prefix discovery, but also
provides certificates of which prefixes a router is allowed to route
(that particular source addresses are valid).

So, either prefix discovery (by requiring source addresses to be
from on-link prefixes) or an authoritative routing delegation
can be used to identify valid prefixes for the router.

If the device providing the invalid source message is not on the
first hop, I'm pretty sure you wouldn't trust it to dictate which
address to use anyway (without further checks).

Greg Daley


--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6@ietf.org
Administrative Requests: https://www1.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------