LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Multiple NICS - Real Servers

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Multiple NICS - Real Servers
From: Michael E Brown <michael_e_brown@xxxxxxxx>
Date: Wed, 8 Aug 2001 14:11:50 -0500 (CDT)
On Wed, 8 Aug 2001 jsc3@xxxxxxxxxxxxx wrote:

> > Nael Mohammad wrote:
> > >
> > > That and the fact that each card requires it's own unique MAC address.
> >
> > for channel bonding both NICS on the host have the same IP and MAC address.
> > You need to split the cabling for the two lots of NICs, so you don't have
> > address collisions - you'll need two switches.
>
> You either need multiple switches, or switches that understand and
> are willing participants in the channel aggregation method being used.
> Cisco makes switches that do Fast EtherChannel, and Intel makes adapters
> that understand this protocol (but again, not currently using Linux).

Not true. You can download the iANS software from Intel. Not open source,
but that is different from "not available".

http://isearch.intel.com/scripts-search/search.asp?isoCode=en&q1=ians+linux&SearchCrit=ALL&category=ALL&mh=25&MimeType=ALL

Also, if you want channel bonding without intel proprietary drivers, see
/usr/src/linux/drivers/net/bonding.c:
/*
 * originally based on the dummy device.
 *
 * Copyright 1999, Thomas Davis, tadavis@xxxxxxxx
 * Licensed under the GPL. Based on dummy.c, and eql.c devices.
 *
 * bond.c: a bonding/etherchannel/sun trunking net driver
 *
 * This is useful to talk to a Cisco 5500, running Etherchannel, aka:
 *      Linux Channel Bonding
 *      Sun Trunking (Solaris)
 *
 * How it works:
 *    ifconfig bond0 ipaddress netmask up
 *      will setup a network device, with an ip address.  No mac address
 *      will be assigned at this time.  The hw mac address will come from
 *      the first slave bonded to the channel.  All slaves will then use
 *      this hw mac address.
 *
 *    ifconfig bond0 down
 *         will release all slaves, marking them as down.
 *
 *    ifenslave bond0 eth0
 *      will attache eth0 to bond0 as a slave.  eth0 hw mac address will
either
 *      a: be used as initial mac address
 *      b: if a hw mac address already is there, eth0's hw mac address
 *         will then  be set from bond0.
 *
 * v0.1 - first working version.
 * v0.2 - changed stats to be calculated by summing slaves stats.
 *
 */

Broadcom also has proprietary channel bonding drivers for linux, in case
you were wondering.

> Intel adapters also have their own channel aggregation scheme, and I
> think the Intel switches could also facilitate this scheme, but Intel
> is getting out of the switch business.  Unfortunately, none of the
> advanced Intel NIC features are available using Linux (it would be
> nice to have the hardware IPsec support on their newest adapters,
> for example).

<gratutitios plug>
Broadcom has an SSL offload card which is coming out and it has open
source drivers for linux. Look in the latest Red Hat rawhide kernel

ftp://ftp.redhat.com/pub/redhat/linux/rawhide/i386/RedHat/RPMS/

You need the openssl library and kernel.
</gratutious plug>

>
>



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