Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jun 2005 23:39:57 +0200
From:      Hanspeter Roth <hampi@rootshell.be>
To:        freebsd-net@freebsd.org
Subject:   Re: route metric
Message-ID:  <20050603213957.GA1821@gicco.homeip.net>
In-Reply-To: <20050603202109.GA22098@gargantuan.com>
References:  <20050603181636.GA54906@gicco.homeip.net> <20050603191351.GA54164@ip.net.ua> <20050603202109.GA22098@gargantuan.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  On Jun 03 at 16:21, Michael W. Oliver spoke:

> On 2005-06-03T22:13:51+0300, Ruslan Ermilov wrote:
> > On Fri, Jun 03, 2005 at 08:16:36PM +0200, Hanspeter Roth wrote:
> >> Hello,
> 
> >> I thought it is possible to have routes to the same destination but
> >> with a different metric. But I can't find how to set the metric in
> >> the route manpage.
> >> How is a metric for a route set?
> 
> > We don't support that at the moment.
> 
> yeah, ru is right, unfortunately.  may i ask what you are trying to
> accomplish?  if you have a dynamic routing protocol that you can tap
> into, zebra can manage same-prefix routes of multiple administrative
> distances (not same as metric) and keep the best route in the RIB for
> you at all times.

I'm still not acquainted with zebra.
I have a host that is connected via LAN and ISDN to the internet.
I want to route everything via LAN as long as the connection works
and have ISDN for a backup path.
So I thought to set two default routes with different metrics.

-Hanspeter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050603213957.GA1821>