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

From: Hasanen AL-Bana <hasanen_at_gmail.com>
Date: Thu, 17 Feb 2011 13:29:21 +0300

I wrote a document explaining how to use several gateways belonging to
different ISPs with squid 2.7 using tcp_outgoing address , most of the
work is with Linux routing table , sorry I don't know much about how
to do this with Windows ,but you can take a look at the PDF file here
: http://www.snono-systems.com/files/squid-multiwan.pdf

On Thu, Feb 17, 2011 at 1:25 PM, <squid_at_sourcesystemsonline.com> wrote:
> 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:29:53 MST

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