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.