Re: [v6ops] PD to hosts [was: DAD again [was: draft-ietf-v6ops-host-addr-availability discussion] ]

Philip Homburg <pch-v6ops-3@u-1.phicoh.com> Mon, 16 November 2015 17:54 UTC

Return-Path: <pch-bBB316E3E@u-1.phicoh.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 6B8E71AC414 for <v6ops@ietfa.amsl.com>; Mon, 16 Nov 2015 09:54:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 m11uglJ4vGCb for <v6ops@ietfa.amsl.com>; Mon, 16 Nov 2015 09:54:08 -0800 (PST)
Received: from stereo.hq.phicoh.net (stereo6.hq.phicoh.net [IPv6:2001:888:1044:10:2a0:c9ff:fe9f:17a9]) by ietfa.amsl.com (Postfix) with ESMTP id D737A1AC3F5 for <v6ops@ietf.org>; Mon, 16 Nov 2015 09:54:05 -0800 (PST)
Received: from stereo.hq.phicoh.net (localhost [::ffff:127.0.0.1]) by stereo.hq.phicoh.net with esmtp (Smail #91) id m1ZyNyc-0000EoC; Mon, 16 Nov 2015 18:54:02 +0100
Message-Id: <m1ZyNyc-0000EoC@stereo.hq.phicoh.net>
To: v6ops@ietf.org
From: Philip Homburg <pch-v6ops-3@u-1.phicoh.com>
Sender: pch-bBB316E3E@u-1.phicoh.com
References: <m1ZyNBq-0000HnC@stereo.hq.phicoh.net> <2134F8430051B64F815C691A62D9831832F4CF07@XCH-BLV-504.nw.nos.boeing.com>
In-reply-to: Your message of "Mon, 16 Nov 2015 17:26:22 +0000 ." <2134F8430051B64F815C691A62D9831832F4CF07@XCH-BLV-504.nw.nos.boeing.com>
Date: Mon, 16 Nov 2015 18:53:57 +0100
Archived-At: <http://mailarchive.ietf.org/arch/msg/v6ops/MU6PsLfaDNk-nh7Itixqlw5KYlg>
Subject: Re: [v6ops] PD to hosts [was: DAD again [was: draft-ietf-v6ops-host-addr-availability discussion] ]
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: <https://mailarchive.ietf.org/arch/browse/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: Mon, 16 Nov 2015 17:54:09 -0000

>> 1) How do packets reach the host. Is that documented somewhere?
>
>RFC3633 is largely silent on this, but when P is delegated to N, it is
>implied that the delegating router must somehow inject information
>into the routing system that will guide packets with destination
>address A to N.

I wonder where this should be documented. There seem to be some other
interesting interactions: a DHCPv6 server running on a host should not
hand out a PD to a host (because it doesn't work), but can hand it out to
a router. And can hand it out when there request comes through a relay agent.

A relay agent running on a router should install a routing table entry
if the PD request comes from a host.

There might be more interesting details.

>> 2) If a node M on the same ethernet link wants to communicate with addres=
>s
>>    A, it creates a destination cache entry for A picking a default router
>>    as next hop (because P is not onlink). Later, A can send the reply
>>    directly to M if M's address is onlink. That is likely to cause a
>>    neighbor cache entry for A at M, which will not be used because the
>>    destination cache entry is still in place.
>
>In this instance, the default router would return a Redirect to M to inform
>it that N is a better first hop for reaching address A. The Redirect would
>cause M to update its destination cache accordingly.

I wondered about redirect just after I hit sent. The neighbor discovery RFC
is very explict about the IsRouter flag in the neighbor cache.
In this case M has to set the IsRouter flag for A.

I wonder if A should then always set the Router flag in neighbor advertisements
as well. It looks like it has to, otherwise the neighbor cache will be
flushed.