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] May be a Bug in network-brigde script (Xen V 3.0.2.2-86)

To: CARON.Dominique@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] May be a Bug in network-brigde script (Xen V 3.0.2.2-86)
From: "Nicholas Lee" <emptysands@xxxxxxxxx>
Date: Sat, 7 Oct 2006 09:08:02 +1300
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 06 Oct 2006 13:08:44 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=s1CD50TJlZXq/Kv84z1B8Bj3Y9lDBWEkwizJKSNHNHnZttEvuSo9Kw7JlKdnac8vp+2ua9utU9lmFmb35CpS6YRm1/D2el/R6qoVPR1enYa3vGjgSnGJEFG/P2QK8JAt7pkUpsV9Q90MUYABAnBkrGExEEI4Q9BGCFvVWvHG2iU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061006172841.sio4tvuggs4kcwws@xxxxxxxxxxxxxxxxxxxxxxx>
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: <20061006172841.sio4tvuggs4kcwws@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

You are probably using an old version of network-bridge.

http://lxr.xensource.com/lxr/source/tools/examples/network-bridge#L62

 62 vifnum=${vifnum:-$(ip route list | awk '/^default / { print $NF }' | sed 's/^[^0-9]*//')}
63 vifnum=${vifnum:-0}
64 bridge=${bridge:-xenbr${vifnum}}
65 netdev=${netdev:-eth${vifnum}}



On 10/7/06, CARON DOminique <xen.20.dcaron@xxxxxxxxxxxxxxx> wrote:
After investigation I found that the line :
netdev=${netdev:-$(ip route list default scope global| awk '{ print $NF }')}

in the /etc/xen/scripts/network-bridge script
is a bad idea .. so, after commented it ... all goes right...
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>