RE: [Idr] Clarification on RFC4271 section 5.1.5 - is LOCAL-PREFmandatory or discretionary

"Tony Li" <tli@tropos.com> Wed, 12 July 2006 17:41 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1G0ii0-00016L-Ut; Wed, 12 Jul 2006 13:41:12 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1G0ihz-00016B-3e for idr@ietf.org; Wed, 12 Jul 2006 13:41:11 -0400
Received: from webmail.tropos.com ([12.108.168.187] helo=iceblock01.tropos.com) by ietf-mx.ietf.org with smtp (Exim 4.43) id 1G0ihx-00019F-MV for idr@ietf.org; Wed, 12 Jul 2006 13:41:11 -0400
Received: (qmail 17902 invoked from network); 12 Jul 2006 17:35:42 -0000
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on iceblock01
X-Spam-Level:
X-Spam-Status: No, score=-104.3 required=6.0 tests=ALL_TRUSTED,AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.1.0
Received: from ca-bay-exch-01.tropos.com (192.168.1.49) by iceblock01.tropos.com with SMTP; 12 Jul 2006 17:35:39 -0000
Received: from LIPC ([192.168.1.154]) by ca-bay-exch-01.tropos.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 12 Jul 2006 10:43:44 -0700
From: Tony Li <tli@tropos.com>
To: 'gregory hoggarth' <gregory.hoggarth@alliedtelesyn.co.nz>, idr@ietf.org
Subject: RE: [Idr] Clarification on RFC4271 section 5.1.5 - is LOCAL-PREFmandatory or discretionary
Date: Wed, 12 Jul 2006 10:41:02 -0700
Message-ID: <003d01c6a5da$57fbef60$9a01a8c0@tropos.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-reply-to: <44B4D861.E0D5.005D.0@alliedtelesyn.co.nz>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
Thread-Index: AcalPybav2SagnYsTjKLnDctcXr6XQAmwHKw
X-OriginalArrivalTime: 12 Jul 2006 17:43:44.0507 (UTC) FILETIME=[B89824B0:01C6A5DA]
X-Antivirus: Scanned by Tropos Antivirus 1.0.4
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 32b73d73e8047ed17386f9799119ce43
Cc:
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tony.li@tony.li
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/idr>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
Errors-To: idr-bounces@ietf.org

IIRC, making LOCAL_PREF mandatory would have implied that LOCAL_PREF
appear in EBGP updates.

Tony
 

> -----Original Message-----
> From: gregory hoggarth [mailto:gregory.hoggarth@alliedtelesyn.co.nz] 
> Sent: Tuesday, July 11, 2006 4:09 PM
> To: idr@ietf.org
> Subject: [Idr] Clarification on RFC4271 section 5.1.5 - is 
> LOCAL-PREFmandatory or discretionary
> 
> Hello everyone,
> 
> I've been working on a BGP implementation which is currently failing a
> third-party test that is assuming that the LOCAL-PREF attribute is a
> well-known mandatory attribute while the implementation is 
> assuming that
> it is discretionary. RFC4271 does not make the definition 100% clear,
> especially because in RFC1771 this attribute is described as being
> well-known discretionary.
> 
> Section 5.1.5 from RFC4271 states:
> 
>    LOCAL_PREF is a well-known attribute that SHALL be included in all
>    UPDATE messages that a given BGP speaker sends to other internal
>    peers.  A BGP speaker SHALL calculate the degree of preference for
>    each external route based on the locally-configured policy, and
>    include the degree of preference when advertising a route to its
>    internal peers.
> 
> The SHALLs seem to make this fairly clear, however note that it merely
> says "well-known attribute". Other attributes, such as ORIGIN say
> "well-known mandatory attribute". Also, in the table at the 
> top of page
> 25, LOCAL_PREF is listed as being "required" for IBGP, but 
> this is never
> actually defined anywhere as to what this means. Again in 
> section 4.3 e)
> on page 19, it only says "well-known attribute", whereas on the same
> page NEXT_HOP is described as "well-known mandatory" and
> ATOMIC_AGGREGATE is described as "well-known discretionary".
> 
> In RFC1771 LOCAL_PREF is defined on pages 15 and 23 as being
> "well-known discretionary".
> 
> The current way the implementation works is based on RFC1771, but as
> RFC4271 is ambiguous as to how LOCAL_PREF should be handled, 
> I am unsure
> as to whether the implementation needs to be changed.
> 
> Currently, if an update message that does not include the LOCAL_PREF
> attribute arrives from an iBGP neighbour, the default or
> administratively-defined LOCAL_PREF value for the receiving router is
> assigned to the advertised route. This seems like a good compromise in
> my opinion. The third-party test suite is expecting that in this
> situation, the device will return a notification message that 
> incidates
> the attribute was not included in the update.
> 
> So, according to RFC4271, is LOCAL_PREF a mandatory 
> attribute, at least
> for iBGP peer communication? Is my current approach to the 
> lack of this
> attribute in an update sensible and acceptable?
> 
> 
> Thanks,
> Greg
> 
> NOTICE: This message contains privileged and confidential
> information intended only for the use of the addressee
> named above. If you are not the intended recipient of
> this message you are hereby notified that you must not
> disseminate, copy or take any action in reliance on it.
> If you have received this message in error please
> notify Allied Telesis Labs Ltd immediately.
> Any views expressed in this message are those of the
> individual sender, except where the sender has the
> authority to issue and specifically states them to
> be the views of Allied Telesis Labs.
> 
> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www1.ietf.org/mailman/listinfo/idr
> 



_______________________________________________
Idr mailing list
Idr@ietf.org
https://www1.ietf.org/mailman/listinfo/idr