Thanks for the advice, yes it's on a linux box. Though i have both IPs coming from the same Router. and not connected to a public ISP. routing is done on the routers side.. In other terms if i understood your advice correctly i'll do the following: IPs assigned to Squid box: 192.168.1.X #primary IP 192.168.1.y #secondary IP Squid: acl Subnet#1 src 192.168.1.0/24 acl Subnet#2 src 192.168.2.0/24 tcp_outgoing_address 192.168.1.x Subnet#1 tcp_outgoing_address 192.168.1.y Subnet#2 Router: src Subnet#1 dst ISP#1 src Subnet#2 dst ISP#2 Would the above setup work ? i've read about a sort of persistent connections problem, any advice about that? Thanks for your help, --Roland
Assuming you are using Linux , first you have to create proper routing table for both ISPs , linking each IP to its gateway. Once you are done with that , you can use tcp_outgoing_address in squid to redirect each subnet is IPs to the proper ISP.
On Wed, Jun 1, 2011 at 10:40 AM, Roland Roland<r_o_l_a_...@xxxxxxxxxxx> wrote:
Dear all, I have one squid that's running two subnets (different delay-pools) on one ISP. Requirement has changed, the new scenario is as such: Subnet #1 goes from ISP#1 Subnet #2 goes through ISP#2 To do so should i have to create a secondary Squid or is there a way i could do so from one machine? At a first thought i'm thinking of setting two IPs on that specific Squid with those IPs going through the different ISPs i want. Where i direct the users coming from Subnet #1 to IP#1(which is routed to ISP#1) and Subnet #2 to IP#2(which is routed to ISP#2) using a PAC file. Any idea if this would work, or a possible better idea? Thanks, --Roland