WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] network-bridge script and the ip route list command

To: xen users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] network-bridge script and the ip route list command
From: "Christopher G. Stach II" <cgs@xxxxxxxxx>
Date: Fri, 29 Dec 2006 21:44:14 -0200
Delivery-date: Fri, 29 Dec 2006 15:44:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <6d06ce20612291250t5a03ffaela244c0918d3eb0f4@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <200612272354.47923.saruman@xxxxxxxxxxxxxxxxx> <6d06ce20612291142t7657d6b0sdcfa0b36154fe867@xxxxxxxxxxxxxx> <459571E6.4030702@xxxxxxxxx> <6d06ce20612291250t5a03ffaela244c0918d3eb0f4@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (X11/20061219)
Jerry Amundson wrote:
> On 12/29/06, Christopher G. Stach II <cgs@xxxxxxxxx> wrote:
>> If you have two default routes with one over a higher cost path, why
>> wouldn't you want a higher metric?
> 
> Because the metric is defined as a measurement of hops, not cost.
> Metric The "distance" to the target (usually counted in  hops).  It  is
>              not  used  by  recent kernels, but may be needed by routing
> dae-
>              mons.
> By definition then, a metric on a default route (or routes) is not
> definable - there is no concrete target, only "all other targets".
> 
> That said, however, advanced routing techniques (rules, tables, etc.)
> could be in place which would give additional output from "ip route
> list" after the device. Hence the suggestion to file a bug anyway.

Hop count is a path cost.

You can certainly have more than one default route.  If you have one
with a higher cost, it won't be used if the lower cost route is available.

Why would metrics not be used for routing in the kernel?  That would
more or less castrate Linux as a an IP router.  What changeset did this
happen in?

-- 
Christopher G. Stach II


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users