Re: 6MAN WG Last Call:draft-ietf-6man-ipv6-subnet-model-00.txt

JINMEI Tatuya / 神明達哉 <Jinmei_Tatuya@isc.org> Fri, 18 July 2008 02:10 UTC

Return-Path: <ipv6-bounces@ietf.org>
X-Original-To: ipv6-archive@megatron.ietf.org
Delivered-To: ietfarch-ipv6-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BF0533A6A08; Thu, 17 Jul 2008 19:10:39 -0700 (PDT)
X-Original-To: ipv6@core3.amsl.com
Delivered-To: ipv6@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3AFB93A63D2 for <ipv6@core3.amsl.com>; Thu, 17 Jul 2008 19:10:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.6
X-Spam-Level:
X-Spam-Status: No, score=0.6 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, CHARSET_FARAWAY_HEADER=3.2, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J8uu6KMD8gJ3 for <ipv6@core3.amsl.com>; Thu, 17 Jul 2008 19:10:36 -0700 (PDT)
Received: from mon.jinmei.org (mon.jinmei.org [IPv6:2001:4f8:3:36::162]) by core3.amsl.com (Postfix) with ESMTP id 322823A6A08 for <ipv6@ietf.org>; Thu, 17 Jul 2008 19:10:36 -0700 (PDT)
Received: from jmb.jinmei.org (unknown [IPv6:2001:4f8:3:bb:217:f2ff:fee0:a91f]) by mon.jinmei.org (Postfix) with ESMTP id F2C5B33C2E; Thu, 17 Jul 2008 19:11:07 -0700 (PDT)
Date: Thu, 17 Jul 2008 19:11:07 -0700
Message-ID: <m21w1sdjr8.wl%Jinmei_Tatuya@isc.org>
From: JINMEI Tatuya / 神明達哉 <Jinmei_Tatuya@isc.org>
To: Erik Nordmark <erik.nordmark@sun.com>
Subject: Re: 6MAN WG Last Call:draft-ietf-6man-ipv6-subnet-model-00.txt
In-Reply-To: <487B28F4.4040202@sun.com>
References: <486388BD.2090801@innovationslab.net> <200807031925.m63JPRp7031611@cichlid.raleigh.ibm.com> <B00EDD615E3C5344B0FFCBA910CF7E1D04E41EB6@xmb-rtp-20e.amer.cisco.com> <200807032111.m63LBUCF014613@cichlid.raleigh.ibm.com> <B00EDD615E3C5344B0FFCBA910CF7E1D04E41EB9@xmb-rtp-20e.amer.cisco.com> <m2k5fv6b4b.wl%Jinmei_Tatuya@isc.org> <487B28F4.4040202@sun.com>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/22.1 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Cc: Thomas Narten <narten@us.ibm.com>, ipv6@ietf.org, Brian Haberman <brian@innovationslab.net>, Bob Hinden <bob.hinden@nokia.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: ipv6-bounces@ietf.org
Errors-To: ipv6-bounces@ietf.org

At Mon, 14 Jul 2008 03:22:44 -0700,
Erik Nordmark <erik.nordmark@sun.com> wrote:

> > BSD variants have in fact supported this behavior for years: I've just
> > tested this with a FreeBSD 7.0 box and confirmed it (that is, if that
> > host receives an NS from an address that is not covered by "on-link"
> > prefixes advertised by RAs, it will create a specific neighbor cache
> > entry for that address).  I've also quickly checked that Linux
> > (seemingly) supports this behavior, too.
> 
> Did you verify that it in fact treats the source of the NS as on-link as 
> a result?

Yes.

> I don't have an issue with creating a neighbor cache entry; that has no 
> security implications because it does impact anything but the neighbor 
> cache on the interface where the NS was received. The question is about 
> on-link determination.
> Thus will the source of the NS be treated as on-link? Is the behavior of 
> the implementations different if the source of the NS falls in a prefix 
> which is already considered on-link on some other interface?

Ah, that's an interesting point.  To be clear, you're asking about a
case like this

- the receiving node has two interfaces, I1 and I2
- the node regards prefix P as on-link on interface I1
- the node receives an NS from P::X on interface I2

right?  I've not tested that case, but according to the source code,
I guess the following will happen:

- if the node has already a neighbor cache entry for P::x on interface
  I1, it does nothing about the source address of that NS
- if the node does not have any neighbor cache entry for P::x on any
  interface, it will create a new neighbor cache entry on interface
  I2.

But, this is a tricky case, so I may be wrong.

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.
--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6@ietf.org
Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------