Re: Link addressing (was: Re: A Plea for Architectural & Specification Stability with IPv6)

Mark ZZZ Smith <markzzzsmith@yahoo.com.au> Wed, 26 March 2014 08:36 UTC

Return-Path: <markzzzsmith@yahoo.com.au>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A2B4D1A0141 for <ipv6@ietfa.amsl.com>; Wed, 26 Mar 2014 01:36:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.501
X-Spam-Level:
X-Spam-Status: No, score=0.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FROM_LOCAL_NOVOWEL=0.5, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=1, HK_RANDOM_REPLYTO=0.999, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no
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 71N0jP3b8uK4 for <ipv6@ietfa.amsl.com>; Wed, 26 Mar 2014 01:36:56 -0700 (PDT)
Received: from nm47.bullet.mail.ne1.yahoo.com (nm47.bullet.mail.ne1.yahoo.com [98.138.120.54]) by ietfa.amsl.com (Postfix) with ESMTP id 996091A02D1 for <ipv6@ietf.org>; Wed, 26 Mar 2014 01:36:53 -0700 (PDT)
Received: from [127.0.0.1] by nm47.bullet.mail.ne1.yahoo.com with NNFMP; 26 Mar 2014 08:36:51 -0000
Received: from [98.138.100.117] by nm47.bullet.mail.ne1.yahoo.com with NNFMP; 26 Mar 2014 08:33:51 -0000
Received: from [98.139.212.152] by tm108.bullet.mail.ne1.yahoo.com with NNFMP; 26 Mar 2014 08:33:48 -0000
Received: from [98.139.212.207] by tm9.bullet.mail.bf1.yahoo.com with NNFMP; 26 Mar 2014 08:33:48 -0000
Received: from [127.0.0.1] by omp1016.mail.bf1.yahoo.com with NNFMP; 26 Mar 2014 08:33:48 -0000
X-Yahoo-Newman-Property: ymail-4
X-Yahoo-Newman-Id: 607011.69797.bm@omp1016.mail.bf1.yahoo.com
Received: (qmail 68860 invoked by uid 60001); 26 Mar 2014 08:33:48 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.au; s=s1024; t=1395822828; bh=r/5WxvItMkZYbNlMY7kb4XyI41jZMdpX9RxjPRDSNK0=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=11F7kDIBVknMbM8PDjxr160aqCL/bLOguNEGI4986VGQy+9KOTDMXkoVMS4I6fytBqgf7Buh8In/P0wyDEKjSGdvN94Twdq2oQOayntshnDIBWfOaSkZNekOY4wTDOIx1McXAGJYls6q+MwD2l6X8MPPGdUtN6joS6WoJw2sbLo=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.au; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=xi+wj5m86Z2SsgxeA/BTLcKb8OuBFcbm0Jcj+WLSRVCB9o1ibaH8BISDRPKbcdaDwrf9df3Ypb3hgD+YvYrHoDMClVTrewcPcDFTjpzCoUXWygu40xBkcOWvi3KDDxVM+1RwpOTM7j8/6yAVBdz8kIguhaS+UwRm9+m+EsYkr+k=;
X-YMail-OSG: p8KtfxgVM1k5xSU79I3FS70y3QNwG1H.bSTDcC3DsWmSnNq q.C8ea2ZAg9C7USVniTDQq4wChdq9wfOM.GyogEOSnzwwDctnbakiinukSoJ 6AX2ZtwEoJ1vA_dFBMtM8uSWzuCqu7pQDaseXIg.H69ve8_svVoDGcgseNBH 28fttVy5umHARadgVRe1IRuIgHiLv2rgL5TwzO6rgw3F8QDWl6JgqXTpEx.W UC1Um_LcGLbN.AYHI.P0iiaUITLWPQqbqjCVvDFj_VhCaL15vaUfKE98Y0uY vJes3GpINeGkdmHupmFbtA7UX.nIBNl.0M3cZpe8cJQryBoqGjtGsWw.o8xm aVQYuXY64WrIbcT8wR0owyxbaY7fTWUc.vnm9fQS4BfOWfNbogj_UZYc95bC t89CVZCRkSYU.kg2QtL9VXnpTK_H9Y4mboLo.1UuobUntJLimmtQbjLAh2uu nxuNqGfPU0nOuuZfvOBKmagzQm3cQxXPOdMVcTHV7C6a0CJmSQhqWiDtfe5o z9oDJWAK_51FZlVEITjH3CYp2vjckT_4iKm99liKyV9Pa1Qo_0_WyFZN9kLO gLwfsLJAQ
Received: from [150.101.221.237] by web162204.mail.bf1.yahoo.com via HTTP; Wed, 26 Mar 2014 01:33:48 PDT
X-Rocket-MIMEInfo: 002.001, SGkgT2xlLAoKCi0tLS0tIE9yaWdpbmFsIE1lc3NhZ2UgLS0tLS0KPiBGcm9tOiBPbGUgVHJvYW4gPG90cm9hbkBlbXBsb3llZXMub3JnPgo.IFRvOiBNYXJrIFpaWiBTbWl0aCA8bWFya3p6enNtaXRoQHlhaG9vLmNvbS5hdT4KPiBDYzogR2xlbiBUdXJuZXIgPGdkdEBnZHQuaWQuYXU.OyA2bWFuIFdHIDxpcHY2QGlldGYub3JnPjsgUkogQXRraW5zb24gPHJqYS5saXN0c0BnbWFpbC5jb20.Cj4gU2VudDogVHVlc2RheSwgMjUgTWFyY2ggMjAxNCA4OjAwIFBNCj4gU3ViamVjdDogUmU6IExpbmsgYWRkcmVzc2kBMAEBAQE-
X-Mailer: YahooMailWebService/0.8.181.645
References: <E2C06D73-99FF-42B5-A3BE-337C307BCB0E@gmail.com> <84411F3C-455C-4382-88E2-8EE397A907B9@gdt.id.au> <0E222788-7CDA-4962-B03B-BD069956A471@employees.org> <5AFA59A4-A4F1-48C4-B402-0CAA1E752ED1@gdt.id.au> <862E0FF1-09B6-46DE-83E2-BA3AF3512895@employees.org> <1395734236.95811.YahooMailNeo@web162205.mail.bf1.yahoo.com> <242C4677-874B-463B-BB67-AE6EA1E6BF38@employees.org>
Message-ID: <1395822828.45151.YahooMailNeo@web162204.mail.bf1.yahoo.com>
Date: Wed, 26 Mar 2014 01:33:48 -0700
From: Mark ZZZ Smith <markzzzsmith@yahoo.com.au>
Subject: Re: Link addressing (was: Re: A Plea for Architectural & Specification Stability with IPv6)
To: Ole Troan <otroan@employees.org>
In-Reply-To: <242C4677-874B-463B-BB67-AE6EA1E6BF38@employees.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/ipv6/kD9CzHo4WOClqHaj1VGksOc_fBY
Cc: RJ Atkinson <rja.lists@gmail.com>, 6man WG <ipv6@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Mark ZZZ Smith <markzzzsmith@yahoo.com.au>
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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>
X-List-Received-Date: Wed, 26 Mar 2014 08:36:57 -0000

