|
Home > Archive > alt.os.linux > July 2002 > 2 NICs, 2 switch ports, 1 IP addr = ?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
2 NICs, 2 switch ports, 1 IP addr = ?
|
|
| gaius.petronius 2002-07-30, 2:25 am |
| we have a machine directly connected to a switch and reasoned that
adding another NIC would increase the throughput. but both NICs
belong to the same IP addr. on the switch there are 2 physical ports,
each 100Mb, and they are grouped in a vlan which is represented by one
ip addr.
the algorithm of the switch is allegedly to *randomly* find the port
in the vlan.
which tool in Linux or UNIX would be most appropriate to use to
determine the speed of the throughput?
| |
| Choprboy 2002-07-30, 3:25 am |
| gaius.petronius wrote:
> we have a machine directly connected to a switch and reasoned that
> adding another NIC would increase the throughput. but both NICs
> belong to the same IP addr. on the switch there are 2 physical ports,
> each 100Mb, and they are grouped in a vlan which is represented by one
> ip addr.
>
> the algorithm of the switch is allegedly to *randomly* find the port
> in the vlan.
>
> which tool in Linux or UNIX would be most appropriate to use to
> determine the speed of the throughput?
If your combining ethernet cards/switch ports you need to enable link aggregation in
both Linux (a custom kernel option) and on the switch (usually called "server trunking").
To test speed, try using "iperf". It's specifically designed for sending raw data and
measuring bandwidth.
Adrian
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----
| |
| John Ouellette 2002-07-30, 8:25 am |
|
You might also want to look into channel bonding:
http://sourceforge.net/projects/bonding
I've just started to look into this for various reasons and thought
it might help you.
J.
gaius.petronius wrote:
> we have a machine directly connected to a switch and reasoned that
> adding another NIC would increase the throughput. but both NICs
> belong to the same IP addr. on the switch there are 2 physical ports,
> each 100Mb, and they are grouped in a vlan which is represented by one
> ip addr.
>
> the algorithm of the switch is allegedly to *randomly* find the port
> in the vlan.
>
> which tool in Linux or UNIX would be most appropriate to use to
> determine the speed of the throughput?
|
|
|
|
|