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

[Xen-users] May be a Bug in network-brigde script (Xen V 3.0.2.2-86)




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


 


Rackspace

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