Hi Ole,


----- Original Message -----
> From: Ole Troan <otroan@employees.org>
> To: Mark ZZZ Smith <markzzzsmith@yahoo.com.au>
> Cc: Glen Turner <gdt@gdt.id.au>; 6man WG <ipv6@ietf.org>; RJ Atkinson <rja.lists@gmail.com>
> Sent: Tuesday, 25 March 2014 8:00 PM
> Subject: Re: Link addressing (was: Re: A Plea for Architectural & Specification Stability with IPv6)
> 
> Mark,
> 
> [...]
> 
>>>  routers (as defined in RFC4861) don't autoconfigure addresses using 
> SLAAC. 
>>>  that's a host function.
>> 
>>  Being pedantic, the SLAAC RFC (RFC4862) says that "it is expected that 
> routers will generate link-local addresses using the mechanism described in this 
> document."
> 
> perhaps we need better terminology here. it is useful to have a distinction 
> between addresses that are formed based on appending an interface-identifier to 
> a well-known prefix (link-local) or manually configured prefix, and how an 
> address is formed based on receiving a /64 prefix in an RA and forming an 
> address from that.
> 
> I prefer to use the term SLAAC for the latter. i.e. a host following the 
> procedure in RFC4862 section 5.5.
> 

I agree with the terminology problem. I was using "SLAAC" to mean an "address generation method" for the LL prefix, rather than the RA/PIO based address configuration method for hosts on the link, for prefixes other than LL, that is also part of "SLAAC".

