Skip to contentSkip to conversation

Load Balancing / Merging speed

DISCUSSION Sadus . 4 participants 8 messages May 21, 2005 – May 22, 2005

lore
Share & tools
lore

Sadus .

author
#0 lore raw

Hello,
If i want to search for HOWTOs that can enable me to merge the connection speed of multiple providers (inboud/outbound), what should i search for?

what i mean by merging is, lets say my connection is shaped at 100K and the other is also shaped at 100K, i want to be able using the 2 ISPs to have 200K (in/out),

Does anyone have a HOWTO or Article about that Matter?

Thanks

#1 lore raw
Quoted 4 lines · Sadus .

Hello,
If i want to search for HOWTOs that can enable me to merge the connection speed of multiple providers (inboud/outbound), what should i search for?

The nano howto if I'm not mistaken, and have a look at the eql qdisc and teql device.

Quoted 6 lines

what i mean by merging is, lets say my connection is shaped at 100K and the other is also shaped at 100K, i want to be able using the 2 ISPs to have 200K (in/out),

Does anyone have a HOWTO or Article about that Matter?

I asked a similar question in the list not too long ago. Search the archives for the subject "Spill over" and have a look. There was some excellent replies from other members on the topic. I have honestly not had the chance to properly test the configurations myself, but from my searching and discussions here it won't be an easy feat to achieve.

Relative load balancing is not that difficult, but to fully maximize the utilization of each link is another story.

Quoted 3 lines

Thanks

Only a pleasure

Quoted 3 lines
Signature · 3 lines
Kenneth Kalmer
[email protected]
http://opensourcery.blogspot.com
author
#2 lore raw

I can't seem to find the archive, i searched untill June 2004? link aggregation
Basicaly i knew that i could do such a thing using Bonding/Trunking/Link Aggragation but is there a simpler way using iptables/iproute only and using only 1 NIC (with 2 different IPs/Subnets)

thanks

Quoted 36 lines · Kenneth Kalmer
Quoted 4 lines · Sadus .

Hello,
If i want to search for HOWTOs that can enable me to merge the connection speed of multiple providers (inboud/outbound), what should i search for?

The nano howto if I'm not mistaken, and have a look at the eql qdisc and teql device.

Quoted 6 lines

what i mean by merging is, lets say my connection is shaped at 100K and the other is also shaped at 100K, i want to be able using the 2 ISPs to have 200K (in/out),

Does anyone have a HOWTO or Article about that Matter?

I asked a similar question in the list not too long ago. Search the archives for the subject "Spill over" and have a look. There was some excellent replies from other members on the topic. I have honestly not had the chance to properly test the configurations myself, but from my searching and discussions here it won't be an easy feat to achieve.

Relative load balancing is not that difficult, but to fully maximize the utilization of each link is another story.

Quoted 3 lines

Thanks

Only a pleasure

Quoted 3 lines
#3 lore raw

Hi,

Quoted 5 lines · Sadus .

I can't seem to find the archive, i searched untill June 2004? link aggregation
Basicaly i knew that i could do such a thing using Bonding/Trunking/Link Aggragation but is there a simpler way using iptables/iproute only and using only 1 NIC (with 2 different IPs/Subnets)

Bonding? You don't use that to merge two internet lines, that's for making two NIC's work as if they were only one, thus doubling the speed. With bonding linux "sees" one device where you had two. You can only set up bonding between two computers or between a computer and a switch which supports bonding (it's got different names depending on the brand).

Quoted 27 lines

thanks

Quoted 24 lines · Kenneth Kalmer
Quoted 4 lines · Sadus .

Hello,
If i want to search for HOWTOs that can enable me to merge the connection speed of multiple providers (inboud/outbound), what should i search for?

The nano howto if I'm not mistaken, and have a look at the eql qdisc and teql device.

Quoted 6 lines

what i mean by merging is, lets say my connection is shaped at 100K and the other is also shaped at 100K, i want to be able using the 2 ISPs to have 200K (in/out),

Does anyone have a HOWTO or Article about that Matter?

