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

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

To: xen users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] network-bridge script and the ip route list command
From: pete hilton <saruman@xxxxxxxxxxxxxxxxx>
Date: Wed, 27 Dec 2006 23:54:47 -0800
Delivery-date: Wed, 27 Dec 2006 23:54:45 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.4
Hi there,
               I have got xen 3.0.3 (built from source download from 
xensource) running on my linux box (Slackware 11 distribution).

When the network-bridge script runs, it first of all issues "ip route list" 
and then parses the "default" line to pick up the last word.

The ip command in my distribution gives the following:-

default via 192.168.1.1 dev eth0  metric 1 

which naturally results in a vifnum of 1 instead of 0.

Is this a bug in the script or is my "ip" command different from the norm?

cheers
pete

ps The man page contains:-
        ip was written by Alexey N. Kuznetsov and added in Linux 2.2.

-- 
pete hilton
saruman@xxxxxxxxxxxxxxxxx
  
IsaBella --- ICE Explorer #1070


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