Re: [Idr] draft-walton-bgp-route-oscillation-stop as an IDR WG document

Uli Bornhauser <ub@cs.uni-bonn.de> Wed, 12 May 2010 18:46 UTC

Return-Path: <ub@cs.uni-bonn.de>
X-Original-To: idr@core3.amsl.com
Delivered-To: idr@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3A13D28C294 for <idr@core3.amsl.com>; Wed, 12 May 2010 11:46:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.064
X-Spam-Level:
X-Spam-Status: No, score=-4.064 tagged_above=-999 required=5 tests=[AWL=1.300, BAYES_00=-2.599, HELO_EQ_DE=0.35, HTML_FONT_FACE_BAD=0.884, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fO5kJdThLElx for <idr@core3.amsl.com>; Wed, 12 May 2010 11:46:13 -0700 (PDT)
Received: from postfix.iai.uni-bonn.de (postfix.iai.uni-bonn.de [131.220.8.4]) by core3.amsl.com (Postfix) with ESMTP id 526AC3A6D21 for <idr@ietf.org>; Wed, 12 May 2010 11:22:58 -0700 (PDT)
X-IAI-Env-From: <ub@cs.uni-bonn.de> : [93.129.159.91]
Received: from pad.fritz.box (koln-5d819f5b.pool.mediaWays.net [93.129.159.91]) by postfix.iai.uni-bonn.de (Postfix) with ESMTP id D70615C82C; Wed, 12 May 2010 20:22:46 +0200 (MEST) (envelope-from ub@cs.uni-bonn.de) (envelope-to VARIOUS) (3) (internal use: ta=1, tu=1, te=1, am=P, au=ub)
Mime-Version: 1.0 (Apple Message framework v1078)
Content-Type: multipart/alternative; boundary="Apple-Mail-2--971380706"
From: Uli Bornhauser <ub@cs.uni-bonn.de>
In-Reply-To: <7309FCBCAE981B43ABBE69B31C8D21390119A7D2BC@EUSAACMS0701.eamcs.ericsson.se>
Date: Wed, 12 May 2010 20:22:42 +0200
Message-Id: <EFA0195C-F0AA-497A-ADBF-3A054F60DA62@cs.uni-bonn.de>
References: <922D86C4-1ABD-4DE7-A7BE-4B1B85AAF6F2@juniper.net> <8C8ED0EF-EAEA-42F2-9EA1-2E15820A1057@cs.uni-bonn.de> <F362ABAC-D015-4942-8C67-941B1E4E2CA6@juniper.net> <4BE977EC.80000@uclouvain.be> <1DAD09DC-D360-42A0-A3C6-BCEC4FF05F38@cs.uni-bonn.de> <7309FCBCAE981B43ABBE69B31C8D21390119A7D2BC@EUSAACMS0701.eamcs.ericsson.se>
To: Jakob Heitz <jakob.heitz@ericsson.com>
X-Mailer: Apple Mail (2.1078)
Cc: Inter-Domain Routing List <idr@ietf.org>
Subject: Re: [Idr] draft-walton-bgp-route-oscillation-stop as an IDR WG document
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/idr>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 12 May 2010 18:46:16 -0000

Hi Jakob,

Am 12.05.2010 um 16:18 schrieb Jakob Heitz:

> I remember an attribute: attr_set in an expired draft that solves this problem
> http://tools.ietf.org/id/draft-pmohapat-idr-fast-conn-restore-00.txt
> Whatever happened to it?

yes, applied correctly, the Border Router Attribute Set could solve the problem. However, the modifications sketched in this draft are not completely unproblematic, too. I sketched a problematic example in an email I send to the list on Dec. 04th, 2008.

Best Regards

Uli

> -- 
> Jakob Heitz.
> 
>  
> 
> From: idr-bounces@ietf.org [mailto:idr-bounces@ietf.org] On Behalf Of Uli Bornhauser
> Sent: Wednesday, May 12, 2010 3:14 AM
> To: John Scudder
> Cc: Inter-Domain Routing List
> Subject: Re: [Idr] draft-walton-bgp-route-oscillation-stop as an IDR WG document
> 
> Hi John, Pierre, all,
> 
>>> Uli,
>>> Doesn't this text from RFC 4456 address your point?
>>>      If a route carries the ORIGINATOR_ID attribute, then in Step f)
>>>      the ORIGINATOR_ID SHOULD be treated as the BGP Identifier of the
>>>      BGP speaker that has advertised the route.
>>>      In addition, the following rule SHOULD be inserted between Steps
>>>      f) and g): a BGP Speaker SHOULD prefer a route with the shorter
>>>      CLUSTER_LIST length.  The CLUSTER_LIST length is zero if a route
>>>      does not carry the CLUSTER_LIST attribute.
>>> Regards,
>>> --John
> 
> John, yes, you are of course absolutely right. My example was a little bit too simple. 
> 
> Am 11.05.2010 um 17:29 schrieb Pierre Francois:
> 
>> 
>> John,
>> 
>> If paths p1 and p2 were coming from the same ASBR, the problem comes back, no ?
> 
> 
> However, it seems easy to modify the example so that the basic problem remains: 
> 
>               |
> p1->  |----|  |
> ------|    |  |
>       |----|  |
>             \ /
>              \
> AS1         / \
> -----------/  |----|  1  |----|
>               | R1 |-----| R2 |
> -----------\  |----|     |----|
> AS2         \ /
>              /
>             / \
> p2->  |----|  |
> ------|    |  |
>       |----|  |
> 
> Let assume that p1 and p2 are advertised from external ASs to the Route Reflector R1. In this case, according to RFC4456, the Originator ID is not set by the Reflector R1:
> 
>    ORIGINATOR_ID is a new optional, non-transitive BGP attribute of Type
>    code 9.  This attribute is 4 bytes long and it will be created by an
>    RR in reflecting a route.  This attribute will carry the BGP
>    Identifier of the originator of the route in the local AS.  A BGP
>    speaker SHOULD NOT create an ORIGINATOR_ID attribute if one already
>    exists.  A router that recognizes the ORIGINATOR_ID attribute SHOULD
>    ignore a route received with its BGP Identifier as the ORIGINATOR_ID.
> 
> We have no *local* originator and RR1 does not "reflect" a path in the closer sense. Thus, the originator ID is not specified in the path advertisements. So Pierre is right if the ASBR is a Route Reflector. Because the best path cannot be determined uniquely in all configurations, [1] may induce a problematic side-effect. If the ASBR is a common client, it only advertises its (one unique) best path, cf. [1]. In that case, the problem I have in mind should not occur.
> 
> Regards
> 
> Uli
> 
> [1] http://www.ietf.org/id/draft-walton-bgp-route-oscillation-stop-03.txt
> 
>> 
>> Using the NEXT_HOP attribute will also lead to the same issue when the ASBR sets nexthop to self.
>> 
>> Regards,
>> 
>> Pierre.
>> 
>> 
>> John Scudder wrote:
>>> 
>>> On May 11, 2010, at 4:38 AM, Uli Bornhauser wrote:
>>>> Hi Daniel, other authors, all,
>>>> 
>>>> one comment, more precisely a question: What about potential problems the "BGP Persistent Route Oscillation Solutions" may cause? For example, if I did not miss an important aspect, the concept may cause situations where BGP speakers cannot choose a unique best path any more:
>>>> 
>>>>                   |
>>>>           clusterI|clusterII
>>>> p1->  |----|       |
>>>> ------| C1 |       |
>>>>      |----|       |
>>>>            \ 1    |
>>>>            |----| |1  |----|
>>>>            | R1 |-----| R2 |
>>>>            |----| |   |----|
>>>>            / 1    |
>>>> p2->  |----|       |
>>>> ------| C1 |       |
>>>>      |----|       |
>>>> C1 and C2 both provide their best path (externally learned via different ASs, same LOCAL_PREF, AS_PATH length, etc.) to R1. R1 in turn advertises these paths (p1 and p2) to R2 according to your draft. As both paths are learned via the same session, the common BGP tie breaker process does not work at this point: Even after executing step g) [1], both paths are still in the decision process. Obviously, randomly choosing one path does not work, too. Is there a simple solution for this problem (I missed it in the draft)? I think either a modification of the selection process or new attributes are needed (which seem to be in conflict with the statement that only minor changes are needed at the most BGP speakers, cf. 5. Deployment Considerations). If I did not miss a point, this observation leads to the following question whether advertising "all Paths" / "Group Best Paths" may cause other, not that obvious problems.
>>>> 
>>>> Thanks in advance for the clarification and
>>>> 
>>>> Best Regards
>>>> 
>>>> Uli
>>>> 
>>>> [1] RFC4271 - http://www.ietf.org/rfc/rfc4271
>>>> 
>>>> Am 10.05.2010 um 23:00 schrieb John Scudder:
>>>> 
>>>>> Folks,
>>>>> 
>>>>> We have received a request to adopt draft-walton-bgp-route-oscillation-stop as an IDR working group document.  Please send comments to the list.  The deadline for comments is May 25, 2010.
>>>>> 
>>>>> --John
>>>>> 
>>>>> -------- Subject: I-D Action:draft-walton-bgp-route-oscillation-stop-03.txt
>>>>> Date: Mon, 10 May 2010 11:30:02 -0700 (PDT)
>>>>> From: Internet-Drafts@ietf.org
>>>>> Reply-To: internet-drafts@ietf.org
>>>>> To: i-d-announce@ietf.org
>>>>> 
>>>>> 
>>>>> A New Internet-Draft is available from the on-line Internet-Drafts directories.
>>>>> 
>>>>> Title           : BGP Persistent Route Oscillation Solutions
>>>>> Author(s)       : D. Walton, et al.
>>>>> Filename        : draft-walton-bgp-route-oscillation-stop-03.txt
>>>>> Pages           : 9
>>>>> Date            : 2010-05-10
>>>>> 
>>>>> In this document we present two sets of paths for an address prefix
>>>>> that can be advertised by a BGP route reflector or confederation ASBR
>>>>> to eliminate the MED-induced route oscillations in a network.  The
>>>>> first set involves all the available paths, and would achieve the
>>>>> same routing consistency as the full IBGP mesh.  The second set,
>>>>> which is a subset of the first one, involves the neighbor-AS based
>>>>> Group Best Paths, and would be sufficient to eliminate the MED-
>>>>> induced route oscillations (subject to certain commonly adopted
>>>>> topological constrains).
>>>>> 
>>>>> A URL for this Internet-Draft is:
>>>>> 
>>>>> http://www.ietf.org/internet-drafts/draft-walton-bgp-route-oscillation-stop-03.txt
>>>>> 
>>>>> 
>>>>> Internet-Drafts are also available by anonymous FTP at:
>>>>> 
>>>>> ftp://ftp.ietf.org/internet-drafts/
>>>>> 
>>>>> 
>>>>> Below is the data which will enable a MIME compliant mail reader
>>>>> implementation to automatically retrieve the ASCII version of the
>>>>> Internet-Draft.
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> Idr mailing list
>>>>> Idr@ietf.org
>>>>> https://www.ietf.org/mailman/listinfo/idr
>>>> -- 
>>>> _______________________________________________________
>>>> ULI BORNHAUSER
>>>> University of Bonn - Institute of Computer Science IV
>>>> c/o Bonn-Aachen International Center for Information Technology B-IT Dahlmannstr. 2 - D-53113 Bonn - Germany
>>>> 
>>>> Web: www.cs.bonn.edu/IV/ub
>>>> Email: ub@cs.uni-bonn.de 
>>>> Phone: +49 (228) 2699-154
>>>> Fax: +49 (228) 73 - 4571
>>>> 
>>>> _______________________________________________
>>>> Idr mailing list
>>>> Idr@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/idr
>>> _______________________________________________
>>> Idr mailing list
>>> Idr@ietf.org
>>> https://www.ietf.org/mailman/listinfo/idr
>> 
> 
> -- 
> _______________________________________________________
> ULI BORNHAUSER
> University of Bonn - Institute of Computer Science IV
> c/o Bonn-Aachen International Center for Information Technology B-IT 
> Dahlmannstr. 2 - D-53113 Bonn - Germany
> 
> Web: www.cs.bonn.edu/IV/ub
> Email: ub@cs.uni-bonn.de 
> Phone: +49 (228) 2699-154
> Fax: +49 (228) 73 - 4571
> 
> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www.ietf.org/mailman/listinfo/idr

-- 
_______________________________________________________
ULI BORNHAUSER
University of Bonn - Institute of Computer Science IV
c/o Bonn-Aachen International Center for Information Technology B-IT 
Dahlmannstr. 2 - D-53113 Bonn - Germany

Web: www.cs.bonn.edu/IV/ub
Email: ub@cs.uni-bonn.de			
Phone: +49 (228) 2699-154
Fax: +49 (228) 73 - 4571