[squid-users] outgoing traffic load balancing with multiple ISP

From: Wai Chan <waichan@dont-contact.us>
Date: Thu, 3 May 2001 17:32:01 -1000

Hi,

I am running Squid 2.4 stable wccp box (FreeBSD 4.2R). I want half of all
the http traffic go out with ISP1 provided IP address, and the other half
with ISP2 provided IP address. Will the following IPFW rules acheive what I
described?

/sbin/ipfw -f flush
/sbin/ipfw add prob 0.5 fwd isp1.ip.address all from 127.0.0.1 8080 to any
/sbin/ipfw add prob 1 fwd isp2.ip.address all from 127.0.0.1 8080 to any
/sbin/ipfw add allow tcp from isp1.ip.address to any
/sbin/ipfw add allow tcp from isp2.ip.address to any
/sbin/ipfw add fwd 127.0.0.1,8080 tcp from any to any 80
/sbin/ipfw add allow all from any to any

Thanks!

best wishes,
Wai Chan

Received on Thu May 03 2001 - 21:32:04 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:48 MST