Re: About OSPF route flapping
Manav Bhatia <manav_bhatia06@YAHOO.CO.UK> Wed, 21 December 2005 06:35 UTC
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1EoxZ0-0004kt-0U for ospf-archive@megatron.ietf.org; Wed, 21 Dec 2005 01:35:02 -0500
Received: from wildebeest.ease.lsoft.com (wildebeest.ease.lsoft.com [209.119.0.21]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA00150 for <ospf-archive@LISTS.IETF.ORG>; Wed, 21 Dec 2005 01:33:58 -0500 (EST)
Received: from PEACH.EASE.LSOFT.COM (lists.state.gov) by wildebeest.ease.lsoft.com (LSMTP for Windows NT v1.1b) with SMTP id <14.00006CDD@wildebeest.ease.lsoft.com>; Wed, 21 Dec 2005 1:34:30 -0500
Received: by PEACH.EASE.LSOFT.COM (LISTSERV-TCP/IP release 14.4) with spool id 94282284 for OSPF@PEACH.EASE.LSOFT.COM; Wed, 21 Dec 2005 01:34:30 -0500
Received: from 217.12.11.33 by WALNUT.EASE.LSOFT.COM (SMTPL release 1.0m) with TCP; Wed, 21 Dec 2005 01:34:30 -0500
Received: (qmail 750 invoked from network); 21 Dec 2005 06:34:29 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Received:From:To:Cc:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:X-MimeOLE:Thread-Index:In-Reply-To; b=PGOzTAE8FezDZwiwFzpFvS0bezZE8FiYSX42bf1pAATXaJoymromnuBgdHbq1W2teUc1IeO+8Ij0IRoyDCyA7Jfj022ajZ3gVWSZwKKWIqIAGq0kS8BGTW4ahqtM/30Mvi0RYGGO09pWE2HzfuczT3iBhHhzgfpnt2kHABcwCEQ= ;
Received: from unknown (HELO pfloyd) (manav?bhatia06@202.144.106.189 with login) by smtp002.mail.ukl.yahoo.com with SMTP; 21 Dec 2005 06:34:26 -0000
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.6353
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Thread-Index: AcYFt5AEveaznc5hQz61pmWPFLRxMAAMyiVw
Message-ID: <OSPF%200512210134305980.2AB6@PEACH.EASE.LSOFT.COM>
Date: Wed, 21 Dec 2005 12:04:25 +0530
Reply-To: Mailing List <OSPF@PEACH.EASE.LSOFT.COM>
Sender: Mailing List <OSPF@PEACH.EASE.LSOFT.COM>
From: Manav Bhatia <manav_bhatia06@YAHOO.CO.UK>
Subject: Re: About OSPF route flapping
Comments: cc: Erblichs <erblichs@EARTHLINK.NET>
To: OSPF@PEACH.EASE.LSOFT.COM
In-Reply-To: <43A88D9D.94F7E644@earthlink.net>
Precedence: list
List-Help: <http://peach.ease.lsoft.com/scripts/wa.exe?LIST=OSPF>, <mailto:LISTSERV@PEACH.EASE.LSOFT.COM?body=INFO+OSPF>
List-Unsubscribe: <mailto:OSPF-unsubscribe-request@PEACH.EASE.LSOFT.COM>
List-Subscribe: <mailto:OSPF-subscribe-request@PEACH.EASE.LSOFT.COM>
List-Owner: <mailto:OSPF-request@PEACH.EASE.LSOFT.COM>
List-Archive: <http://peach.ease.lsoft.com/scripts/wa.exe?LIST=OSPF>
Content-Transfer-Encoding: 7bit
Hi Erblichs, Each time an IGP route/link changes (could be because of a flap) there are a large number of BGP routes that get affected because of this. If the number of routes that get affected is small then it isn't a problem. However, given the current Internet routing table size its likely that a change in IGP will lead to a change in a *large* number of BGP routes. Processing this and updating the FIB on the line cards, etc. can take up quite some time and it may be long enough to prevent time sensitive packets (HELLOs , etc) from being sent, which may in the worst case cause adjacencies to drop. Its not as bad as it sounds and a clever implementation will do it nicely, however my point is to emphasize that an IGP change can cause a LOT of problems when BGP is around. The above would explain, which I am sure you already understand, why a flapping link needs to be damped - or looked into. Coming back to damping scheme. One could apply a less aggressive suppression scheme to the case where no alternate route exists. In the simplest case, a more aggressive suppression could be applied if some alternate route exists. If the only penalty to a flapping link/route is an increase in the cost then this still does not solve our BGP problem. Given no other IGP route, BGP will continue using the unstable IGP route (even if its cost has increased). !> !> I think I read this paper before and wanted to ask !> you and the group a few questions. Why are you suggesting !> black-holing routes and not suggesting a SIMPLER approach? !> !> My suggested simpler approach is #4. !> !> 0) Are't you effectively black-holing the route !> and the routers behind the "flapping link"? !> !> 1) If a link, route is flapping and it is a low traveled !> data link (almost a demand circuit) what is the harm !> if the link is periodicly down for short periods of !> time? For a demand link one could configure different sets of thresholds. Such routes/links are expected to change the state somewhat more often, but should be suppressed if continuous state changes indicate instability. !> !> 2) If the link is unstable because it is a "wireless" !> type link with large packet losses, won't you !> effectively isolate the wireless links if their !> are no alternative routes? !> !> 3) If the link has random periods of instability isn't !> your dampening increasing the period that the link !> CAN'T be used? !> !> 3b) If the link has become stable after a period of !> unstability, won't you have an extended period of !> down time? I'll answer all the 3 together: Its not that a single flap will cause the link/route to be removed. The amount of instability that you are willing to accept before you damp the link/route is totally configurable. Also the amount of time you want this link/route to be suppressed is completely configurable. Thus by changing the initial set of values given to the algorithm you could have a (i) highly sensitive algorithm that quickly recognizes an unstable entity and suppresses it and keeps is suppressed for a long time (ii) a flexible algorithm that accepts a number of flaps before it decides to suppress the route/link and quickly announces it if it remains active for a little time. Lets go back to the basic question. How can one accurately predict the future stability of a link/route? The recent history of how stable the route/link has been is generally regarded as a good basis for estimating the likelihood of future stability. The criterion that is used to distinguish stable routes/links from the unstable ones is therefore based on the recent history of stability of the route/link. So, a link/route is damped only if the past history shows that its likely for the link/route to again flap in future. !> !> Maybe an upcoming Informational RFC if I FIND the time.. !> 4) WHY don't you just increment the cost of the link !> during periods of instability? Maybe, a demand !> type link that doesn't have to be up 100% of the time. !> [clipped] !> !> * As a followup, if hellos are lost and no data !> is pending to be sent out (must be implimented !> on all sides of the link), delay dropping the !> adj. I am assuming that the period of hellos !> could be too short for short periods of high !> levels of traffic. I am not sure if I understand this. !> !> * Followup, if just a few LSAs have been sent out !> this questionable link and no hellos or acks !> have been returned, identify whether their are !> any alternatives for the queued pkts. If their !> is drop the link, else delay dropping the link? I don't see a reason why you would want to delay dropping such a link. In case of BGP, all the BGP routes will get blackholed. Regards, Manav !> !> Thus, did BGP do the right thing? It is difficult to !> make a quick decision because TCP will rexmit lost or !> non acked pkts/segments within time. And TCP will force !> an initial handshake before data can be sent. Plus !> we are on a OSPF mail alias! !> !> Mitchell Erblich !> --------------------------- !> !> !> !> !> !> Yasuhiro Ohara wrote: !> > !> > We once checked the relation between link flapping and !> > OSPF fixed timer. In the paper we solved that by applying !> > dampening function similar with BGP's. !> > !> > http://www.sfc.wide.ad.jp/~yasu/saint2003.pdf !> > !> > The experiment was done by Zebra ospf6d. !> > Unfortunately I removed the dampening code since then, !> > because there seemed no interest. !> > !> > Let me know if you want further info. !> > !> > regards, !> > yasu !> > !> > From: Kouzengjie <kouzengjie@HUAWEI.COM> !> > Subject: About OSPF route flapping !> > Date: Thu, 24 Nov 2005 15:02:18 +0800 !> > !> > > hi,all !> > > How does OSPF route flapping affect? !> > > Is it important? !> > > what is the method for solving it? !> > > !> > > thanks, !> > > Kou !> > > ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
- About OSPF route flapping Kouzengjie
- Re: About OSPF route flapping Vishwas Manral
- Re: About OSPF route flapping Yasuhiro Ohara
- Re: About OSPF route flapping Erblichs
- Re: About OSPF route flapping Manav Bhatia
- Re: About OSPF route flapping Yasuhiro Ohara
- Re: About OSPF route flapping Erblichs
- Re: About OSPF route flapping Joel M. Halpern
- Re: About OSPF route flapping Erblichs