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

Re: [Xen-users] Using bonding-device bond0 for Xen

To: <andreas.bach.aaen@xxxxxxxxxxxx>,<xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Using bonding-device bond0 for Xen
From: "Richard Mayer" <Richard.Mayer@xxxxxxxxxx>
Date: Mon, 12 Sep 2005 11:24:20 +0200
Delivery-date: Mon, 12 Sep 2005 13:47:09 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
OK, Thank you very much for your help.

This option:

pre-up /usr/sbin/brctl setfd br-bond0 0

seems to have solved my problem.

I'm still getting this warning that Xen0 received a packet with its own
address as source:

satan:/opt/vmachines/vm1# ping satan-db
PING satan-db.dnbond0: received packet with  own address as source
address

but network connectivity of the XenU now seems to be ok!

I'll try if redundancy is also ok when I unplug one of the Ethernet
cables...

Thanks for your help!


On Torsdag 08 september 2005 18:52, Richard Mayer wrote:

>> Thank you very much for the information!
>> I managed to create a static bridge-device und disabled the
>> "network"-script. Now I can reach the Xen0 - Domain from the XenU -
>> Domain but not any further.


This might be an normal IP network problem. Do you have a default
gateway 
within the domU?


>> This is what I did to my /etc/network/interfaces:
>>
>> auto bond0
>> iface bond0 inet static
>>          address ipaddress
>>          gateway gatewayaddress
>>          network networkaddress
>>          netmask 255.255.255.0
>>      pre-up /sbin/ifconfig eth0 up
>>      pre-up /sbin/ifconfig eth1 up
>>      pre-up /sbin/ifconfig bond0 up
>>      pre-up /sbin/ifenslave bond0 eth0
>>      pre-up /sbin/ifenslave bond0 eth1
>>      pre-up /usr/sbin/brctl addbr br-bond0

pre-up /usr/sbin/brctl setfd br-bond0 0

might be a good idea to add as well.

>>      pre-up /usr/sbin/brctl addif br-bond0 bond0
>>
>> As I said, I can reach the Xen0-Domain now.
>> Could you maybe send your configuration file?


You won't gain anything with it, it's much more complex.


>> This bridge-stuff is pretty new to me...  :) 


It must be for new stuff for many - and difficult to understand as it's
light 
on documentation.

Regards
-- Andreas Bach Aaen System Developer, M. Sc. Ericsson Danmark A/S tel:
+45 89 38 51 00 Skanderborgvej 232 fax: +45 89 38 51 01 8260 Viby J
Denmark andreas.bach.aaen@xxxxxxxxxxxx
_______________________________________________ Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users 

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