On Mon, Nov 17, 2008 at 6:31 AM, Massimiliano De Ruosi
<max.deruosi@uniud.it> wrote:
> Hello,
>
> I''ve just set up xen (3.2.1 on Debian Lenny), enabled
network-bridge in
> xend-config.sxp and all seems to work properly: great! Then I''ve
tried a
> different setup: first I''ve created a bond device (working
properly), but
> then, installing xen, network stops working!
>
> I''ve tried then to change the xend-config.sxp with:
> (network-script ''network-bridge netdev=bond0'') ...nope
>
> Is there anyone able to get xen (>3.2.1) working with bonding? If so,
can
> you point me to the correct way?
> Maybe I''m searching in the wrong direction (i.e. there are better
ways to
> get ethernet redundancy/load-balancing)?
>
> Thanks,
> Max.
>
> ----------------------------------------------------------------------
> SEMEL (SErvizio di Messaging ELettronico) - CSIT -Universita'' di
Udine
>
>
I''m not sure how xend acts on Lenny but on CentOS when it comes up it
renames eth0 to peth0 and then creates a bridge called eth0 and adds peth0
to it. If this is happening on Lenny and your bond is made up of eth0 and
eth1 then you can see the problem. Xend is taking away one of your physical
ethernet devices and changing it''s name. If the bonding driver is
loaded you
should be able to check the status of the bond in /proc. On CenOS we do this
like this.
[ root@vs / ] cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.2.4 (January 28, 2008)
Bonding Mode: load balancing (round-robin)
MII Status: down
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0
I''m not sure of the solution for Lenny but for CentOS you need to
rename
your ethernet devices so xend doesn''t rename the real physical ethernet
device. Here''s how on CentOS. Use this as a guide to figure out how to
do it
on Debian. It may be completely different but at least you understant the
possible problem.
http://labs.boulevart.be/index.php/2008/09/08/64-bit-xen-330-on-centos-52-with-network-bonding-8023ad/
Grant McWilliams
Some people, when confronted with a problem, think "I know, I''ll
use
Windows."
Now they have two problems.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users