I asked a similar question in the list not too long ago. Search the archives for the subject "Spill over" and have a look. There was some excellent replies from other members on the topic. I have honestly not had the chance to properly test the configurations myself, but from my searching and discussions here it won't be an easy feat to achieve.

Relative load balancing is not that difficult, but to fully maximize the utilization of each link is another story.

Cheers!

Edu

author
#4 lore raw

So what I am exactly looking for?

Quoted 47 lines · Eduardo Fernández

Hi,

Quoted 5 lines · Sadus .

I can't seem to find the archive, i searched untill June 2004? link aggregation
Basicaly i knew that i could do such a thing using Bonding/Trunking/Link Aggragation but is there a simpler way using iptables/iproute only and using only 1 NIC (with 2 different IPs/Subnets)

Bonding? You don't use that to merge two internet lines, that's for making two NIC's work as if they were only one, thus doubling the speed. With bonding linux "sees" one device where you had two. You can only set up bonding between two computers or between a computer and a switch which supports bonding (it's got different names depending on the brand).

Quoted 27 lines

thanks

Quoted 24 lines · Kenneth Kalmer
Quoted 4 lines · Sadus .

Hello,
If i want to search for HOWTOs that can enable me to merge the connection speed of multiple providers (inboud/outbound), what should i search for?

The nano howto if I'm not mistaken, and have a look at the eql qdisc and teql device.

Quoted 6 lines

what i mean by merging is, lets say my connection is shaped at 100K and the other is also shaped at 100K, i want to be able using the 2 ISPs to have 200K (in/out),

Does anyone have a HOWTO or Article about that Matter?

I asked a similar question in the list not too long ago. Search the archives for the subject "Spill over" and have a look. There was some excellent replies from other members on the topic. I have honestly not had the chance to properly test the configurations myself, but from my searching and discussions here it won't be an easy feat to achieve.

Relative load balancing is not that difficult, but to fully maximize the utilization of each link is another story.

Cheers!

Edu

#7 lore raw
In reply to Sadus .
Quoted 10 lines · Sadus .

Hello,
If i want to search for HOWTOs that can enable me to merge the connection speed of multiple providers (inboud/outbound), what should i search for?

what i mean by merging is, lets say my connection is shaped at 100K and the other is also shaped at 100K, i want to be able using the 2 ISPs to have 200K (in/out),

Does anyone have a HOWTO or Article about that Matter?

read the help file for the nth patch from PoM. keep in mind, you can only do "per-connection" load-balancing if you are doing NAT and/or have non-provider-independent address space; so any single connection will only ever get 100K.

-j

--
"Stewie: I'll wait until you're finished. Are you done? Because
I thought this show was called "Kids Say the Darndest Things," not "Old Black Comedians Who Never Shut The Hell Up.""
--Family Guy

#5 lore raw
In reply to Eduardo Fernández
Quoted 9 lines · Eduardo Fernández

Hi,

Quoted 5 lines · Sadus .

I can't seem to find the archive, i searched untill June 2004? link aggregation
Basicaly i knew that i could do such a thing using Bonding/Trunking/Link Aggragation but is there a simpler way using iptables/iproute only and using only 1 NIC (with 2 different IPs/Subnets)

Quoted 6 lines

Bonding? You don't use that to merge two internet lines, that's for making two NIC's work as if they were only one, thus doubling the speed. With bonding linux "sees" one device where you had two. You can only set up bonding between two computers or between a computer and a switch which supports bonding (it's got different names depending on the brand).

Nope, this is not bonding. What Sadus is looking for is called link equalization IIRC. It's where you use different links of varying speeds and tie them up together for use as one connection. Traditionaly you'd use a round-robin method of sending packets out over multiple default routes. This is not always ideal, you'd need some kind of intelligence to spread the load more realistically, and the Linux EQL driver and TEQL device allows for that to happen. These two know the speed of each link in the equation, and delivers better control, albeit not perfect.

Now, Sadus, my apologies. The thread I was referring to was on the LARTC list. The LARTC list is in any case the better list for these kinds of questions. iptables cannot perform this task, you need the iproute2 package, and LARTc is the definitive source for information and discussions on the topic.

