bonding without switch link aggregation


 
Thread Tools Search this Thread
Special Forums IP Networking bonding without switch link aggregation
# 1  
Old 06-04-2009
bonding without switch link aggregation

I have some linux machines that I am trying to increase the throughput to on a single connection. They connect to a switch with two 1GbE lines and the switch does not have Link Aggregation support for these machines. I have tried bonding with balance-rr, balance-alb, but the machines can only receive at 1 Gbps. However, with the bonding, the machines can send to two other machines at 1 Gbps each, totaling 2 Gbps, but each machine can still only receive at 1 Gbps.

These are very powerful machines and CPU usage is low, I have also increased socket sizes, queue length, etc to no avail.

balance-alb says it doesn't need special switch support but I still only receive at 1 Gbps. Is there any other option or way to get it working? Has anyone heard of or implemented IP aggregation for this purpose? What about manually assigning the table to have two ports have the same IP address. Or if the router doesn't like two ports with 1 MAC address, what about creating VLANs to trick it? two switches (with VLAN) and have the same MAC address on each switch to simulate LAG? Does LINUX have an option to combine two ethernet lines with different mac addresses? IP aggregation?

using intel NICs with e1000 drivers which i'm told support balance-alb.

Last edited by Eruditass; 06-10-2009 at 02:47 PM..
# 2  
Old 06-10-2009
hi,

wow, this is new Smilie
can i have that balance-alb link? seems interesting.

i'm not clear about this
Quote:
I have tried bonding with balance-rr, balance-alb, but the machines can only receive at 1 Gbps. However, with the bonding, the machines can send to two other machines at 1 Gbps each, totaling 2 Gbps, but each machine can still only receive at 2 Gbps.
is that a typo or perhaps you do have any other idea?
# 3  
Old 06-10-2009
heh sorry, yeah that was a typo.

scroll down to mode 6, balance alb
LiNUX Horizon - Bonding (Port Trunking)
Tips and Tuning for Ethernet Bonding With Linux
# 4  
Old 06-10-2009
hey, thanks for the link Smilie

btw,
i'm not too sure about your setup, but i'm thinking like this - so please do CMIIW :
Code:
machine1 ====== sw0 ------- machine2
                   ------- machine3

or, perhaps like this?
Code:
machine1 ===== sw0 ===== machine2

# 5  
Old 06-10-2009
It is like your second diagram. Each machine has two 1gbE lines going into it.

I've found some stuff on TCP socket striping in the application or session layer that make the program thinks it has opened one socket, but the program opens more. Has anyone had experience with it? It could be easily spoofed to switch the IP it is sent to. Something with iproute, but I think it only alternates with TCP flow.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Bonding IEEE 802.3ad Dynamic link aggregation : Bond showing less than desired throughput

Hi All, I have done IEEE 802.3ad Dynamic link aggregation bond configuration with name bond0 which has 4 slaves (each 25GB/s) in it on cent os 6.8. Issue i am facing is bonding throughput is only 50GB/s not 100GB/s. below are the configuration files : DEVICE=bond0 IPADDR=xx.xx.xx.xx... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies

2. IP Networking

Link Aggregation

Hi ihave three link of internet and iwant to put one linux front of a firewall that this three linux speard firewall such az load balance and fialover but dont close any port and protocol and only firewall have been internet what way can i use for it ? are there any script and services do that... (0 Replies)
Discussion started by: mnnn
0 Replies

3. Solaris

Link Aggregation without LACP

Hi, I'm not from the Solaris world and some of these things are new to me. Can someone tell me if it is possible to configure link aggregation without using LACP? I am told etherchannel was setup without LACP. (3 Replies)
Discussion started by: techy1
3 Replies

4. HP-UX

Break Link Aggregation in HP UX.

Hi, I want to Break the Link Aggregation. My aggregation are lan0+lan1 = lan900. Now I want to break this and put the IP in lan0. But i have cluster environment and this is the main database server. So It need to change in cluster script. But I dont know where I have to change it. Please... (1 Reply)
Discussion started by: mkiron
1 Replies

5. IP Networking

Interface bonding / Link aggregation (Multiple)

Hello, I've been using mode 4 with four slaves, however looking at ifconfig showed that the traffic was not balanced correctly between the interfaces, the outgoing traffic has been alot higher on the last slave. Example: eth0 RX 123.2 GiB TX 22.5 GiB eth1 RX 84.8 GiB TX 8.3 GiB eth2... (3 Replies)
Discussion started by: TehOne
3 Replies

6. Solaris

Link aggregation

Me again :) I'm trying to find a page describing the L2, L3 und L4 modes of dladm. It's nice to read "hashed by ip header", but how should I use that? On the file-server it's ok to have the six interfaces serving six clients each on it's own. But an rsync connection via switch between two... (8 Replies)
Discussion started by: PatrickBaer
8 Replies

7. HP-UX

Link Aggregation HPUX

Hi, Hoping someone can offer some advice on something i have not dealt with before. We have a server that seems to have some very strange configuration done on it. It has 2 physical NIC's and rather than both be aggregated into LAN900 we have 1 in LAN900 and 1 in LAN901? (See Below)... (2 Replies)
Discussion started by: Andyp2704
2 Replies

8. IP Networking

bonding lacp and link aggregation

Hello, I am trying to get clarity on a few things and am looking for some info. In every article I have read about link aggregation and lacp, it can be used combine physical links to create 1 logical link for increased bandwidth. But what it doesn't say is if this is limited by source/dst. ... (1 Reply)
Discussion started by: jaredo
1 Replies

9. UNIX for Advanced & Expert Users

Link Aggregation and LACP

Hi there I have a requirement to provide failover to our customer boxes in case of interface / switch failure, I have been looking at Solaris Link Aggregation with LACP and I wanted to ask a question Ive seen multiple websites that say the following Does this also mean that if the... (1 Reply)
Discussion started by: hcclnoodles
1 Replies

10. Solaris

Link Aggregation

Hi there I have a requirement to provide failover to our customer boxes in case of interface / switch failure, I have been looking at Solaris Link Aggregation with LACP and I wanted to ask a question Ive seen multiple websites that say the following Does this also mean that if the... (2 Replies)
Discussion started by: hcclnoodles
2 Replies
Login or Register to Ask a Question