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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] May be a Bug in network-brigde script (Xen V 3.0.2.2-86)
From: CARON DOminique <xen.20.dcaron@xxxxxxxxxxxxxxx>
Date: Fri, 6 Oct 2006 17:28:41 +0200
Delivery-date: Fri, 06 Oct 2006 08:29:40 -0700
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>
Reply-to: CARON.Dominique@xxxxxxxxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Internet Messaging Program (IMP) H3 (4.1.3)

Hi all,
First, sorry for my poor frenglish ....
I think I've found a bug in the network-brigde script.
I'm trying to make working my Xen server (SL 4.3) with 2 Ethernet cards. Each card is connected to a different network ( A and B) . There is 2 DomU one must be connected on the A network,
the other to the B network....
As read in a lot of Xen forums (and on the Wiki also) I've made my network-script like
this:

[root@Xen-1 domi]# cat /etc/xen/scripts/my-network-script
#!/bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" "$@" vifnum=0
"$dir/network-bridge" "$@" vifnum=1

and my /etc/xen/xend-config.sxp modify like this

#(network-script network-bridge)
(network-script my-network-script)

But, on my Dell PowerEdge 1850, each time xend start, my network crash...

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...

May this help some of you ...
Bye



----------------------------------------------------------------
Ce message vous a été transmis grâce à IMP, le WebMail libre de HORDE
(www.horde.org).


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

<Prev in Thread] Current Thread [Next in Thread>