route metric

Hanspeter Roth hampi at rootshell.be
Fri Jun 3 14:40:06 PDT 2005


  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


More information about the freebsd-net mailing list