Re: Addr: Local Preference Computation
"John G. Scudder" <jgs@ieng.com> Sat, 24 August 1996 06:33 UTC
Received: from ietf.org by ietf.org id aa16901; 24 Aug 96 2:33 EDT
Received: from cnri by ietf.org id aa16897; 24 Aug 96 2:33 EDT
Received: from merit.edu by CNRI.Reston.VA.US id aa02615; 24 Aug 96 2:33 EDT
Received: (from daemon@localhost) by merit.edu (8.7.5/merit-2.0) id CAA00121
for idr-outgoing; Sat, 24 Aug 1996 02:09:04 -0400 (EDT)
Received: from interlock.ans.net (interlock.ans.net [147.225.5.5]) by
merit.edu (8.7.5/merit-2.0) with SMTP id CAA00116 for <bgp@merit.edu>;
Sat, 24 Aug 1996 02:09:01 -0400 (EDT)
Received: by interlock.ans.net id AA22972
(InterLock SMTP Gateway 3.0 for bgp@ans.net);
Sat, 24 Aug 1996 02:08:59 -0400
Received: by interlock.ans.net (Internal Mail Agent-1);
Sat, 24 Aug 1996 02:08:59 -0400
Message-Id: <v03007826ae44427c8b6e@[152.160.213.42]>
In-Reply-To: <19960823.012218.RWOUNDY@RHQVM21>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sat, 24 Aug 1996 01:49:33 -0400
To: rwoundy@vnet.ibm.com
Sender: ietf-archive-request@ietf.org
From: "John G. Scudder" <jgs@ieng.com>
Subject: Re: Addr: Local Preference Computation
Cc: BGP Working Group <bgp@ans.net>
X-Orig-Sender: owner-idr@merit.edu
Precedence: bulk
At 1:22 AM -0400 8/23/96, rwoundy@VNET.IBM.COM wrote: >Folks, > >Well, here it is; your comments are solicited... [...] Rich, Thanks for getting the ball rolling on this. Here is the concern I have with any scheme which aims to stick everything into localpref: The dynamic range is way too small. The examples you've given do indeed put path length and origin nicely into a range which is well within the 32 bits we've got to work with in localpref. The problem is other path attributes which influence path selection. Some such attributes are indeed things which divide routes into, as you've put it, equivalence classes. Presumably the number of equivalence classes in such cases will be relatively small. However, other new attributes can be expected to be metric-like, e.g. DPA. These typically may each have a range which is equal to that of localpref. To jam all this into the 32 bit localpref, presumably you have to (a) scale them down (potentially losing resolution you needed), (b) restrict their range (which will not be reasonable in some cases), or (c) not use them. I don't find any of these options terribly appealing. One possible solution might be to introduce the notion of an extended localpref, analogous to preference2 (and beyond) in gated. That is, if you fill up the 32 bit localpref, tack on another 32 bits which are less significant than the first 32, and so on until you have enough. Doing this in a network with "old" routers which don't understand extended preferences would still invite routing loops, but at least it would define an extension mechanism once all routers can understand extended prefs. Another possible solution of course is to argue that in real life 32 bits is plenty (sound familiar?). I for one still need to be convinced. The other point is attributes which aren't globally comparable, e.g. MEDs, and DPAs in their first (and more reasonable, IMO) incarnation. I think that it is probably not reasonable to require that for ever after, all BGP attributes must be globally comparable. How can this be addressed in a world where everything is based on comparison of opaque integers? Is it worth throwing out this baby with the interoperability bathwater? I suppose you could kludge around this somehow. For example, if you allow UserFunction() to be a function of not only the current route but also the current RIB, you can run an election and bias the preference of the winner high enough to beat all other routes. (As described this sounds suspiciously like it could result in two routers with differing notions of "best" engaging in ballot-box stuffing for their favored candidates until the metric overflows, though.) Regards, --John -- John Scudder email: jgs@ieng.com Internet Engineering Group, LLC phone: (313) 669-8800 122 S. Main, Suite 280 fax: (313) 669-8661 Ann Arbor, MI 41804 www: http://www.ieng.com
- Re: Addr: Local Preference Computation Curtis Villamizar
- Re: Addr: Local Preference Computation John G. Scudder
- Re: Addr: Local Preference Computation Joel Halpern
- Re: Addr: Local Preference Computation John G. Scudder
- Re: Addr: Local Preference Computation Curtis Villamizar
- Addr: Local Preference Computation rwoundy
- Re: Addr: Local Preference Computation Dimitry Haskin