If I make multiple 4 simultaneous connections to the same destination IP (all port 80), the connections are all made over the same interface. How would I go about "forcing" these connections to load balance over all my interfaces? (Note that if the connections are to different IP addresses (all port 80) then multiple interfaces are used and the load balancing is done as I would expect. The only situation I have a problem with is when multiple connections are all made to the *same* IP address). I know this isn''t necessarily a shorewall-specific issue, but since it does support load balancing now, I thought I''d ask :) Thanks, Matthew ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Cristian Rodriguez
2005-Jul-16 06:06 UTC
Re: Load balancing multiple connections to same IP/port
2005/7/16, Matt N <voyager6868@hotmail.com>:> If I make multiple 4 simultaneous connections to the same destination IP > (all port 80), the connections are all made over the same interface.routes are cached :-P ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
Cristian Rodriguez wrote:> 2005/7/16, Matt N <voyager6868@hotmail.com>: > >>If I make multiple 4 simultaneous connections to the same destination IP >>(all port 80), the connections are all made over the same interface. > > > routes are cached :-PWhat Cristian means is that Linux''s route-based load-balancing works on a per-destination IP basis, and caches which link a given host is routed through. Thus, you only get the benefit out of it if you are running multiple connections to multiple hosts, not multiple connections to a single host. To do what you''re talking about requires multilink PPP or something similar that does packet-based load balancing. -- Paul <http://paulgear.webhop.net> -- Did you know? If you receive a virus warning from a friend and not through an antivirus software vendor, it''s likely to be a hoax. See <http://gear.dyndns.org:81/features/virus_hoaxes> for more info.