Re: [Isis-wg] Capability TLV vs. Router ID (was: IS-IS source/destination routing project)

David Lamparter <equinox@diac24.net> Mon, 28 July 2014 17:34 UTC

Return-Path: <equinox@diac24.net>
X-Original-To: isis-wg@ietfa.amsl.com
Delivered-To: isis-wg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C49EF1A0417 for <isis-wg@ietfa.amsl.com>; Mon, 28 Jul 2014 10:34:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] 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 XPBh8DVLQcbi for <isis-wg@ietfa.amsl.com>; Mon, 28 Jul 2014 10:34:45 -0700 (PDT)
Received: from spaceboyz.net (spaceboyz.net [IPv6:2001:8d8:870:1000::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 25DF61A03C2 for <isis-wg@ietf.org>; Mon, 28 Jul 2014 10:34:44 -0700 (PDT)
Received: from [2001:8d8:870:10ef:1::] (helo=jupiter.n2.diac24.net) by spaceboyz.net with esmtps (UNKNOWN:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80.1) (envelope-from <equinox@diac24.net>) id 1XBoom-0005Vr-6i; Mon, 28 Jul 2014 19:34:36 +0200
Received: from equinox by jupiter.n2.diac24.net with local (Exim 4.82) (envelope-from <equinox@diac24.net>) id 1XBooX-0001ZD-OP; Mon, 28 Jul 2014 19:34:25 +0200
Date: Mon, 28 Jul 2014 19:34:21 +0200
From: David Lamparter <equinox@diac24.net>
To: "Les Ginsberg (ginsberg)" <ginsberg@cisco.com>
Message-ID: <20140728173421.GF801478@jupiter.n2.diac24.net>
References: <94217864-2004-4F82-8602-B9BAB4639BCE@cisco.com> <alpine.DEB.2.02.1407231253240.7929@uplift.swm.pp.se> <20140723114049.GH801478@jupiter.n2.diac24.net> <A7EEA4F6-686B-4B96-89DB-35D923994179@cisco.com> <20140724152101.GU801478@jupiter.n2.diac24.net> <20140728162207.GB18387@juniper.net> <F3ADE4747C9E124B89F0ED2180CC814F23E851B1@xmb-aln-x02.cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <F3ADE4747C9E124B89F0ED2180CC814F23E851B1@xmb-aln-x02.cisco.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: http://mailarchive.ietf.org/arch/msg/isis-wg/2O7rZ0nuQHpeuOiH0CtP_vGcrWk
Cc: Hannes Gredler <hannes@juniper.net>, "isis-wg@ietf.org" <isis-wg@ietf.org>
Subject: Re: [Isis-wg] Capability TLV vs. Router ID (was: IS-IS source/destination routing project)
X-BeenThere: isis-wg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF IS-IS working group <isis-wg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/isis-wg>, <mailto:isis-wg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/isis-wg/>
List-Post: <mailto:isis-wg@ietf.org>
List-Help: <mailto:isis-wg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/isis-wg>, <mailto:isis-wg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Jul 2014 17:34:47 -0000

Les, Hannes, isis-wg,


TL;DR: 242 works, we simply have no unique 4-byte identifier.


[we have another ongoing discussion thread regarding dst-src routing wrt
MT-ISIS, there may be changes to what exactly is needed as a result of
that.  We didn't really take MT into consideration so far - now TLV 144
is a candidate too.]

the scope in this particular case is area wide, and I'd indeed like to
use TLV 242.  The problem is simply, in the homenet we don't have a
router ID.  (So, this isn't a dst-src problem, this is a homenet
problem.)  There is no stable unique IPv4 address, in fact there may not
be IPv4 at all.

We have the NET, which currently there is a collision resolution
algorithm for, but - that's a heap of complexity that is only there
because "$vendor could mess up again and produce routers with the same
MAC address."  It's really supposed to be the MAC addr.

As a result, autoconfiguring a 4-byte ID, while possible, is way down on
the list of desirable things to do.  Hence, I would like to specify TLV
242 with router ID 0.0.0.0 and S=0 for application in area-wide
distribution, where the TLV<>Router association is clear from the LSP's
originating router.

Then again, the result might be different when we've gotten a proper
look at the multitopology interactions.

Cheers,

-David

On Mon, Jul 28, 2014 at 05:00:33PM +0000, Les Ginsberg (ginsberg) wrote:
> Hannes/David -
> 
> Advertising a capability whose scope is area wide (or domain wide) in hellos is inappropriate. TLV 242 was created precisely for this purpose.
> 
> TLV 242 is NOT TE specific - you can see that by the fact that there are already existing uses which are NOT TE related.
> 
> In regards to Router-Id, again this is NOT TE specific. The requirement in RFC 5305 is
> 
> " a single
>       stable address that can always be referenced in a path that will
>       be reachable from multiple hops away, regardless of the state of
>       the node's interfaces."
> 
> RFC 5305 also explicitly states that a router id can be used for purposes other than TE - so I do not see why TLV 242 is insufficient in this case.
> 
>    Les
> 
> 
> > -----Original Message-----
> > From: Isis-wg [mailto:isis-wg-bounces@ietf.org] On Behalf Of Hannes
> > Gredler
> > Sent: Monday, July 28, 2014 9:22 AM
> > To: David Lamparter
> > Cc: isis-wg@ietf.org
> > Subject: Re: [Isis-wg] Who did you have do an IS-IS source/destination
> > routing project?
> > 
> > hi david,
> > 
> > i'd be in favour of a CAP registry for IIH (long-term
> > we need that anyway) - do not care much wether we open-up 242
> > to IIHs or use a new top-level code-point.
> > 
> > @les - opinions ?
> > 
> > /hannes
> > 
> > On Thu, Jul 24, 2014 at 05:21:01PM +0200, David Lamparter wrote:
> > | (IS-IS parts in this mail, match behaviour in separate mail)
> > |
> > | Fred, WG Chairs:
> > |
> > | Regarding the IS-IS part, we didn't find major issues while implementing
> > | draft-baker-ipv6-isis-dst-src-routing-01, though there is one issue that
> > | needs broader concern.  We need to signal a router's capability to do
> > | dst-src routing, in order to prevent loops when a reachability with
> > | source prefix is behind a router that does not have this capability.
> > | (The latter router may send the packets back by matching another,
> > | shorter non-specific route for the same destination prefix, since it
> > | doesn't consider the source match more specific.  Loop example included
> > | below.)
> > |
> > | Now there is a small issue with this capability indication - there is no
> > | generic IS-IS capability TLV, only the TE-targeted RFC4971 (TLV 242)
> > | which uses a quad-octet Router ID.  We have no such router ID and would
> > | prefer to not elect/autoconfigure one.  This leaves us with these
> > | possibilities:
> > | - create a "dst-src capable" TLV, wasting a top codepoint
> > | - create a "generic" capability TLV without router ID (maybe including
> > |   NET instead, for inter-level flooding)
> > | - adjust the 242 capability TLV to permit router-id 0.0.0.0 (or some
> > |   other reserved value), while forbidding cross-level flooding when this
> > |   value is used. (S=0)
> > |
> > | I don't have useful arguments in this regard and would appreciate input
> > | (can resend this to WG mailing list if you believe that to be more
> > | appropriate)
[cut]