Re: About OSPF route flapping
Yasuhiro Ohara <yasu@SFC.WIDE.AD.JP> Sat, 24 December 2005 07:21 UTC
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1Eq3iM-0004b1-Fd for ospf-archive@megatron.ietf.org; Sat, 24 Dec 2005 02:21:16 -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 CAA13608 for <ospf-archive@LISTS.IETF.ORG>; Sat, 24 Dec 2005 02:20:05 -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 <0.0000749A@wildebeest.ease.lsoft.com>; Sat, 24 Dec 2005 2:20:28 -0500
Received: by PEACH.EASE.LSOFT.COM (LISTSERV-TCP/IP release 14.4) with spool id 94581853 for OSPF@PEACH.EASE.LSOFT.COM; Sat, 24 Dec 2005 02:20:28 -0500
Received: from 203.178.142.146 by WALNUT.EASE.LSOFT.COM (SMTPL release 1.0m) with TCP; Sat, 24 Dec 2005 02:20:27 -0500
Received: from localhost (p5067-ipad52hodogaya.kanagawa.ocn.ne.jp [60.45.28.67]) by mail.sfc.wide.ad.jp (Postfix) with ESMTP id 7D63F4CFD2; Sat, 24 Dec 2005 16:20:23 +0900 (JST)
References: <006b01c5f0c5$02ab2000$72646e0a@china.huawei.com> <20051124.162840.128462062.yasu@sfc.wide.ad.jp> <43A88D9D.94F7E644@earthlink.net>
X-Mailer: Mew version 4.2 on Emacs 21.4 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <20051224.162014.07263228.yasu@sfc.wide.ad.jp>
Date: Sat, 24 Dec 2005 16:20:14 +0900
Reply-To: Mailing List <OSPF@PEACH.EASE.LSOFT.COM>
Sender: Mailing List <OSPF@PEACH.EASE.LSOFT.COM>
From: Yasuhiro Ohara <yasu@SFC.WIDE.AD.JP>
Subject: Re: About OSPF route flapping
Comments: To: 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, Here I try to respond your requests by describing my opinion beside what manav have told already. Please see inline. From: Erblichs <erblichs@EARTHLINK.NET> Subject: Re: About OSPF route flapping Date: Tue, 20 Dec 2005 15:02:53 -0800 Message-ID: <43A88D9D.94F7E644@earthlink.net> erblichs> Yasu, erblichs> erblichs> I think I read this paper before and wanted to ask erblichs> you and the group a few questions. Why are you suggesting erblichs> black-holing routes and not suggesting a SIMPLER approach? We were not suggesting black-holing, we suggest to apply BGP flap dampening also to OSPF events. Black-holing in the experiment just happened because of time lag between result of OSPF computation and the actual link state, and it is regarded as a bad phenomenon. Black-holing is bad because it keep us from using alternative routes. We applied flap dampening so that there would be no black-holing. erblichs> My suggested simpler approach is #4. erblichs> erblichs> 0) Are't you effectively black-holing the route erblichs> and the routers behind the "flapping link"? Please see above. Black-holing was the bad situation resulted from the flapping route. erblichs> 1) If a link, route is flapping and it is a low traveled erblichs> data link (almost a demand circuit) what is the harm erblichs> if the link is periodicly down for short periods of erblichs> time? erblichs> erblichs> 2) If the link is unstable because it is a "wireless" erblichs> type link with large packet losses, won't you erblichs> effectively isolate the wireless links if their erblichs> are no alternative routes? As manav have told, we can configure the threshold of how unstable for the link event to be dampend, and how quickly it starts to damp. What types of link should be dampened or not is beyond the scope of the paper, but I agree that on demand circuit we would not want to dampen the link event. On wireless the dampening feature might be useful, I guess. Regardless of whether it is wireless or not, it is important if we have another alternative route to the same destination other than the flapping route. If we don't have any alternative, then the dampening should leave the link "up" against ordinary dampening method which would leave the link "down". In the paper we only investigate the case when we have a alternative route, so the dampening is made to leave the link as down. I think I don't understand what you've meant by "isolate", so please tell me if I am missing your point. erblichs> 3) If the link has random periods of instability isn't erblichs> your dampening increasing the period that the link erblichs> CAN'T be used? Hmm I don't understand 'random periods of instability' ... What model are you mentioning precisely ? If the duration of previous up/down state is short enough compared to configured threshold settings, then the dampening function will increase the period that the link can't be used. Otherwise, when the previous down duration is long enough, and when the link event just occured is up, the link would be used immediately (dampening function does not effect). erblichs> 3b) If the link has become stable after a period of erblichs> unstability, won't you have an extended period of erblichs> down time? Yes, we will have an extended period of down time just after the unstability. That is from the nature of dampening algorithm. We will leave the link as down even if the link is up until the penalty of the link decreases as time passes. erblichs> Maybe an upcoming Informational RFC if I FIND the time.. erblichs> 4) WHY don't you just increment the cost of the link erblichs> during periods of instability? Maybe, a demand erblichs> type link that doesn't have to be up 100% of the time. erblichs> erblichs> Yes, you have to increment the cost as the time of erblichs> instability increases or assume an initial level of erblichs> instability and as the link ages, decrease the link erblichs> cost. erblichs> erblichs> * Shouldn't this minimize any effects and supply erblichs> as much activeness as possible? I think increasing the link cost as the link's instability increases is not a good thing, because the OSPF cost of the link have totally different meaning in essence. The OSPF's link cost have different measure compared to instability (flapping rate), so intuitively we can't explain what does it mean to reflect flapping rate to the OSPF cost. Reflecting flapping rate to the OSPF cost will result that, say, we will use the flapping link if the flapping duration is longer than every 3 second. Actual flapping rate (or duration) that we will shift to alternative route is decided by the alternative route's total OSPF link cost. Is that making any sense ? I don't think so. The only benefit we get from manipulating OSPF cost would be in the discussion of "leave up or leave down". If we make OSPF cost as LsInfinity, it means that the link is up but almost down. Using LsInfinity is good, but about reflecting flapping rate to OSPF cost, I would disagree. erblichs> * As a followup, if hellos are lost and no data erblichs> is pending to be sent out (must be implimented erblichs> on all sides of the link), delay dropping the erblichs> adj. I am assuming that the period of hellos erblichs> could be too short for short periods of high erblichs> levels of traffic. erblichs> erblichs> * Followup, if just a few LSAs have been sent out erblichs> this questionable link and no hellos or acks erblichs> have been returned, identify whether their are erblichs> any alternatives for the queued pkts. If their erblichs> is drop the link, else delay dropping the link? Why do you consider hello events ? We should consider link up/down events or route appearing/disappearing events, not hello events. We might postpone/defer link or route events, but we will not postpone hello events. Further, how do you detect that a Hello packet has been lost ? "if hellos are lost" can be detected only by timer, and it should mean the link down event. So we don't need to consider about hello event at all. erblichs> Thus, did BGP do the right thing? It is difficult to erblichs> make a quick decision because TCP will rexmit lost or erblichs> non acked pkts/segments within time. And TCP will force erblichs> an initial handshake before data can be sent. Plus erblichs> we are on a OSPF mail alias! erblichs> erblichs> Mitchell Erblich erblichs> --------------------------- Detecting if the packet is lost is difficult, almost impossible. but BGP's flap dampening does not need to detect them. It detect only receiving update or withdrawal, and only dampening if the duration is too short or rate is too high. TCP is not involved if the BGP packet have already been processed. regards, yasu erblichs> erblichs> erblichs> erblichs> erblichs> Yasuhiro Ohara wrote: erblichs> > erblichs> > We once checked the relation between link flapping and erblichs> > OSPF fixed timer. In the paper we solved that by applying erblichs> > dampening function similar with BGP's. erblichs> > erblichs> > http://www.sfc.wide.ad.jp/~yasu/saint2003.pdf erblichs> > erblichs> > The experiment was done by Zebra ospf6d. erblichs> > Unfortunately I removed the dampening code since then, erblichs> > because there seemed no interest. erblichs> > erblichs> > Let me know if you want further info. erblichs> > erblichs> > regards, erblichs> > yasu erblichs> > erblichs> > From: Kouzengjie <kouzengjie@HUAWEI.COM> erblichs> > Subject: About OSPF route flapping erblichs> > Date: Thu, 24 Nov 2005 15:02:18 +0800 erblichs> > erblichs> > > hi,all erblichs> > > How does OSPF route flapping affect? erblichs> > > Is it important? erblichs> > > what is the method for solving it? erblichs> > > erblichs> > > thanks, erblichs> > > Kou erblichs> > > erblichs>
- 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