Skip to contentSkip to conversation

Squid with three isp

DISCUSSION Senthilkumar 2 participants 2 messages Feb 23, 2011 – Feb 24, 2011

lore
Share & tools
lore
#0 lore raw

Hello All,

We have a gateway machine which has three upstream isp and to make clients use the particular isp we use advance routing based on the source address. When we run squid on the same machine to log websites all traffic passes through the single isp i.e. the isp which is set as default gateway. We need all the users to pass through squid and use different isp's as per source route. Please share your views to achieve it.

Thanks
Senthil.

#1 lore raw

2011/2/23 Senthilkumar <[email protected]>:

Quoted 10 lines

Hello All,

We have a gateway machine which has three upstream isp and to make clients use the particular isp we use advance routing based on the source address. When we run squid  on the same machine to log websites all traffic passes through the single isp i.e. the isp which is set as default gateway. We need all the users to pass through squid and use different isp's as per source route.
Please share your views to achieve it.

Quoted 8 lines

Thanks
Senthil.

--
To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Hi Senthilkumar,

I suppose you should use multiple rt_tables facility based on netfilter's marks for routing to different ISPs. And you also need some scheme to disperse marks for squid's output connections like nth option from iptables. Here is an example:
http://members.hellug.gr/vyruss/computing/load_balance.html

Signature · 2 lines
Best regards
Anatoly Muliarski