Re: [curtis@ans.net: Re: BGP4 stuff: Local Preference Computation]

"John G. Scudder" <jgs@ieng.com> Thu, 05 September 1996 19:59 UTC

Received: from ietf.org by ietf.org id aa10087; 5 Sep 96 15:59 EDT
Received: from cnri by ietf.org id aa10083; 5 Sep 96 15:59 EDT
Received: from merit.edu by CNRI.Reston.VA.US id aa14225; 5 Sep 96 15:59 EDT
Received: (from daemon@localhost) by merit.edu (8.7.5/merit-2.0) id PAA26614 for idr-outgoing; Thu, 5 Sep 1996 15:25:25 -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 PAA26609 for <bgp@merit.edu>; Thu, 5 Sep 1996 15:25:22 -0400 (EDT)
Received: by interlock.ans.net id AA00010 (InterLock SMTP Gateway 3.0 for bgp@ans.net); Thu, 5 Sep 1996 15:25:20 -0400
Received: by interlock.ans.net (Internal Mail Agent-1); Thu, 5 Sep 1996 15:25:20 -0400
Message-Id: <v03007823ae54d65762ae@[152.160.213.42]>
In-Reply-To: <199609051855.OAA11946@brookfield.ans.net>
References: Your message of "Thu, 05 Sep 1996 13:04:58 EDT." <9609051704.AA05271@tick.midnight.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 5 Sep 1996 15:25:49 -0400
To: curtis@ans.net
Sender: ietf-archive-request@ietf.org
From: "John G. Scudder" <jgs@ieng.com>
Subject: Re: [curtis@ans.net: Re: BGP4 stuff: Local Preference Computation]
Cc: Cristina Radelescu-Banu 617/890-1001 <cristina@midnight.com>, curtis@ans.net, bgp@ans.net, rwoundy@vnet.ibm.com
X-Orig-Sender: owner-idr@merit.edu
Precedence: bulk

At 2:55 PM -0400 9/5/96, Curtis Villamizar wrote:
>The preconfigured policy information is then put into the LOCAL_PREF
>attribute.  This text should be more clear.  It seems that everyone
>who has already implemented BGP4 agrees on the interpretation but the
>text was never very clear.
>
>Don't send LOCAL_PREF to an EBGP peer.  Don't accept LOCAL_PREF from
>an EBGP peer.  Decide what your preference is based on configured
>policy.  Then put that into LOCAL_PREF.  Then use LOCAL_PREF as the
>first value in a comparison.

Speaking of things which aren't clear, the RFC (and draft) list LOCAL_PREF
as a "discretionary" attribute.  It is of course *not* discretionary.  It's
required on IBGP connections and forbidden on EBGP.  The implementor (or
operator) has no discretion as to whether LOCAL_PREF is sent.

This should be fixed by reclassifying LOCAL_PREF as well-known mandatory.

[Other than the text being just plain wrong, the other possibility is that
"discretionary" is being used to mean something like "this is only
mandatory in some cases".  This is a terrible misuse of the language if
true, and should still be fixed, if necessary by inventing some new term
like "well-known sometimes-mandatory" or something.  (Note that the RFC
nowhere defines "discretionary" so we are left with the dictionary
definition, e.g. "left to discretion: exercised at one's own discretion".)]

--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