>>  The question I've wondered a bit about is what is the common 
> operational or implementation practice when configuring manual addresses on 
> routers.
>> 
>>  For people who configure static addresses on router interfaces, do they 
> actively switch SLAAC off for either individual prefixes, or for the whole 
> interface? Switching SLAAC off for the whole interface means that if there is no 
> static LL address, then the interface doesn't comply with the RFC4291 
> requirement for all IPv6 interfaces to have an LL address, and can't use any 
> functions/protocols that rely on LLs. An interface probably shouldn't be 
> able to be used for IPv6 if there are no LL addresses present.
> 
> I don't understand what you mean by "switching SLAAC off" on an 
> interface. on a router does that mean sending RAs with the A-flag in PIO off? or 
> do you mean that a link-local or global address isn't formed based on an 
> automatically generated interface-id (EUI-64, privacy, stable, ...)?
> 

Just switching off the SLAAC address generation method for the LL prefix for the router's own interface LL address i.e., if there is no statically set LL address, then the interface would not have a LL address, because the router interface now does not automatically generate an LL address. 


>>  Alternatively, if SLAAC is left enabled for the LL prefix, then there is 
> likely to now be two LLs on the interface. Static configuration of an LL address 
> would usually indicate preference for its use for all LL traffic over the SLAAC 
> LL address, which may be a problem, because IIRC, RFC6724 doesn't place any 
> preference for static addresses over SLAAC addresses.
> 
> typically applications using link-local addresses, do their own source address 
> selection.
> 
> for the implementation I'm most familiar with, we only allow a single 
> link-local address per interface. by default that's based on the modified 
> EUI-64 interface-identifier, but it can be manually set to whatever you like.
> the same for global addresses. including a short-hand for specifying the length 
> of the on-link prefix.
> 

Ok, so it seems that for this implementation a static LL address replaces a SLAAC address generation method autoconfigured LL address. The issue of which LL address to use disappears because there is only ever one LL address.

On Linux for example, if you add a static LL address to an interface, the SLAAC LL address is left there, and both of them have infinite lifetimes, so lifetimes can't be used to distinguish the preference of one of the LL addresses over the other. Deleting the SLAAC LL address is possible, however there currently isn't a flag to stop it generating a new one when e.g., the interface is admin down/up'd or when the system next boots (there is an interface 'autoconf' flag, but that only disables autoconfiguration for non-LL prefixes).

> there is nothing stopping an implementation having multiple link-locals for an 
> interface, e.g. there was at some point someone advocating that every global 
> address should have a corresponding link-local. it isn't clear what the 
> benefit of having multiple link-locals on an interface would be though.
> 

While a rare situation, perhaps while renumbering from one statically configured LL addr to another to reduce disruption of things using the old LL address. In the implementation you mentioned, what impact and how severe is the impact of changing the single LL address e.g., does it cause OSPF and BGP neighbor adjacencies to be dropped and then re-established?


Thanks,
Mark.