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] NIC bonding

To: tim.post@xxxxxxxxxxxxxxx
Subject: Re: [Xen-users] NIC bonding
From: "Ulrich Windl" <ulrich.windl@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 30 Jan 2007 08:03:21 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 29 Jan 2007 23:03:55 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1170083516.10155.43.camel@xxxxxxxxxxxxxxxxxxxxx>
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>
Organization: Universitaet Regensburg, Klinikum
Priority: normal
References: <45BDFA7D.11336.F144CA2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 29 Jan 2007 at 23:11, Tim Post wrote:

> On Mon, 2007-01-29 at 13:45 +0100, Ulrich Windl wrote:
> > On 27 Jan 2007 at 17:06, Dick Kniep wrote:
> > 
> > > Hi list,
> > > 
> > > We have some IBM xSeries with 2 NIC's. To make sure we have hardware 
> > > failover 
> > > and extra communication capacity, we want to bond the NIC's. So we did 
> > > the 
> > > following:
> > 
> > In paravirtualization you lack functionality of ethtool (at least most of). 
> > Thus 
> > you are restricted to bonding modes that don't need ethtool capabilities. 
> > See the 
> > bonding docs.
> > 
> 
> Do you happen to have a link to those? I have been digging on the Xen
> wiki but haven't seen much, and didn't see mention of it in the 3.0.3
> docs. 

It's Linux, not XEN: Look for "bonding.txt" in either the Linux sources, or in 
the 
Internet via Google or so.

> 
> If I'm simply snowblind after looking for it and missing the obvious so
> many times, please be kind enough to nudge me in the right direction :)
> 
> Thanks,
> --Tim
> 
> > Regards,
> > Ulrich
> > 
> > 
> > > 
> > > Added in /rws/etc/sysconfig/network-scripts/ifcfg-bond0
> > > 
> > > containing:
> > > -----snip------
> > > DEVICE=bond0
> > > BOOTPROTO=none
> > > ONBOOT=yes
> > > TYPE=Ethernet
> > > NETMASK=255.255.255.0
> > > IPADDR=192.168.200.31
> > > GATEWAY=192.168.200.1
> > > USERCTL=no
> > > PEERDNS=no
> > > check_link_down() { return 1 ; }~
> > > -----snip------
> > > 
> > > We modified ifcfg-eth0 and ifcfg-eth1 to
> > > 
> > > -----snip------
> > > DEVICE=eth0
> > > BOOTPROTO=none
> > > HWADDR=00:0d:60:eb:84:1a
> > > ONBOOT=yes
> > > TYPE=Ethernet
> > > NETMASK=255.255.255.0
> > > IPADDR=192.168.200.53
> > > GATEWAY=192.168.200.1
> > > PEERDNS=yes
> > > ### Bonding of Nics
> > > MASTER=bond0
> > > SLAVE=yes
> > > USERCTL=no
> > > check_link_down() { return 1 ; }
> > > -----snip------
> > > 
> > > Next we loaded bonding by 
> > > 
> > > modprobe bond0.
> > > 
> > > The the following messages appear:
> > > Jan 27 10:51:46 CVix02 kernel: Ethernet Channel Bonding Driver: v3.0.1 
> > > (January 9, 2006)
> > > Jan 27 10:51:46 CVix02 kernel: bonding: In ALB mode you might experience 
> > > client disconnections upon reconnection of a link if the bonding module 
> > > updelay parameter (0 msec) is incompatible with the forwarding delay time 
> > > of 
> > > the switch
> > > Jan 27 10:51:46 CVix02 kernel: bonding: MII link monitoring set to 1000 ms
> > > Jan 27 10:51:57 CVix02 kernel: bonding: bond0: Error: dev_set_mac_address 
> > > of 
> > > dev eth0 failed! ALB mode requires that the base driver support setting 
> > > the 
> > > hw address also when the network device's interface is open
> > > Jan 27 10:51:57 CVix02 kernel: bonding: bond0: Error: dev_set_mac_address 
> > > of 
> > > dev eth0 failed! ALB mode requires that the base driver support setting 
> > > the 
> > > hw address also when the network device's interface is open
> > > Jan 27 10:51:57 CVix02 kernel: bonding: bond0: Error: dev_set_mac_address 
> > > of 
> > > dev eth1 failed! ALB mode requires that the base driver support setting 
> > > the 
> > > hw address also when the network device's interface is open
> > > Jan 27 10:51:57 CVix02 kernel: bonding: bond0: Error: dev_set_mac_address 
> > > of 
> > > dev eth1 failed! ALB mode requires that the base driver support setting 
> > > the 
> > > hw address also when the network device's interface is open
> > > Jan 27 10:56:01 CVix02 net.agent[19216]: remove event not handled
> > > Jan 27 10:56:01 CVix02 net.agent[19235]: remove event not handled
> > > 
> > > Obviously there is an error in the setting of the mac_address when the 
> > > interface is open. This is supposed to be a kernel configuration. I hope 
> > > there is no need to rebuild the kernel for this?
> > > 
> > > If anyone has seen this error before and knows a cure I would be a very 
> > > happy 
> > > man......
> > > 
> > > D.Kniep
> > > 
> > > _______________________________________________
> > > 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
> 
> 
> _______________________________________________
> 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

<Prev in Thread] Current Thread [Next in Thread>