The website is http://lartc.org/ and http://lartc.org/howto. The thread I was referring to is available at
http://marc.theaimsgroup.com/?l=lartc&m=111429252500344&w=2

Hope this helps, and share your experiences if you don't mind!

Quoted 33 lines
Quoted 28 lines

thanks

Quoted 24 lines · Kenneth Kalmer
Quoted 4 lines · Sadus .

Hello,
If i want to search for HOWTOs that can enable me to merge the connection speed of multiple providers (inboud/outbound), what should i search for?

The nano howto if I'm not mistaken, and have a look at the eql qdisc and teql device.

Quoted 6 lines

what i mean by merging is, lets say my connection is shaped at 100K and the other is also shaped at 100K, i want to be able using the 2 ISPs to have 200K (in/out),

Does anyone have a HOWTO or Article about that Matter?

I asked a similar question in the list not too long ago. Search the archives for the subject "Spill over" and have a look. There was some excellent replies from other members on the topic. I have honestly not had the chance to properly test the configurations myself, but from my searching and discussions here it won't be an easy feat to achieve.

Relative load balancing is not that difficult, but to fully maximize the utilization of each link is another story.

Cheers!

Edu

Signature · 3 lines
Kenneth Kalmer
[email protected]
http://opensourcery.blogspot.com
author
#6 lore raw

Thank you for your reply. I'm gonna check out the TEQL driver and how it should be implemented.
I will share my experiences when i'm done =)

Quoted 74 lines · Kenneth Kalmer
Quoted 9 lines · Eduardo Fernández

Hi,

Quoted 5 lines · Sadus .

I can't seem to find the archive, i searched untill June 2004? link aggregation
Basicaly i knew that i could do such a thing using Bonding/Trunking/Link Aggragation but is there a simpler way using iptables/iproute only and using only 1 NIC (with 2 different IPs/Subnets)

Quoted 6 lines

Bonding? You don't use that to merge two internet lines, that's for making two NIC's work as if they were only one, thus doubling the speed. With bonding linux "sees" one device where you had two. You can only set up bonding between two computers or between a computer and a switch which supports bonding (it's got different names depending on the brand).

Nope, this is not bonding. What Sadus is looking for is called link equalization IIRC. It's where you use different links of varying speeds and tie them up together for use as one connection. Traditionaly you'd use a round-robin method of sending packets out over multiple default routes. This is not always ideal, you'd need some kind of intelligence to spread the load more realistically, and the Linux EQL driver and TEQL device allows for that to happen. These two know the speed of each link in the equation, and delivers better control, albeit not perfect.

Now, Sadus, my apologies. The thread I was referring to was on the LARTC list. The LARTC list is in any case the better list for these kinds of questions. iptables cannot perform this task, you need the iproute2 package, and LARTc is the definitive source for information and discussions on the topic.

The website is http://lartc.org/ and http://lartc.org/howto. The thread I was referring to is available at
http://marc.theaimsgroup.com/?l=lartc&m=111429252500344&w=2

Hope this helps, and share your experiences if you don't mind!

Quoted 33 lines
Quoted 28 lines

thanks

Quoted 24 lines · Kenneth Kalmer
Quoted 4 lines · Sadus .

Hello,
If i want to search for HOWTOs that can enable me to merge the connection speed of multiple providers (inboud/outbound), what should i search for?

The nano howto if I'm not mistaken, and have a look at the eql qdisc and teql device.

Quoted 6 lines

what i mean by merging is, lets say my connection is shaped at 100K and the other is also shaped at 100K, i want to be able using the 2 ISPs to have 200K (in/out),

Does anyone have a HOWTO or Article about that Matter?

I asked a similar question in the list not too long ago. Search the archives for the subject "Spill over" and have a look. There was some excellent replies from other members on the topic. I have honestly not had the chance to properly test the configurations myself, but from my searching and discussions here it won't be an easy feat to achieve.

Relative load balancing is not that difficult, but to fully maximize the utilization of each link is another story.

Cheers!

Edu