Re: About OSPF route flapping

Erblichs <erblichs@EARTHLINK.NET> Thu, 05 January 2006 08:45 UTC

Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1EuQki-0006vX-Lw for ospf-archive@megatron.ietf.org; Thu, 05 Jan 2006 03:45:44 -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 DAA12689 for <ospf-archive@LISTS.IETF.ORG>; Thu, 5 Jan 2006 03:44:28 -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 <6.00008A65@wildebeest.ease.lsoft.com>; Thu, 5 Jan 2006 3:45:13 -0500
Received: by PEACH.EASE.LSOFT.COM (LISTSERV-TCP/IP release 14.4) with spool id 95517402 for OSPF@PEACH.EASE.LSOFT.COM; Thu, 5 Jan 2006 03:45:13 -0500
Received: from 207.69.195.72 by WALNUT.EASE.LSOFT.COM (SMTPL release 1.0m) with TCP; Thu, 5 Jan 2006 03:45:13 -0500
Received: from h-68-164-85-155.snvacaid.dynamic.covad.net ([68.164.85.155] helo=earthlink.net) by pop-sarus.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1EuQkC-0004uq-00 for OSPF@PEACH.EASE.LSOFT.COM; Thu, 05 Jan 2006 03:45:12 -0500
X-Sender: "Erblichs" <@smtp.earthlink.net> (Unverified)
X-Mailer: Mozilla 4.72 [en]C-gatewaynet (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
References: <006b01c5f0c5$02ab2000$72646e0a@china.huawei.com> <20051124.162840.128462062.yasu@sfc.wide.ad.jp> <43A88D9D.94F7E644@earthlink.net> <20051224.162014.07263228.yasu@sfc.wide.ad.jp> <43BC7CA8.45C24AB5@earthlink.net> <6.2.1.2.0.20060104205744.02f89f90@mail.stevecrocker.com>
Content-Type: text/plain; charset="iso-8859-2"
Content-Transfer-Encoding: 7bit
Message-ID: <43BCE01B.1FA33306@earthlink.net>
Date: Thu, 05 Jan 2006 01:00:11 -0800
Reply-To: Mailing List <OSPF@PEACH.EASE.LSOFT.COM>
Sender: Mailing List <OSPF@PEACH.EASE.LSOFT.COM>
From: Erblichs <erblichs@EARTHLINK.NET>
Subject: Re: About OSPF route flapping
To: OSPF@PEACH.EASE.LSOFT.COM
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

Joel Halpern, et al,

	First, my suggestion, past experimental implimentations
	are local to the link. Link costs are two directional
	determined by the two routers on both sides of the link.
	Since link costs are additive (directional per hop)
	only those routes that potentially pass thru those links 
	will incure those costs.

	Secondary issues is the freq of changing costs that will
	generate new SPF calcs. The below suggested link cost scenario
	SHOULD minimze repeated SPF calcs.

	Second, I know of no other ideas that in the next below
	example will not decrease the up time of the link if
	link cost is not adjusted other than to do NOTHING.

	Ex: Router A's link w.x.y.z comes up and stays up for
	about 4 minutes at a time. After that 4 minute time
	period, the link goes down for 1 minute. Their are
	routes that are only accessible via this router's
	interface. It then repeats with another 4 min up time.

	Now in this example we will know that the link is
	down after the dead router timer expires (30 secs)
	for simplicity. And immediately after the link comes
	up it will send a hello without any neighbors listed.

	So, it is down for 30 secs at the end of our up time
	before we are sure that it is down.

	We could also use router LSAs used by the originator
	after the fact on the flapping interface when it is
	back up. Or...

	What do we do?

	0) Do nothing..

	A) If we follow the BGP like implimentation and allow
	   the non origination router or the origination router
	   to delay link up status notification each time, then
	   the routes that are accessible only via this "unstable"
	   link will have less up time when it is available.
	   It is that simple. Any threshold will increase the
	   link's unavailability when too agressive and will lead
	   to repeated SPF calcs when not agressive enough.Any
	   method of route-WITH-HOLDING MUST be used by all
	   routers unless it was done at the originator.

	B) IT IS Preferable having the originator increase the cost 
	   of the link to allow routes that can transit other paths, 
	   take those other routes and those that can't be forced 
	   to rexmit or be dropped when the link is down.

	   This allows that during that 30 sec period that we aren't
	   sure that the router's link is down to use alternative routes
	   when available.

	   This also allow those routes that are only accessible
	   thru this link to have 4 minutes of up connectivity
	   every 5 minute period.

	   Since the originating router can't update the link
	   cost on this link when it is down, it is prefered that
	   some history is kept and that the next time the link
	   comes up a cost increase is implimented. My assumption
	   is that a multicative increase is best while we are
	   in periods of "instability" and slowly decrease it
	   as we become more stable over time.

	   1. if the other side of the link is aware of the
	      unstability, it can boost its link cost to allow
	      other route paths to be used for some pkts 
	      and not pushed into the router's link for the 
	      30secs that it takes to determine that the link is 
	      down.

	  2) This (boost link cost) can also be done on the router's 
	     other interfaces at the time the interface is determined
	     down. We can do this because a percentage of pkt will
	     enter one interface and be directed out towards the
	     dead interface.

	  Since only the orignator's link and the nbr's link
	  make the link cost change, this change SHOULD be completely
	  transparent and only infrequent additional LSAs are
	  re-originated with different link costs.

	  
	Mitchell Erblich
	-----------------
	

	

"Joel M. Halpern" wrote:
> 
> Actually,
> a) this is local policy and does not need standardization
> b) this is not obviously the "right" thing to do.  If the link is really
> flapping badly, the local node might well decide to advertise it as down,
> on the grounds that pretending it is useful is actually misleading.  I
> could imagine an implementation offering all sorts of knobs, if people
> really want them (I hope not.)
> 
> Given that all of the routers within a domain are presumed to have the same
> policy, it seems quite sensible to declare that the router local to the
> problem is responsible for dealing with it.
> There is the argument that some mechanism would allow remote routers to
> cope with dumber local routers.  That is a complication too be avoided, as
> there are many ways for a local router to misbehave.  Second guessing
> another router in the same domain is just asking for trouble.
> 
> (The MANET situations i probably even more complicated, but remote flap
> damping does not strike me as the right answer then either.)
> 
> Yours,
> Joel M. Halpern
> 
> At 08:55 PM 1/4/2006, Erblichs wrote:
> >         If at the origination a "link" is decidely unstable, is
> >         their any disagreement that when the link comes up, the
> >         originator SHOULD advertise the link with an additionaly
> >         unstable penalty cost? It keeps the link available for
> >         no alternative routes versus doing nothing..