Re: [squid-users] Squid to work on two ISP?

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Sun, 27 Jun 2010 12:45:55 +0200

No need to complicate matters that much. A single server (real or
virtual) with a single Squid will do fine.

You don't really need two nicks, but if the ISP are using DHCP for
address assignment then it helps (VLAN interfaces is sufficient
however). If static IP is used then connect both modems via a switch or
hub.

Then you need to configure IP based policy routing, so that the right
modem is used for it's respective traffic.

Then use tcp_outgoing_address in squid.conf to select which traffic goes
via which ISP connection.

Regards
Henrik.

sön 2010-06-27 klockan 12:33 +0300 skrev Roland RoLaNd:
> Hi all,
>
> I'm currently getting my squid working on a 2 Mb bandwidth plan that's serving 20 users. it's all good though our need for speed is increasing by the day.
> soon enough i'll be serving up to 60 user, hence the need to get higher bandwidth though here where the problem is.
> as i'm using HDSL, 2 Mb is the highest plan available.
> hence, i need to get 2 HDSL subscriptions, in other words 2 modems/IPs to work with..
>
> i have two initial thoughts to solve this hope you could straighten me out if they're wrong or suggest something better that your experience lead you to use:
>
> 1. setup Openvz on a centos box, get two templates up and running with squid setup on them. each one with a different IP.
> Each template would be routed to one ISP, and both proxies would be used in child/parent proxy manner so i could use caching from both.
> and i could split my users in half, 1 half would be using Squid#1 and the other using squid#2.
>
> 2. the same squid box have two Nics, with two IPs, one routed to each ISP, i get squid listening to port " 80" on both IPs, and same as above, half of my users would be running on IP#1 and the others on IP#2.
>
> do all this make any sense, i'm seeking your help as both ideas does not seem very professional to me, and i doubt that's the optimal solution so any help would be greatly appreciated.
>
> thanks ,
>
> --Roland
>
> _________________________________________________________________
> Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
> https://signup.live.com/signup.aspx?id=60969
Received on Sun Jun 27 2010 - 10:44:57 MDT

This archive was generated by hypermail 2.2.0 : Sun Jun 27 2010 - 12:00:06 MDT