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

David Lamparter <equinox@diac24.net> Mon, 28 July 2014 21:39 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 336021A01D9 for <isis-wg@ietfa.amsl.com>; Mon, 28 Jul 2014 14:39:03 -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 2ZRASOKNkHgU for <isis-wg@ietfa.amsl.com>; Mon, 28 Jul 2014 14:38:56 -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 D75681B2809 for <isis-wg@ietf.org>; Mon, 28 Jul 2014 14:38:54 -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 1XBsd3-0001o4-Sm; Mon, 28 Jul 2014 23:38:45 +0200
Received: from equinox by jupiter.n2.diac24.net with local (Exim 4.82) (envelope-from <equinox@diac24.net>) id 1XBsco-000C9Z-Hx; Mon, 28 Jul 2014 23:38:35 +0200
Date: Mon, 28 Jul 2014 23:38:30 +0200
From: David Lamparter <equinox@diac24.net>
To: Uma Chunduri <uma.chunduri@ericsson.com>
Message-ID: <20140728213830.GG801478@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> <20140728173421.GF801478@jupiter.n2.diac24.net> <F3ADE4747C9E124B89F0ED2180CC814F23E854D5@xmb-aln-x02.cisco.com> <1B502206DFA0C544B7A60469152008633F317504@eusaamb105.ericsson.se>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <1B502206DFA0C544B7A60469152008633F317504@eusaamb105.ericsson.se>
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: http://mailarchive.ietf.org/arch/msg/isis-wg/LfC46rSwWJA3X3_URq1P7_50_Ho
Cc: "Les Ginsberg (ginsberg)" <ginsberg@cisco.com>, 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 21:39:03 -0000

On Mon, Jul 28, 2014 at 09:10:49PM +0000, Uma Chunduri wrote:
> > If TLV 144 semantics are a fit you could use that TLV and thereby avoid the worry about not having a router-id
> 
> I would See 144 is the right choice.
> 
> Quick thoughts on why -
> 
>      - as it is rightly identified below there may not be 4 byte unique router-ID  required by 242
>                - auto-configuration is to uniquely assign system ID and need not extend this to create router-ID  (as meaning of this is different for ISIS)
>     - No need to scope this capability across domain (what 242 gives)
>     - it could be *critical* to have MT  semantics as deployment can be only specific to one topology (and may not have V4 at all)

Indeed I'm currently trying to find out if there are any problems with
doing MT, but I believe there aren't, and we should indeed move all of
this to MT ID #2.  (And then use TLV 144 for the capability.)

On the per-topology question - well, in a way it's the natural thing to
do, since the ability to process routes with a source attribute is
essentially a property of the underlying RIB.  In fact dst-src is pretty
much impossible with multicast RPF lookups - there's no src prefix when
doing that.  So for MT ID #4 it'd be invalid to list this capability.
(Also, the capability makes no sense for IPv4 topologies.  No dst-src
for IPv4.)

But - I need a little time to go through the implications of this.  The
argument for using MT-ID 2 is that we can have divergent IPv4/IPv6
topologies, but as far as I can currently see, even with MT we'll run
into problems sunsetting IPv4 (because it's the default topology.)


-David


P.S.: Uma, thanks for pointing out the need for MT in the first place!

> -----Original Message-----
> From: Isis-wg [mailto:isis-wg-bounces@ietf.org] On Behalf Of Les Ginsberg (ginsberg)
> Sent: Monday, July 28, 2014 1:37 PM
> To: David Lamparter
> Cc: Hannes Gredler; isis-wg@ietf.org
> Subject: Re: [Isis-wg] Capability TLV vs. Router ID (was: IS-IS source/destination routing project)
> 
> David -
> 
> The significant difference between TLV 242 and TLV 144 is that the former has node semantics while the latter has topology semantics. Among other things this means that TLV 242 supports both area scoped and domain scoped flooding whereas TLV 144 is confined to a single area (or potentially the L2 sub-domain). It isn't clear to me why dst-src routing capability needs to be announced per topology - perhaps you can clarify that?
> 
> If TLV 144 semantics are a fit you could use that TLV and thereby avoid the worry about not having a router-id.
> 
> Alternatively, you could employ router-id assignment semantics equivalent to what is specified in http://www.ietf.org/id/draft-ietf-ospf-ospfv3-autoconfig-06.txt . This would allow you to conform to TLV 242 more strictly.
> The IS-IS autoconfig draft does not currently have this - presumably because it was not thought of as necessary.
> 
> I think you need define your requirements more clearly in order to make the best choice.
> 
>    Les
> 
> > -----Original Message-----
> > From: David Lamparter [mailto:equinox@diac24.net]
> > Sent: Monday, July 28, 2014 10:34 AM
> > To: Les Ginsberg (ginsberg)
> > Cc: Hannes Gredler; isis-wg@ietf.org
> > Subject: Re: [Isis-wg] Capability TLV vs. Router ID (was: IS-IS 
> > source/destination routing project)
> > 
> > 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]
> 
> _______________________________________________
> Isis-wg mailing list
> Isis-wg@ietf.org
> https://www.ietf.org/mailman/listinfo/isis-wg