Subject: Re: route metric
To: None <tech-net@netbsd.org>
From: Miles Nordin <carton@Ivy.NET>
List: tech-net
Date: 06/08/2005 18:47:51
--pgp-sign-Multipart_Wed_Jun__8_18:47:41_2005-1
Content-Type: text/plain; charset=US-ASCII

>>>>> "hr" == Hanspeter Roth <hampi@rootshell.be> writes:

    hr> I was expecting that it is possible to have multiple routes to
    hr> the same destination as long as the hopcounts (metric) are
    hr> different.

when using net/quagga it is possible to have two default routes with
different metrics.  Traffic will follow only one of them.  The way
it's implemented is, quagga keeps a copy of the routing table in
user-space.  The route with the lowest metric, and only that route, is
installed by quagga into the kernel.  Only the lowest-metric route is
visible in 'netstat -r', while the routes with higher metrics are
visible only within quagga's user interface.  so, I don't know what
would be the meaning of a metric field on a route passed to route(8)
or into an rtsock.

--pgp-sign-Multipart_Wed_Jun__8_18:47:41_2005-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQCVAwUAQqd1l4nCBbTaW/4dAQLY5gP7BoHY15zJCCRbLgqL7eKhHogSh8QqYi6V
/QDVooEEqBRfQJXuxmi2x/SqtWbW+/UsfPOUK2lWmocAaC5EVnb6Z2SjRqMDQujn
LGKqfJWSfB/eV4DxHiPVcaMjVCL+cU81w0fiDI7bzDv8M/wa+JotgaCHbzSK5xzg
WuLjdAETRX4=
=uahV
-----END PGP SIGNATURE-----

--pgp-sign-Multipart_Wed_Jun__8_18:47:41_2005-1--