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.
|
 |
04-21-2006, 04:27 PM
|
#1
|
LQ Newbie
Registered: Apr 2006
Posts: 17
Rep:
|
Load Balancing on RHEL 4 AS with Transparent Proxy
Hi all, i have been trying to set up load balancing on my linux server, but no luck. I've tried a host of solutions including "balance" and "bonding". But in both instances they've failed. In using balance, it tells me that it cant bind to local address. When using bonding, i set the bond up and enslave the two ethernet interfaces (both have different gateways), but i cant browse after that. My route table has one entry :
192.168.77.0 * 255.255.255.0 U 0 0 0 bond0
when i add another route by using "route add default bond0" i can resolve pings, but still no browsing or replies. Next i add another route "route add default gw 192.168.77.22 bond0" and this works, but i dont think theres any load balancing goin on here since all the traffic is going through one gateway when it should be balanced between two.
Can anyone help me, is there something im doin wrong, or is there a better way of doing this?
The reason for this setup is i have 2 dsl lines that i want to balance users' requests through squid. Squid is up and running fine with transparent proxying, i just need to get the load balancing part up.
Thanks.
|
|
|
04-22-2006, 09:11 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
you want to balance two ISP connections? Bonding at NIC level is not what you want at all, that will just expect the other end of the bond to be doing a similar job. there are docs on lartc.org for isp load balancing using advanced metrics and such, i'd suggest you went there asap.
|
|
|
04-25-2006, 08:38 AM
|
#3
|
LQ Newbie
Registered: Apr 2006
Posts: 17
Original Poster
Rep:
|
Hmmm, okay i'll check it out and give you a feedback later on about how it goes.
|
|
|
All times are GMT -5. The time now is 10:26 PM.
|
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
|
|