See cache_peer and cache_peer_access directives.
If you actually want Squid to select different outgoing interfaces
depending on the client, then see Squid-2.5.
Regards
Henrik Nordström
Squid Developer
On Wednesday 20 February 2002 05:01, Jack wrote:
> Hello All,
>
> First i explain my plan so that i can explain my problem easily.
>
> I have clients connected to squid(in transparent mode) from
> different network say
> 172.172.0.0/16 -200.200.0.0/16.
>
> I plan to do bandwidth for individual client after squid using CBQ.
> Here Client under 172.172.0.0 network will get 32kbs and client
> under 180.180.0.0 network will get 64kbs.
>
> My problem is squid should pass cache miss req according to source
> network as
> if client from 172.172.0.0 network req miss pass to another machine
> which is in same network regardless of default gateway in squid
> machine same as other network also.
>
> Here squid machine has two interface and in both interface all this
> networks will be as aliases
> as in eth0(incoming and gateway to client)eth0 172.172.1.1 and in
> eth1(outgoing) 172.172.1.2
> eth0:0 173.173.1.1 and eth1:0 173.173.1.2 same as other network.
>
> My question in can squid can pass req according to source network
> and not in default gateway.
>
> Thanks
> Jack
>
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
-- MARA Systems AB, Giving you basic free Squid support Customized solutions, packaged solutions and priority support available on requestReceived on Tue Feb 19 2002 - 21:05:13 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:26 MST