Re: [GROW] draft-ietf-grow-diverse-bgp-path-dist: risk of inconsistent path selection

Jakob Heitz <jakob.heitz@ericsson.com> Sun, 27 March 2011 23:15 UTC

Return-Path: <jakob.heitz@ericsson.com>
X-Original-To: grow@core3.amsl.com
Delivered-To: grow@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4689A3A684B; Sun, 27 Mar 2011 16:15:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.412
X-Spam-Level:
X-Spam-Status: No, score=-6.412 tagged_above=-999 required=5 tests=[AWL=0.187, BAYES_00=-2.599, 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 LHpFZizYrfWF; Sun, 27 Mar 2011 16:15:17 -0700 (PDT)
Received: from imr3.ericy.com (imr3.ericy.com [198.24.6.13]) by core3.amsl.com (Postfix) with ESMTP id 155773A67AB; Sun, 27 Mar 2011 16:15:17 -0700 (PDT)
Received: from eusaamw0706.eamcs.ericsson.se ([147.117.20.31]) by imr3.ericy.com (8.13.8/8.13.8) with ESMTP id p2RNGqrT009906 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Sun, 27 Mar 2011 18:16:53 -0500
Received: from EUSAACMS0701.eamcs.ericsson.se ([169.254.2.141]) by eusaamw0706.eamcs.ericsson.se ([147.117.20.31]) with mapi; Sun, 27 Mar 2011 19:16:52 -0400
From: Jakob Heitz <jakob.heitz@ericsson.com>
To: "raszuk@cisco.com" <raszuk@cisco.com>
Date: Sun, 27 Mar 2011 19:16:49 -0400
Thread-Topic: [GROW] draft-ietf-grow-diverse-bgp-path-dist: risk of inconsistent path selection
Thread-Index: Acvs0vn0eAe2e8QeRvuy3kz0z1qaMwAAElWg
Message-ID: <7309FCBCAE981B43ABBE69B31C8D21390E3F5BECDC@EUSAACMS0701.eamcs.ericsson.se>
References: <7309FCBCAE981B43ABBE69B31C8D21390E3F5BECCA@EUSAACMS0701.eamcs.ericsson.se> <4D8FB770.8090901@cisco.com> <7309FCBCAE981B43ABBE69B31C8D21390E3F5BECCD@EUSAACMS0701.eamcs.ericsson.se> <4D8FB975.1030809@cisco.com> <7309FCBCAE981B43ABBE69B31C8D21390E3F5BECD2@EUSAACMS0701.eamcs.ericsson.se> <4D8FC1E0.6000809@cisco.com>
In-Reply-To: <4D8FC1E0.6000809@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: IETF IDR <idr@ietf.org>, "grow@ietf.org" <grow@ietf.org>
Subject: Re: [GROW] draft-ietf-grow-diverse-bgp-path-dist: risk of inconsistent path selection
X-BeenThere: grow@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Grow Working Group Mailing List <grow.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/grow>
List-Post: <mailto:grow@ietf.org>
List-Help: <mailto:grow-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 27 Mar 2011 23:15:18 -0000

Again, if the tie breaker reaches step (f),
the client will use the BGP Identifier of
the RR it receives the path from to choose
its best.

In BGP, we like all speakers to choose the same
path unless IGP metrics are different.

With diverse-path, there is a possibility that
different speakers choose different paths even
if IGP metrics are the same.

If the clients were to receive their paths
from the source speaker, they would choose the
same path at tie breaker (f).

draft-pmohapat-idr-fast-conn-restore proposes
the Edge_Discriminator attribute to fix it.

It may not be a problem. However, the path selection is
different than without diverse-path, therefore
the behaviour needs to be stated in the draft.

The rule I stated will remove the inconsistency.

--
Jakob Heitz.
 

> -----Original Message-----
> From: Robert Raszuk [mailto:raszuk@cisco.com] 
> Sent: Sunday, March 27, 2011 4:02 PM
> To: Jakob Heitz
> Cc: grow@ietf.org; IETF IDR
> Subject: Re: [GROW] draft-ietf-grow-diverse-bgp-path-dist: 
> risk of inconsistent path selection
> 
> Hi,
> 
>  > C1 will choose second best and C2 will choose best.
> 
> I am sorry but each client will choose the best and backup path among 
> the paths it receives. And this selection are normal IBGP best path 
> selection. We are not really defining an AS wide path 
> ordering in this 
> work. All we are doing is distributing more paths to clients so they 
> could use it for backup or load-balancing purposes.
> 
> Are you saying that what RR considers as backup may be chosen 
> as best by 
> the client ?
> 
> That seems to me perfectly fine. Client has no need to choose 
> the same 
> path as the RR. Because the second path would be a backup path on the 
> client. With hop by hop IP lookup this is the reality today. With 
> tunnels of some sort this becomes completely transparent, but this is 
> different story and diverse-path does not require tunneling.
> 
> Even today RRs may choose different best path when they are 
> full meshed 
> and advertise different to each client. Then client is at his own 
> freedom to choose order of paths as he likes.
> 
> Moreover the same behaviour would be in add-paths. Among advertised 
> paths there is no ordering and clients can choose whichever order it 
> consider's correct.
> 
> Cheers,
> R.
> 
> > Suppose 2 clusters.
> > Cluster 1 has 2 diverse path speakers, RR11 and RR12
> > and client C1.
> > Cluster 2 has 2 diverse path speakers, RR21 and RR22.
> > and client C2.
> >
> > Suppose BGP Identifiers:
> > RR11 = 11  advertises best
> > RR12 = 12  advertises second best
> > RR21 = 21  advertises second best
> > RR22 = 22  advertises best
> >
> > If the tie breaker reaches step (f),
> > C1 will choose second best and C2 will choose best.
> >
> > The rule I state will prevent the inconsistency.
> >
> > I assume that the IGP metric problem at the RRs
> > has been fixed such that each RR plane
> > sees the same IGP metric as its mates.
> >
> > --
> > Jakob Heitz.
> >
> >
> >> -----Original Message-----
> >> From: Robert Raszuk [mailto:raszuk@cisco.com]
> >> Sent: Sunday, March 27, 2011 3:26 PM
> >> To: Jakob Heitz
> >> Cc: grow@ietf.org; IETF IDR
> >> Subject: Re: [GROW] draft-ietf-grow-diverse-bgp-path-dist:
> >> risk of inconsistent path selection
> >>
> >>
> >> Exactly. So what is the problem within this thread which you
> >> claim that
> >> clients may "risk of inconsistent path selection" ?
> >>
> >> R.
> >>
> >>> This is standard BGP if the IGP metrics are equal.
> >>>
> >>> --
> >>> Jakob Heitz.
> >>>
> >>>
> >>>> -----Original Message-----
> >>>> From: Robert Raszuk [mailto:raszuk@cisco.com]
> >>>> Sent: Sunday, March 27, 2011 3:17 PM
> >>>> To: Jakob Heitz
> >>>> Cc: grow@ietf.org; IETF IDR
> >>>> Subject: Re: [GROW] draft-ietf-grow-diverse-bgp-path-dist:
> >>>> risk of inconsistent path selection
> >>>>
> >>>> Jakob,
> >>>>
> >>>>    >   To prevent clients in different clusters from choosing
> >>>>    >   different bestpaths based on tie breaker (f):
> >>>>
> >>>> Can you restate what is the problem with the above ?
> >>>>
> >>>> Today clients would chose different best paths when IGP
> >> metric to one
> >>>> next hop is closest on one to NH1 and closest on the other to
> >>>> NH2. And
> >>>> this check happens well above step (f).
> >>>>
> >>>> How is this at all related to the diverse path draft like
> >> the subject
> >>>> could indicate ?
> >>>>
> >>>> Thx,
> >>>> R.
> >>>>
> >>>>
> >>>>
> >>>>> Route selection tie breakers in RFC 4271 state:
> >>>>>
> >>>>>          f) Remove from consideration all routes other than
> >>>> the route that
> >>>>>             was advertised by the BGP speaker with the 
> lowest BGP
> >>>>>             Identifier value.
> >>>>>
> >>>>>          g) Prefer the route received from the lowest 
> peer address.
> >>>>>
> >>>>> Suppose RR Planes use different BGP Identifier values.
> >>>>> If they use the same BGP Identifier, a similar argument
> >>>>> can be made for peer address.
> >>>>>
> >>>>> To prevent clients in different clusters from choosing
> >>>>> different bestpaths based on tie breaker (f):
> >>>>>
> >>>>> The RR Plane that advertises the best path MUST be configured
> >>>>> with a BGP Identifier higher than that of the RR Plane that
> >>>>> advertises the 2nd best. This must be higher than that of
> >>>>> the Plane that advertises the 3rd best and so on.
> >>>>>
> >>>>> I'm not sure if this rule completely solves the problem.
> >>>>> If not, then the "Edge_Discriminator attribute" proposed
> >>>>> by draft-pmohapat-idr-fast-conn-restore may be required.
> >>>>> Also, this would need to be applied before rule (f).
> >>>>>
> >>>>> --
> >>>>> Jakob Heitz.
> >>>>>
> >>>>> _______________________________________________
> >>>>> GROW mailing list
> >>>>> GROW@ietf.org
> >>>>> https://www.ietf.org/mailman/listinfo/grow
> >>>>>
> >>>>
> >>>>
> >>
> >>
> 
>