Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
![Reply](https://www.linuxquestions.org/questions/images/buttons/reply.gif) |
05-03-2013, 05:46 AM
|
#1
|
Member
Registered: Oct 2007
Location: Edinburgh, Scotland
Distribution: Debian, CentOS, RHEL, Mint, Ubuntu
Posts: 79
Rep:
|
NIC Bonding speed vs LAG
Hi,
I've installed Wheezy on a new webserver for my office (I would have used stable but my RAID was not recognised)
I want to maximise the network throughput by bonding the two NICs (Intel Corporation 82576 Gigabit).
I've done this on other servers (using "Stable") with good results.
I tested the network speed using iperf.
With a normal setup (MTU 9000) I got;
0.0-10.0 sec 1.16 GBytes 990 Mbits/sec
Setup with Bond Mode 0 (MTU 9000) I get;
0.0-10.1 sec 323 MBytes 267 Mbits/sec
Not the result I'd had hoped for!
Both NICs go to a Netgear GS748TS stack.
I tried setting up a LAG on the stack (Static and LACP) but the network would not come up.
Anyone seeing anything like this?
TIA,
Steve
|
|
|
05-03-2013, 05:51 AM
|
#2
|
Senior Member
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7 / 8
Posts: 3,539
|
Sounds like your switch isn't doing the LACP bonding correctly and is getting confused seeing the same IP address mapped to NICs on different ports.
This might be helpful if you've not come across it already - http://backdrift.org/howtonetworkbonding
|
|
|
05-03-2013, 08:43 AM
|
#3
|
Member
Registered: Oct 2007
Location: Edinburgh, Scotland
Distribution: Debian, CentOS, RHEL, Mint, Ubuntu
Posts: 79
Original Poster
Rep:
|
Hi TenTenths,
Thanks. I hadn't see that page before and it was helpful.
I managed to get my Ubuntu 12.04 LTS server running Mode 4 (server)/LACP (switch)
Is there a way to get figures for the maximum throughput of the server/switch? I've been using iperf which gives variable results, presumably because of the dynamic nature of Mode 4.
However, on a Debian Stable server I can't get it to run in the same configuration - only Mode 0 (server)/Static LAG (switch)
I don't know if this is because the version of the Ethernet Channel Bonding Driver;
Ubuntu 12.04 LTS - v3.7.1 (April 27, 2011)
Debian Stable - v3.5.0 (November 4, 2008)
The two servers are different, so it may be down to the builtin ethernet card chipsets. Is there a way to determine which modes are supported by the NIC card?
Your help is very much appreciated.
Steve
|
|
|
05-03-2013, 10:29 AM
|
#4
|
Senior Member
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7 / 8
Posts: 3,539
|
I honestly haven't a clue, my experience of bonding NICs is based around doing active/passive pairing rather than bandwidth boosting, I just happened to remember that switches needed to be compatible for active/active pairing.
|
|
|
All times are GMT -5. The time now is 01:30 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|