[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: "xen users" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Jerry Amundson" <jamundso@xxxxxxxxx>
  • Date: Fri, 29 Dec 2006 13:42:15 -0600
  • Delivery-date: Fri, 29 Dec 2006 11:42:03 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gfjsjE22yKtp8AtN5GqBSLz+/yAZ1E++hgyVxQWcWkDVN3cpSAk2fOViz5dY7cguIvpodnFzwhz1bkygGr3CTQmd0+VqtCP73WgJxOcP7eq3NArxb24WpPWCFFNa6JgEfDBk4AgCGTGaXetuQM4ZPF5tgiJ3ufLLXKFmToiLfao=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On 12/28/06, pete hilton <saruman@xxxxxxxxxxxxxxxxx> wrote:
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?

Your "ip" command is different, at least from my Redhat and Fedora distros...
default via 192.168.1.1 dev eth0

Though I would think no distro should implement a metric on a default
route, you could file a xen bug on the script to use the word after
"dev", not the last one...

jerry

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.