<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>RE: [j-nsp] BGP route-reflection question</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Dmitri,</FONT>
</P>

<P><FONT SIZE=2>Two points that must be made clearer, in my view.</FONT>
</P>

<P><FONT SIZE=2>1) Cluster id's are required to prevent looping in hierarchical RR designs, regardless of whether or not the clients are originator_id-aware.&nbsp; Since the RRs will not match the originator_id's they will not be able to tell that they have already reflected a route.&nbsp; This would be analogous to saying &quot;I wish Juniper didn't require my ASN to be prepended to the AS PATH.&quot;&nbsp; There are reasons - good ones - based on well know DV mechanisms that require enforcement of these rules.&nbsp; Sure, if you hate Split Horizon you can disable it in RIP, but you better have a love for loops!&nbsp; Since IBGP has no path state, is recursive to the endpoints, and is largely unaware of the loopiness (or lack thereof) of the underlying transport, certain limitations are imposed to ensure NLRI loop-freedom.&nbsp; One is full mesh, or more accurately, update non-transitivity.&nbsp; Break this rule, and there is nothing in IBGP that will tell a generic BGP speaker that propogated an external route that it just learned that same route from an internal peer.&nbsp; RRs &quot;bend&quot; this rule, but impose new ones.&nbsp; Break them at your own risk!</FONT></P>

<P><FONT SIZE=2>2) Danny made a subtle, but very important point - one that those of us who were overambitious with our intracluster RR redunancy goals where sad to learn for ourselves.&nbsp; The more reflection performed to the same client, the more routes it must store/process/index/sort/match against policy/etc.&nbsp; If you have three RRs, then the major current implementations will store all three of the same thing (with there being enough difference that it forces BGP to package them differently, but doesn't affect the decision process all that much).&nbsp; This could mean 330,000 routes for a singly-connected, full BGP feed.&nbsp; With two full feeds, this number can double - and so on.&nbsp; At what point does your router run out of gas?&nbsp; Do you want your router to have to store, package, sort, index, scan, etc 220,000 routes or 660,000?&nbsp; Which do you think is easier?&nbsp; How much redunancy do you need?</FONT></P>

<P><FONT SIZE=2>I say these things because I have lived them.&nbsp; Direct iBGP sessions have little utility compared to Lo0-Lo0 peerings.&nbsp; If you have the latter, than 2 RRs with the same cluster id should be all you need for a router with degree 2 (two uplinks).&nbsp; Anything more provides more pain than pleasure...</FONT></P>

<P><FONT SIZE=2>Just my .02</FONT>
</P>

<P><FONT SIZE=2>-chris</FONT>
</P>

<P><FONT SIZE=2>PS</FONT>
</P>

<P><FONT SIZE=2>The guys who &quot;invented&quot; RR were pretty thorough in exploring most of these issues.&nbsp; In fact, with the exception of persistent oscillation (more a MED prob than RR/confed), there are no known issues (outside of abstract, loosely applied theory and misconfig/buggy code or load/processing pathologies) that are known to cause loops or divergence of an iBGP network.&nbsp; And its been a few years since the first RR draft was posted!&nbsp; ;)</FONT></P>
<BR>
<BR>

