Re: [squid-users] Split trafiic over two interfaces

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 21 Mar 2003 16:11:46 +0100

Yes, but is also likely to crash some sites not expecting users to come
from more than one IP address in the same session...

Regards
Henrik

fre 2003-03-21 klockan 15.42 skrev Sander Winkel:
> Is something like below possible?
> I can't test it by myself at the moment because there are exams at the
> moment at our highschool.
> I think they will kill me when the internet feed goes down now. :)
>
> acl IMAGES urlpath_regex -i \.gif$
> acl HTML urlpath_regex -i \.html$
> tcp_outgoing_address 192.168.0.1 IMAGES
> tcp_outgoing_address 192.168.0.1 HTML
> tcp_outgoing_address 192.168.0.2 ALL
>
> Regards,
> Sander Winkel
>
>
> ----- Original Message -----
> From: "Henrik Nordstrom" <hno@squid-cache.org>
> To: "Sander Winkel" <s.winkel@roc-teraa.nl>
> Cc: <squid-users@squid-cache.org>
> Sent: Friday, March 21, 2003 3:35 PM
> Subject: Re: [squid-users] Split trafiic over two interfaces
>
>
> > Yes, by using tcp_outgoing_address (squid-2.5 only) you select which
> > source IP address Squid should use when forwarding the request, then by
> > using advanced routing in the kernel you route the traffic.
> >
> > If this is not what you want to do, please describe in more detail what
> > it is you want to do.
> >
> > Regards
> > Henrik
> >
> > fre 2003-03-21 klockan 12.50 skrev Sander Winkel:
> > > I want to split traffic over two interfaces with acls.
> > > For example, I want to send all requests for images to 192.168.0.1 and
> all
> > > other traffic to 192.168.0.2
> > > I've look to tcp_outgoing_address but that don't helps me well.
> > > I thought it was possible to do that with squid, isn't it?
> > >
> > > Regards,
> > > Sander Winkel
> > --
> > Henrik Nordstrom <hno@squid-cache.org>
> > MARA Systems AB, Sweden
> >

-- 
Henrik Nordstrom <hno@squid-cache.org>
MARA Systems AB, Sweden
Received on Fri Mar 21 2003 - 08:11:52 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:14:18 MST