hi list, I got a problem with this stuff for a long time, and the problema come when we update our servers to the version Squeeze, on Lenny it works perfectly. On squeeze machines the bonding works ok until i install the xen system. I saw many tutorials on internet and i dont know what to do more. Anyone could explain what its the normal process to get work this feature? or tell me where i can read something ? i am very frustrated. Thanks -- Fran Rodríguez escala NetLabel http://escalared.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello, You can try something like : auto bond0 iface bond0 inet manual slaves eth0 eth2 bond-mode active-backup bond-miimon 100 bond-downdelay 200 bond-updelay 200 auto br0 iface br0 inet static address 192.168.0.1 netmask 255.255.255.0 network 192.168.0.0 gateway 192.168.0.254 bridge_ports bond0 pre-up /sbin/ifup bond0 post-down /sbin/ifdown bond0 And you comment out the network-script in your xen config file. Regards Olivier 2011/11/28 Fran Rodríguez <fran.clasico@gmail.com>> hi list, > > I got a problem with this stuff for a long time, and the problema come > when we update our servers to the version Squeeze, on Lenny it works > perfectly. On squeeze machines the bonding works ok until i install the xen > system. I saw many tutorials on internet and i dont know what to do more. > Anyone could explain what its the normal process to get work this feature? > or tell me where i can read something ? i am very frustrated. > > Thanks > -- > Fran Rodríguez > escala NetLabel > http://escalared.com > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi! This is a working configuration on Squeeze: [/etc/network/interfaces] auto eth1 iface eth1 inet manual auto eth2 iface eth2 inet manual auto bond0 iface bond0 inet manual slaves eth1 eth2 bond-mode 4 bond-miimon 100 bond-lacp_rate 1 bond-downdelay 200 bond-updelay 200 auto br0 iface br0 inet static bridge_ports bond0 address 172.16.1.140 netmask 255.255.255.0 gateway 172.16.1.52 bridge_stp on bridge_fd 0 [domU vif config] vif = [ ''bridge=br0,ip=172.16.1.141,mac=00:16:3E:75:05:90'' ] [brctl show] bridge name bridge id STP enabled interfaces br0 8000.001b219c5eae yes bond0 vif18.0 2011/11/28 Fran Rodríguez <fran.clasico@gmail.com>> hi list, > > I got a problem with this stuff for a long time, and the problema come > when we update our servers to the version Squeeze, on Lenny it works > perfectly. On squeeze machines the bonding works ok until i install the xen > system. I saw many tutorials on internet and i dont know what to do more. > Anyone could explain what its the normal process to get work this feature? > or tell me where i can read something ? i am very frustrated. > > Thanks > -- > Fran Rodríguez > escala NetLabel > http://escalared.com > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Üdvözlettel: Szalai Balázs EconSys Számviteli és Informatikai Kft. Székhely: Budapest, Alsóerdősor utca 5. Tel: +36 20 229-6669 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thank you Szalai and Olivier for the answers, i try thats configurations but it doesnt work for me... Ive been using xen system from repositories, my bonding.conf on /etc/modprobe.d/ is alias bond0 bonding options mode=1 ... And my interface file is like you told me. Well, when i restarted the machines, i got this for the screen : "Cannot find device br0 /etc/xen/scripts/network-bridge line240 sigerr: command not found" The commando on that line is ip... ?¿ and it exits. This is the lines, it seems something is missing... Any idea?¿ ip link set ${netdev} name ${pdev} ip link set ${tdev} name ${bridge} Thank you guys On Mon, Nov 28, 2011 at 4:48 PM, Szalai Balázs <szalaib@econsys.hu> wrote:> Hi! > > This is a working configuration on Squeeze: > > [/etc/network/interfaces] > auto eth1 > iface eth1 inet manual > > auto eth2 > iface eth2 inet manual > > auto bond0 > iface bond0 inet manual > slaves eth1 eth2 > bond-mode 4 > bond-miimon 100 > bond-lacp_rate 1 > bond-downdelay 200 > bond-updelay 200 > > auto br0 > iface br0 inet static > bridge_ports bond0 > address 172.16.1.140 > netmask 255.255.255.0 > gateway 172.16.1.52 > bridge_stp on > bridge_fd 0 > > [domU vif config] > vif = [ ''bridge=br0,ip=172.16.1.141,mac=00:16:3E:75:05:90'' ] > > [brctl show] > bridge name bridge id STP enabled interfaces > br0 8000.001b219c5eae yes bond0 > vif18.0 > > 2011/11/28 Fran Rodríguez <fran.clasico@gmail.com> > >> hi list, >> >> I got a problem with this stuff for a long time, and the problema come >> when we update our servers to the version Squeeze, on Lenny it works >> perfectly. On squeeze machines the bonding works ok until i install the xen >> system. I saw many tutorials on internet and i dont know what to do more. >> Anyone could explain what its the normal process to get work this feature? >> or tell me where i can read something ? i am very frustrated. >> >> Thanks >> -- >> Fran Rodríguez >> escala NetLabel >> http://escalared.com >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > > > -- > > Üdvözlettel: Szalai Balázs > > EconSys Számviteli és Informatikai Kft. > Székhely: Budapest, Alsóerdősor utca 5. > Tel: +36 20 229-6669 > >-- Fran Rodríguez escala NetLabel http://escalared.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2011/11/28 Fran Rodríguez <fran.clasico@gmail.com>> Thank you Szalai and Olivier for the answers, i try thats configurations > but it doesnt work for me... Ive been using xen system from repositories, > my bonding.conf on /etc/modprobe.d/ is > > alias bond0 bonding > options mode=1 ... >My configuration is working in mode 4 (lacp 802.3ad) and I didn''t configured any files in /etc/modprobe.d/ All of the options (mode, rates, delays) are described in /etc/network/interfaces.>And my interface file is like you told me. Well, when i restarted the> machines, i got this for the screen : > "Cannot find device br0 > /etc/xen/scripts/network-bridge line240 sigerr: command not found" >What is the output of "brctl show" command? By the way I think you have some problem at the interface configuration and the xen''s network-bridge script halted.> > The commando on that line is ip... ?¿ and it exits. This is the lines, it > seems something is missing... Any idea?¿ > > ip link set ${netdev} name ${pdev} > ip link set ${tdev} name ${bridge} > > > Thank you guys > > On Mon, Nov 28, 2011 at 4:48 PM, Szalai Balázs <szalaib@econsys.hu> wrote: > >> Hi! >> >> This is a working configuration on Squeeze: >> >> [/etc/network/interfaces] >> auto eth1 >> iface eth1 inet manual >> >> auto eth2 >> iface eth2 inet manual >> >> auto bond0 >> iface bond0 inet manual >> slaves eth1 eth2 >> bond-mode 4 >> bond-miimon 100 >> bond-lacp_rate 1 >> bond-downdelay 200 >> bond-updelay 200 >> >> auto br0 >> iface br0 inet static >> bridge_ports bond0 >> address 172.16.1.140 >> netmask 255.255.255.0 >> gateway 172.16.1.52 >> bridge_stp on >> bridge_fd 0 >> >> [domU vif config] >> vif = [ ''bridge=br0,ip=172.16.1.141,mac=00:16:3E:75:05:90'' ] >> >> [brctl show] >> bridge name bridge id STP enabled interfaces >> br0 8000.001b219c5eae yes bond0 >> vif18.0 >> >> 2011/11/28 Fran Rodríguez <fran.clasico@gmail.com> >> >>> hi list, >>> >>> I got a problem with this stuff for a long time, and the problema come >>> when we update our servers to the version Squeeze, on Lenny it works >>> perfectly. On squeeze machines the bonding works ok until i install the xen >>> system. I saw many tutorials on internet and i dont know what to do more. >>> Anyone could explain what its the normal process to get work this feature? >>> or tell me where i can read something ? i am very frustrated. >>> >>> Thanks >>> -- >>> Fran Rodríguez >>> escala NetLabel >>> http://escalared.com >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >> >> >> >> -- >> >> Üdvözlettel: Szalai Balázs >> >> EconSys Számviteli és Informatikai Kft. >> Székhely: Budapest, Alsóerdősor utca 5. >> Tel: +36 20 229-6669 >> >> > > > -- > Fran Rodríguez > escala NetLabel > http://escalared.com > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Üdvözlettel: Szalai Balázs EconSys Számviteli és Informatikai Kft. Székhely: Budapest, Alsóerdősor utca 5. Tel: +36 20 229-6669 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2011/11/28 Olivier Hanesse <olivier.hanesse@gmail.com>> Just disable the network-bridge script in the xend-config file. > > +1In my /etc/xen/xend-config.sxp the "(network-script ''network-bridge'')" line commented out (using only the (vif-script vif-bridge) ) Regards> > Le 28/11/2011 18:08, Fran Rodríguez a écrit : > > Thank you Szalai and Olivier for the answers, i try thats configurations > but it doesnt work for me... Ive been using xen system from repositories, > my bonding.conf on /etc/modprobe.d/ is > > alias bond0 bonding > options mode=1 ... > > And my interface file is like you told me. Well, when i restarted the > machines, i got this for the screen : > "Cannot find device br0 > /etc/xen/scripts/network-bridge line240 sigerr: command not found" > > The commando on that line is ip... ?¿ and it exits. This is the lines, > it seems something is missing... Any idea?¿ > > ip link set ${netdev} name ${pdev} > ip link set ${tdev} name ${bridge} > > > Thank you guys > > On Mon, Nov 28, 2011 at 4:48 PM, Szalai Balázs <szalaib@econsys.hu> wrote: > >> Hi! >> >> This is a working configuration on Squeeze: >> >> [/etc/network/interfaces] >> auto eth1 >> iface eth1 inet manual >> >> auto eth2 >> iface eth2 inet manual >> >> auto bond0 >> iface bond0 inet manual >> slaves eth1 eth2 >> bond-mode 4 >> bond-miimon 100 >> bond-lacp_rate 1 >> bond-downdelay 200 >> bond-updelay 200 >> >> auto br0 >> iface br0 inet static >> bridge_ports bond0 >> address 172.16.1.140 >> netmask 255.255.255.0 >> gateway 172.16.1.52 >> bridge_stp on >> bridge_fd 0 >> >> [domU vif config] >> vif = [ ''bridge=br0,ip=172.16.1.141,mac=00:16:3E:75:05:90'' ] >> >> [brctl show] >> bridge name bridge id STP enabled interfaces >> br0 8000.001b219c5eae yes bond0 >> vif18.0 >> >> 2011/11/28 Fran Rodríguez <fran.clasico@gmail.com> >> >>> hi list, >>> >>> I got a problem with this stuff for a long time, and the problema come >>> when we update our servers to the version Squeeze, on Lenny it works >>> perfectly. On squeeze machines the bonding works ok until i install the xen >>> system. I saw many tutorials on internet and i dont know what to do more. >>> Anyone could explain what its the normal process to get work this feature? >>> or tell me where i can read something ? i am very frustrated. >>> >>> Thanks >>> -- >>> Fran Rodríguez >>> escala NetLabel >>> http://escalared.com >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >> >> >> >> -- >> >> Üdvözlettel: Szalai Balázs >> >> EconSys Számviteli és Informatikai Kft. >> Székhely: Budapest, Alsóerdősor utca 5. >> Tel: +36 20 229-6669 >> >> > > > -- > Fran Rodríguez > escala NetLabel > http://escalared.com > > > _______________________________________________ > Xen-users mailing listXen-users@lists.xensource.comhttp://lists.xensource.com/xen-users > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ok, now i didnt get the error, and it is everything working but why i have to do this, and the xen-create-imagen said that i use the scritp unless my vm doesnt have network connectivity. Thank a lot Olivier. On Mon, Nov 28, 2011 at 6:25 PM, Olivier Hanesse <olivier.hanesse@gmail.com>wrote:> Just disable the network-bridge script in the xend-config file. > > Regards > > Le 28/11/2011 18:08, Fran Rodríguez a écrit : > > Thank you Szalai and Olivier for the answers, i try thats configurations > but it doesnt work for me... Ive been using xen system from repositories, > my bonding.conf on /etc/modprobe.d/ is > > alias bond0 bonding > options mode=1 ... > > And my interface file is like you told me. Well, when i restarted the > machines, i got this for the screen : > "Cannot find device br0 > /etc/xen/scripts/network-bridge line240 sigerr: command not found" > > The commando on that line is ip... ?¿ and it exits. This is the lines, > it seems something is missing... Any idea?¿ > > ip link set ${netdev} name ${pdev} > ip link set ${tdev} name ${bridge} > > > Thank you guys > > On Mon, Nov 28, 2011 at 4:48 PM, Szalai Balázs <szalaib@econsys.hu> wrote: > >> Hi! >> >> This is a working configuration on Squeeze: >> >> [/etc/network/interfaces] >> auto eth1 >> iface eth1 inet manual >> >> auto eth2 >> iface eth2 inet manual >> >> auto bond0 >> iface bond0 inet manual >> slaves eth1 eth2 >> bond-mode 4 >> bond-miimon 100 >> bond-lacp_rate 1 >> bond-downdelay 200 >> bond-updelay 200 >> >> auto br0 >> iface br0 inet static >> bridge_ports bond0 >> address 172.16.1.140 >> netmask 255.255.255.0 >> gateway 172.16.1.52 >> bridge_stp on >> bridge_fd 0 >> >> [domU vif config] >> vif = [ ''bridge=br0,ip=172.16.1.141,mac=00:16:3E:75:05:90'' ] >> >> [brctl show] >> bridge name bridge id STP enabled interfaces >> br0 8000.001b219c5eae yes bond0 >> vif18.0 >> >> 2011/11/28 Fran Rodríguez <fran.clasico@gmail.com> >> >>> hi list, >>> >>> I got a problem with this stuff for a long time, and the problema come >>> when we update our servers to the version Squeeze, on Lenny it works >>> perfectly. On squeeze machines the bonding works ok until i install the xen >>> system. I saw many tutorials on internet and i dont know what to do more. >>> Anyone could explain what its the normal process to get work this feature? >>> or tell me where i can read something ? i am very frustrated. >>> >>> Thanks >>> -- >>> Fran Rodríguez >>> escala NetLabel >>> http://escalared.com >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >> >> >> >> -- >> >> Üdvözlettel: Szalai Balázs >> >> EconSys Számviteli és Informatikai Kft. >> Székhely: Budapest, Alsóerdősor utca 5. >> Tel: +36 20 229-6669 >> >> > > > -- > Fran Rodríguez > escala NetLabel > http://escalared.com > > > _______________________________________________ > Xen-users mailing listXen-users@lists.xensource.comhttp://lists.xensource.com/xen-users > > >-- Fran Rodríguez escala NetLabel http://escalared.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fran Rodríguez wrote:>... but why i have to do this, and the >xen-create-imagen said that i use the scritp >unless my vm doesnt have network connectivity.Because the Xen network scripts are excessively complex and with the way OS config facilities have improved, the old Xen scripts are now deprecated in favour of the OS facilities. You need to use one or the other - mixing them is a recipe for disaster, and there''s no advantage these days to using the Xen scripts. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books.