<P><FONT SIZE=2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=2>&gt; From: Dmitri Kalintsev [<A HREF="mailto:dek@hades.uz">mailto:dek@hades.uz</A>] </FONT>
<BR><FONT SIZE=2>&gt; Sent: Thursday, May 29, 2003 8:12 PM</FONT>
<BR><FONT SIZE=2>&gt; To: juniper-nsp@puck.nether.net</FONT>
<BR><FONT SIZE=2>&gt; Subject: Re: [j-nsp] BGP route-reflection question</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Hmm, this has turned out to be a somewhat </FONT>
<BR><FONT SIZE=2>&gt; hotter-than-anticipated discussion, so I went to the source, </FONT>
<BR><FONT SIZE=2>&gt; as any good Luke would. The RFC2796</FONT>
<BR><FONT SIZE=2>&gt; says:</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp; &quot;In a simple configuration the backbone could be divided into many</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp; clusters. Each RR would be configured with other RRs as </FONT>
<BR><FONT SIZE=2>&gt; Non-Client peers</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp; (thus all the RRs will be fully meshed.). The Clients will </FONT>
<BR><FONT SIZE=2>&gt; be configured</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp; to maintain IBGP session only with the RR in their </FONT>
<BR><FONT SIZE=2>&gt; cluster. Due to route</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp; reflection, all the IBGP speakers will receive reflected routing</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp; information.&quot;</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; So, having a client talking to two RRs in different clusters </FONT>
<BR><FONT SIZE=2>&gt; contradicts this RFC. We're back to the square one.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; What I want to say is that in an ideal world I would have </FONT>
<BR><FONT SIZE=2>&gt; appreciated the ability NOT to set the cluster ID, reverting </FONT>
<BR><FONT SIZE=2>&gt; back to the originator-id loop detection mechanism. I think </FONT>
<BR><FONT SIZE=2>&gt; that the network designer should be given the right to choose </FONT>
<BR><FONT SIZE=2>&gt; his own poison, and feel that the way Juniper's config </FONT>
<BR><FONT SIZE=2>&gt; imposes the use of cluster-ids when configuring an RR client </FONT>
<BR><FONT SIZE=2>&gt; is a weeny bit pushy. ;^P</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Just my 2c.</FONT>
<BR><FONT SIZE=2>&gt; --</FONT>
<BR><FONT SIZE=2>&gt; D.K.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; On Thu, May 29, 2003 at 09:25:48AM +0100, Guy Davies wrote:</FONT>
<BR><FONT SIZE=2>&gt; &gt;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; &gt; -----BEGIN PGP SIGNED MESSAGE-----</FONT>
<BR><FONT SIZE=2>&gt; &gt; Hash: SHA1</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; Hi Dmitri,</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; I have to say that I don't necessarily *recommend* using different </FONT>
<BR><FONT SIZE=2>&gt; &gt; cluster IDs in the same cluster.&nbsp; I merely said that it is </FONT>
<BR><FONT SIZE=2>&gt; a means to </FONT>
<BR><FONT SIZE=2>&gt; &gt; achieving what you wanted.&nbsp; I knew that Hannes specifically and </FONT>
<BR><FONT SIZE=2>&gt; &gt; possibly Juniper generally recommends doing this but I am </FONT>
<BR><FONT SIZE=2>&gt; with Danny </FONT>
<BR><FONT SIZE=2>&gt; &gt; on this and personally recommend using the same cluster ID </FONT>
<BR><FONT SIZE=2>&gt; and doing </FONT>
<BR><FONT SIZE=2>&gt; &gt; all iBGP from lo0 to lo0. IMHO, using different cluster IDs </FONT>
<BR><FONT SIZE=2>&gt; wins you </FONT>
<BR><FONT SIZE=2>&gt; &gt; little in a well structured network and can cost you a lot (as </FONT>
<BR><FONT SIZE=2>&gt; &gt; described by Danny).</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; No offence intended Hannes :-)</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; Regards,</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; Guy</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; -----Original Message-----</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; From: Danny McPherson [<A HREF="mailto:danny@tcb.net">mailto:danny@tcb.net</A>]</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; Sent: Thursday, May 29, 2003 1:05 AM</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; To: juniper-nsp@puck.nether.net</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; Subject: Re: [j-nsp] BGP route-reflection question</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; On 5/28/03 5:23 PM, &quot;'Dmitri Kalintsev'&quot; &lt;dek@hades.uz&gt; wrote:</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; &gt; P.S. I've noticed yesterday that the other vendor is </FONT>
<BR><FONT SIZE=2>&gt; now also says </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; &gt; that having more than one RR in the same cluster is &quot;not </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; &gt; recommended&quot;. *Sigh*, the world has changed, hasn't it? ;)</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; Folks should be careful here, I'm not sure that this is truly a </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; &quot;recommended&quot; design, per se, as it can effect lots of things </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; significantly. For example, less optimal BGP update packing and </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; subsequently, slower convergence &amp; much higher CPU resource </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; utilization, etc...&nbsp; In addition, it increases Adj-RIB-In </FONT>
<BR><FONT SIZE=2>&gt; sizes [on </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; many boxes] and can have a significant impact on steady </FONT>
<BR><FONT SIZE=2>&gt; state memory </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; utilization. Imagine multiple levels of reflection or </FONT>
<BR><FONT SIZE=2>&gt; more than two </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; reflectors for a given cluster, etc..&nbsp; The impact of </FONT>
<BR><FONT SIZE=2>&gt; propagating and </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; maintaining redundant paths with slightly different attribute </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; pairings, especially in complex topologies, should be heavily </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; weighed.</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; What I'd _probably recommend is a common cluster_id for all RRs </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; withing a cluster, a full mesh of iBGP sessions between </FONT>
<BR><FONT SIZE=2>&gt; clients and </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; loopback iBGP peering everywhere such that if the </FONT>
<BR><FONT SIZE=2>&gt; client&lt;-&gt;RR1 link </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; fails there's an alternative path for the BGP session via </FONT>
<BR><FONT SIZE=2>&gt; RR2 (after </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; all, the connectivity is there anyway) and nothings disrupted.&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; There are lots of other variable to be considered as </FONT>
<BR><FONT SIZE=2>&gt; well, but IMO, </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; simply using different cuslter_ids isn't a clean solution.</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; -danny</FONT>
<BR><FONT SIZE=2>&gt; ---end quoted text--- _______________________________________________</FONT>
<BR><FONT SIZE=2>&gt; juniper-nsp mailing list juniper-nsp@puck.nether.net </FONT>
<BR><FONT SIZE=2>&gt; <A HREF="http://puck.nether.net/mailman/listinfo/junipe" TARGET="_blank">http://puck.nether.net/mailman/listinfo/junipe</A>&gt; r-nsp</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
</P>

</BODY>
</HTML>