Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Multilinking and/or load balancing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Sm1
Apprentice
Apprentice


Joined: 02 Dec 2003
Posts: 251
Location: Ames, IA

PostPosted: Thu Feb 05, 2004 9:06 am    Post subject: Multilinking and/or load balancing Reply with quote

Okay i have two possible configurations i would like know if possible:

1) Lets say i got a linux box with 3 network connections - i am looking for a way to set one of them to hand out NAT addresses, and route all data equally through the other two connections.

I am looking for something more along the lines of more of a multilinking connections than a load balancing sort of thing.

2) Lets say now instead i have 3 linux boxes - 2 with each two network cards, one for lan and one for internet. How about instead setting up this third box which also has two network cards to hand out NAT addresses on one of the cards and to route all traffic to the other two linux boxes equally.

This is more of a load balancing approach than a multilinking approach, but i am looking for either way to work.




More important than anything i am looking for a bandwidth increase for users on the other end of this "router" linux box. It is my understanding that i should look more into multilinking than load balancing if i want to share bandwidth this way.


So how do-able is any of this?
Back to top
View user's profile Send private message
Sm1
Apprentice
Apprentice


Joined: 02 Dec 2003
Posts: 251
Location: Ames, IA

PostPosted: Fri Feb 06, 2004 2:00 am    Post subject: Reply with quote

bump
Back to top
View user's profile Send private message
smart
Guru
Guru


Joined: 19 Nov 2002
Posts: 455

PostPosted: Fri Feb 06, 2004 3:07 pm    Post subject: Reply with quote

- what do you mean by "hand out NAT addresses"

<cite>
...and route all data equally through the other two connections.

I am looking for something more along the lines of more of a multilinking connections than a load balancing sort of thing.
</cite>

I feel a contradiction here... and don't get it really. what's in the pot .. load balancing/redundancy/different QoS. What's your intention ?

- setup number two seems illogical if i get it right. it creates a single point of failer without adding sth. in. whatever the single/central/box does should also be possible on each of the actual router machines (if you want the redundancy) or just on one single box. If you want to go with two machines offering redundancy i'd think of a setup of two machines, each equipped with 3 NICs, two of which go to both of the two Internet links and on for the LAN. On the LAN side you might either want to run a routing protocol or add a virtual IP to the pot.

All in all, i don't get your plan.
Back to top
View user's profile Send private message
Sm1
Apprentice
Apprentice


Joined: 02 Dec 2003
Posts: 251
Location: Ames, IA

PostPosted: Fri Feb 06, 2004 3:19 pm    Post subject: Reply with quote

The point is not for redundency - it is much more for sharing bandwidth of several connections. The machine with several lan cards/internet connections is indeed going to be a router ( and thus using NaT to hand out local addresses ).


By my current understand - i am going to forget the idea of setup number 2 and stick with setup 1 to get things working.

I was talking to somebody about this, and they kept claiming that there are several ways to set up load balancing that there is one where it would alternate every connection made from the router machine on the different internet connections. They also were telling me what i thought was the multilinking was actually "teaming" the cards together.

But let me re-iterate once more - i am looking for bandwidth combination, not redundency.
Back to top
View user's profile Send private message
smart
Guru
Guru


Joined: 19 Nov 2002
Posts: 455

PostPosted: Fri Feb 06, 2004 3:41 pm    Post subject: Reply with quote

AFAIK teh word "teaming" is normally used for an advanced feature of very advanced (read expensive) switches/intelligent routers. That's probably not your case.
You will though, be able to do "kind of" load balancing. As you suggested yourself, based on IP connections/alternating the path.
What you're probably looking for is called advanced routing in kernel terms, you might want to google for the "advanced routing howto".
Back to top
View user's profile Send private message
Sm1
Apprentice
Apprentice


Joined: 02 Dec 2003
Posts: 251
Location: Ames, IA

PostPosted: Sat Feb 07, 2004 3:08 am    Post subject: Reply with quote

okay thank you very much.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum