CARON DOminique
2006-Oct-06 15:28 UTC
[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@lists.xensource.com http://lists.xensource.com/xen-users
Nicholas Lee
2006-Oct-06 20:08 UTC
Re: [Xen-users] May be a Bug in network-brigde script (Xen V 3.0.2.2-86)
You are probably using an old version of network-bridge. http://lxr.xensource.com/lxr/source/tools/examples/network-bridge#L62 62 <http://lxr.xensource.com/lxr/source/tools/examples/network-bridge#L62> vifnum=${vifnum:-$(ip route list | awk ''/^default / { print $NF }'' | sed ''s/^[^0-9]*//'')} 63 <http://lxr.xensource.com/lxr/source/tools/examples/network-bridge#L63> vifnum=${vifnum:-0} 64 <http://lxr.xensource.com/lxr/source/tools/examples/network-bridge#L64> bridge=${bridge:-xenbr${vifnum}} 65 <http://lxr.xensource.com/lxr/source/tools/examples/network-bridge#L65> netdev=${netdev:-eth${vifnum}} <http://lxr.xensource.com/lxr/source/tools/examples/network-bridge#L66> On 10/7/06, CARON DOminique <xen.20.dcaron@spamgourmet.com> 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@lists.xensource.com http://lists.xensource.com/xen-users
CARON DOminique
2006-Oct-09 18:38 UTC
Re: [Xen-users] May be a Bug in network-brigde script (Xen V 3.0.2.2-86)
Nicholas Lee said:> You are probably using an old version of network-bridge. > > http://lxr.xensource.com/lxr/source/tools/examples/network-bridge#L62Yes , more than probable but this is the release furnished by : http://bits.xensource.com/Xen/latest/xen-3.0-x86_32-rhel4.1.src.tar Thank''s for your answer. ---------------------------------------------------------------- Ce message vous a été transmis grâce à IMP, le WebMail libre de HORDE (www.horde.org). _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users