if I understood your problem,
use a cache_peer and put an cache_peer_access for it, so that request
from a specific clients always use that parent. so you need at leat two
cache server.
the default configuration use 192.168.100 while your parent squid use
192.168.101 ip address. and you must define an acl and put all request
form specific client address in it.
BTW, why you need this? I think this is a useless work, exept for while
you do some policy in your router based on original client ip address.
Mahmoud Taghizadeh
On Tue, 16 Jul 2002, Ramzi S. Abdallah wrote:
> Hi
>
>
> How do I configure a multihomed squid server to connect to the router using
> a particular Ethernet interface based on the client source ip address? I
> would like to be able to do this because I am trying to configure a squid
> server to serves two networks. My network configuration is a bit unusual and
> that's because we currently don't have an ethernet backbone.
>
> 192.168.101.0
> +-------------+----------------------+-------------+
> | Squid | | Router | ------------> Internet
> +-------------+--------------------- +-------------+
> 192.168.100.0
>
>
> I have tried to set ip rules on Linux but this by it self did not help.
>
>
> Thank you
>
> Ramzi
>
Received on Tue Jul 16 2002 - 00:41:27 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:15 MST