Re: [homenet] New Version Notification for draft-barth-homenet-wifi-roaming-00.txt

"Ray Hunter (v6ops)" <v6ops@globis.net> Mon, 30 November 2015 12:03 UTC

Return-Path: <v6ops@globis.net>
X-Original-To: homenet@ietfa.amsl.com
Delivered-To: homenet@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9B0881AC3E2 for <homenet@ietfa.amsl.com>; Mon, 30 Nov 2015 04:03:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 NXh4cWNZhBWy for <homenet@ietfa.amsl.com>; Mon, 30 Nov 2015 04:03:11 -0800 (PST)
Received: from globis01.globis.net (mail.globis.net [IPv6:2001:470:1f15:62e::2]) by ietfa.amsl.com (Postfix) with ESMTP id B749A1AC3DF for <homenet@ietf.org>; Mon, 30 Nov 2015 04:03:11 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by globis01.globis.net (Postfix) with ESMTP id DE0914034A; Mon, 30 Nov 2015 13:03:09 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at globis01.globis.net
Received: from globis01.globis.net ([127.0.0.1]) by localhost (mail.globis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VHxlli4p6g7F; Mon, 30 Nov 2015 13:03:06 +0100 (CET)
Received: from Rays-MacBook-Pro.local (178-84-244-32.dynamic.upc.nl [178.84.244.32]) (Authenticated sender: v6ops@globis.net) by globis01.globis.net (Postfix) with ESMTPA id A469F40348; Mon, 30 Nov 2015 13:03:06 +0100 (CET)
Message-ID: <565C3AF9.9070902@globis.net>
Date: Mon, 30 Nov 2015 13:03:05 +0100
From: "Ray Hunter (v6ops)" <v6ops@globis.net>
User-Agent: Postbox 4.0.8 (Macintosh/20151105)
MIME-Version: 1.0
To: Mikael Abrahamsson <swmike@swm.pp.se>
References: <20151016113242.29159.37112.idtracker@ietfa.amsl.com> <5620E158.4000309@openwrt.org> <56265237.8020202@gmail.com> <56571260.6040504@globis.net> <alpine.DEB.2.02.1511261610310.24520@uplift.swm.pp.se> <5658D282.1040006@globis.net> <alpine.DEB.2.02.1511300831000.24520@uplift.swm.pp.se>
In-Reply-To: <alpine.DEB.2.02.1511300831000.24520@uplift.swm.pp.se>
Content-Type: multipart/alternative; boundary="------------020001010001070400090805"
Archived-At: <http://mailarchive.ietf.org/arch/msg/homenet/i0OW5y2DhlzASIX_XJMxG93x1ao>
Cc: homenet@ietf.org
Subject: Re: [homenet] New Version Notification for draft-barth-homenet-wifi-roaming-00.txt
X-BeenThere: homenet@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF Homenet WG mailing list <homenet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/homenet>, <mailto:homenet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/homenet/>
List-Post: <mailto:homenet@ietf.org>
List-Help: <mailto:homenet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/homenet>, <mailto:homenet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Nov 2015 12:03:13 -0000


> Mikael Abrahamsson <mailto:swmike@swm.pp.se>
> 30 Nov 2015 08:33
> On Fri, 27 Nov 2015, Ray Hunter (v6ops) wrote:
>
>> How would you "move a /64 around"?
>
> Well, the same way you would move a /128 around I guess.
>
Not sure that's correct.

When moving a /64 per host you have to presume a /64 has been allocated 
to a host already.

So every time a new host joined wifi you'd have to re-run the entire 
HNCP prefix allocation algorithm AFAICS, and check whether there's a 
conflict of this /64 still being active elsewhere. Unless of course you 
pre-allocate a pool in advance assuming there'll be a certain number of 
hosts on wifi.

On the other hand, for moving individual hosts, I've used a CIDR trick 
in the past when moving data centres that 2 or more LANs are configured 
with an identical IPv4 prefix, and then I've added host routes + proxy 
ARP to trick hosts into thinking they're actually directly connected. 
Should also work for IPv6 as long as CIDR is truly 128 bits (RFC7608).

So it seems to me the missing pieces of the puzzle for moving IPv6 /128 
could be:

1. Identifying cooperating router interfaces across the Homenet and 
assigning a common /64 to them in prefix allocation
2. Maintaining a list of /128 wifi hosts bound to the cooperating 
routers interfaces [including MAC address].
3. detecting "side changes" (in bridge speak) where a host has changed 
connection point and packets are arriving on a new cooperating 
interface. Could potentially be detected when receiving a DAD for a /128 
from the list of wifi hosts with identical MAC address to one previously 
observed.
4. injecting and removing /128 routes as hosts move between cooperating 
interfaces, and updating with list of /128 wifi hosts.
5. Proxy ND equivalent to proxy ARP to answer ND requests on cooperating 
router "local" interfaces for hosts connected to "remote" interfaces.

Proxy ND would include DAD [defending a request for a /128 on a 
cooperating interface with a MAC address not included in the list of 
/128 wifi hosts], but also answering standard ND queries AFAICS so that 
wi-fi connected hosts could inter-communicate. Answers to standard 
queries could be triggered by the presence of a /128 route in a similar 
way to IPv4 proxy-arp.

>> I'm presume cooperating routers would have to maintain a translation 
>> table of MAC address to /64 prefix per host wireless interface.
>>
>> What's the practical difference with moving a /64 (which still 
>> requires routing changes AFAICS) compared to moving a /128 host route?
>
> None, apart from that a host seldom has a single /128 but instead 
> several /128:s. The biggest upside is that you don't need to do DAD 
> handling between participating wifi routers (since the host is alone 
> in the /64, there is no need to do inter-router DAD).

-- 
regards,
RayH
<https://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_campaign=reach>