redhat-list-trying_to_use_multiple_nic_cards

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



To: redhat-list@listman.redhat.com
From: "santosh kumar" <santoshk@athenasemi.com>
Subject: how to use multiple NIC cards
Date: Wed, 19 Feb 2003 11:15:27 +0530


Hi folks,
 
I have small doubt about using multiple NIC cards with linux redhat 7.2.
I have server with 3 NIC cards and want to configure all NIC cards for
same LAN.
for example NIC 1 --> 192.168.3.16
                    NIC 2 --> 192.168.3.17
                    NIC 3 --> 192.168.3.18
hostname ---> zeus
In DNS entry, m/c is registered with 192.168.3.16.
If  i assign the IP address in above mentioned manner will it increase
performance? and what shall i need to do to resolve all IP addresses
with same hostname?
Suggestions will be appreciable.... 
 
 
===

To: redhat-list@listman.redhat.com
From: "nate" <redhat@aphroland.org>
Subject: Re: how to use multiple NIC cards
Date: Tue, 18 Feb 2003 22:31:00 -0800 (PST)

santosh kumar said:

> If  i assign the IP address in above mentioned manner will it increase
> performance? and what shall i need to do to resolve all IP addresses with
> same hostname?

no, the other 2 NICs will likely just be ignored. feel free to try it,
but the main NIC will be receiving all traffic. This is the "expected"
behavior. I don't remember the specifics but read some technical
explanation on it about a year ago.

It is possible to bond multiple NICs together to increase bandwidth
but the driver must support this (not sure which drivers do under linux),
or you could just go get a NIC that supports it out of the box. I have
used Znyx (or is it Zynx I can never remember) 4-port NICs (~$700/ea) which
have some software called RAINLink which supports automatic failover,
link aggregation etc. Full GPL drivers for linux I believe though I've
only used them in freebsd. They have a full range of single/dual/quad
port ethernet cards. I've never used RAINLink so I have no idea
how well it works. I only got the cards so I could have 8 network
interfaces in a single machine(occupying 2 PCI slots).

but just putting in 3 nics and giving them different IPs on the
same network "by itself" will not do anything(and yes I have tried
this!).

also your hub or switch on the other side likely has to be aware
of this configuration. Most good switches can be configured for
this, I probably wouldn't try it on a "dumb"(unmanaged) switch
like a netgear or something. I think my summit 48 can do it..
mmm..extreme networks*drool*.

looking at the kernel help for the bonding driver it claims any
ethernet device will work..last time I looked at bonding it was
under the 2.2.19 kernel and the docs only mentioned 1 or 2 drivers
that worked. see Documentation/networking/bonding.txt in the
kernel source for more info. The config option is CONFIG_BONDING.

===

To: redhat-list@listman.redhat.com
From: "Ramesh .T.S" <rameshts@rediff.co.in>
Subject: Re: how to use multiple NIC cards
Date: Wed, 19 Feb 2003 12:56:12 +0530

If it is a nic from intel bind the nic to gether as one and
use trunk ports in the switch.

===

To: redhat-list@listman.redhat.com
From: Emmanuel Seyman <seyman@acticiel.com>
Subject: Re: how to use multiple NIC cards
Date: Wed, 19 Feb 2003 09:54:27 +0100

On Wed, Feb 19, 2003 at 11:15:27AM +0530, santosh kumar wrote:
>  
> I have small doubt about using multiple NIC cards with linux redhat 7.2.
> I have server with 3 NIC cards and want to configure all NIC cards for
> same LAN.

Giving each card an address won't work since only one of them will
be the gateway to the LAN. You'll need to bond the three cards together
and give the resulting bond a single address on the network. 

Read /usr/src/linux-2.4/Documentation/networking/bonding.txt .
It's actually pretty simple and so work regardless on the brand of
the network cards.

Emmanuel

===

To: redhat-list@listman.redhat.com
From: "santosh kumar" <santoshk@athenasemi.com>
Subject: RE: how to use multiple NIC cards
Date: Wed, 19 Feb 2003 18:19:07 +0530

Hi,

The file you mentioned bonding.txt is not there in
/usr/src/linux/Documentation/networking/
If you send me the same file it would be very helpful or else is it
possible to send all steps to follow for bonding..
Thanks in advance...

Thanks & Regds,
santosh

-----Original Message-----
From: redhat-list-admin@redhat.com [mailto:redhat-list-admin@redhat.com]
On Behalf Of Ramesh .T.S
Sent: Wednesday, February 19, 2003 12:56 PM
To: redhat-list@redhat.com
Subject: Re: how to use multiple NIC cards


If it is a nic from intel bind the nic to gether as one and use trunk
ports in the switch.
===

To: redhat-list@listman.redhat.com
From: "santosh kumar" <santoshk@athenasemi.com>
Subject: RE: how to use multiple NIC cards
Date: Wed, 19 Feb 2003 18:19:07 +0530

Hi,

The file you mentioned bonding.txt is not there in
/usr/src/linux/Documentation/networking/
If you send me the same file it would be very helpful or else is it
possible to send all steps to follow for bonding..
Thanks in advance...

===

To: redhat-list@listman.redhat.com
From: stargate72 <stargate72@tiscali.it>
Subject: Re: how to use multiple NIC cards
Date: Wed, 19 Feb 2003 14:09:31 +0100

Alle 13:49, mercoled

the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu