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

From: <squid_at_sourcesystemsonline.com>
Date: Thu, 17 Feb 2011 05:25:43 -0500

Good day,
My special thanks to Amos Jeffries and Hasanen AL-Bana.
I still need further assistant and clarification on the issues below:

in the sample below which IP address i am going to use for
tcp_0utgoing_address(es), is it their DNS or the client IP (because i only
use to see DNS IP address in cache log)?

I am using squid on windows 7 (Ultimate) platform and have little or no
knowledge about Windows routing (table), can you help with references?

Can you give configuration example(s) on how i can further implement
tcp_outgoing_tos in conjunction with tcp_outgoing_address to direct squid
to splitt my download/upload and other internet traffic between my link A
and link B network interfaces with little or no failure when one is slow
or down.

> 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 (different) 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 Thu Feb 17 2011 - 10:25:59 MST

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