2011/2/23 Senthilkumar <senthilkumaar2021@xxxxxxxxx>: > 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. > > -- > To unsubscribe from this list: send the line "unsubscribe netfilter" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > 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 -- Best regards Anatoly Muliarski -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html