Routing preferences question

Timothy R. McKee tim at baseworx.net
Thu Jan 30 13:59:39 UTC 2003


You have to change the admin distances.  Unfortunately for you, I don't
think there is a way to change the admin distance for a connected interface
which has a default of zero.  Anyone know of a selective way to do that?

OSPF is 110 by default, statics are 1 by default, but you can set their
distance on a per route basis, 'ip route x.x.x.x y.y.y.y v.v.v.v distance'.

What exactly are you trying to do?  There may be other mechanisms to
accomplish what you want.

Tim McKee

-----Original Message-----
From: owner-nanog at merit.edu [mailto:owner-nanog at merit.edu]On Behalf Of
william at elan.net
Sent: Thursday, January 30, 2003 2:38
To: nanog at merit.edu
Subject: Routing preferences question



   Hi,

Does anybody know how/if I can force cisco router to consider ospf route
(I'll consider other igp protocol if its possible) from particular source
to be prefereble over connected and locally-entered static routes. This is
needed for failover project I'm doing. Please note that especially big
question is with "connected" route through subinterface, which I can't
find any way to override with igp, for static I could at least make them
learned igp routes.

I'd apprecitate to know how somebody has done something this or at least
find for sure that its impossible. If it matters, I'm trying to do it
on 7500 running 12.0 ios and interfaces are ethernet isl vlans.

---
William Leibzon
Elan Communications
william at elan.net




More information about the NANOG mailing list