Re: [squid-users] Strange and Weird configurations (Real: Load balancing)

From: Hasanen AL-Bana <hasanen_at_gmail.com>
Date: Wed, 16 Feb 2011 14:04:37 +0300

On Wed, Feb 16, 2011 at 1:00 PM, <squid_at_sourcesystemsonline.com> wrote:
> Example: Splitting uploads and downloads between two ISP links
>
> acl download method GET HEAD
> acl upload method POST PUT
>
> # IP used by link for downloads
> tcp_outgoing_address 192.0.2.1 download
>
> # IP used by link for uploads
> tcp_outgoing_address 192.0.2.2 upload
>
>
> I am using squid 2.7 STABLE8 on Windows 7 Platform.
> I have two internet access links: link A with limited bandwidth (Data Cap)
> and link B with unlimited bandwidth (Data Cap). i will like to implement
> the above configuration example "Splitting uploads and downloads between
> two ISP links" so that my download and upload requests will go through
> link B while other http requests and related requests go through link A,
> is it possible?

This will split only HTTP traffic , Bitorrent ,IM and other protocols
will not get effected.
I am still looking for real way to split TCP upload/download traffic
between two ISPs , I know some ppl already implemented this on
Mikrotik routers with downlink coming from VSAT & uplink going through
ADSL , and it is working just fine , I see they have half the latency
for duplex VSAT traffic since their upload go through fiber link.

>
> I notice that link A uses static IP while link B uses dynamic IP but the
> two links have static DNS. Hence, in the sample above which address i am
> going to use for tcp_0utgoing_address(es), is it their DNS or the client
> IP?
> If it is client IP, how can i implement the dynamic IP for link B since it
> is ever changing?
>
> Suppose link B is down or slow what happen to my download and upload
> requests and if link A is down or slow what happen to my http and http
> related requests?
> Regards,
> Yomi.
>
Received on Wed Feb 16 2011 - 11:05:04 MST

This archive was generated by hypermail 2.2.0 : Thu Feb 17 2011 - 12:00:05 MST