Re: [squid-users] tcp_outgoing_address

From: Henrik Nordstrom <[email protected]>
Date: Sat, 16 Feb 2002 15:03:07 +0100

If anything on performance it may decrease performance sligthly...

Most OS:es support selecting which source address to use for a given
route. In Linux one uses the "ip ro" command to access these aspects
of routing.

You could also use the extended tcp_outging_address functionality of
Squid-2.5 to select different outgoing addresses based on request
data, such as the destination IP.. (even if routing is a better
approach when your only criteria is destination IP)

Regards
Henrik Nordstr�m
Squid Developer

On Friday 15 February 2002 17.33, Eric Galarneau wrote:
> Hello all,
>
> Does telling squid to use a specific outgoing interface
> significantly increase performance? Is there a way to use
> tcp_ougoing_address 10.20.2.1 for everything except destination
> 10.20.x.x and use 10.20.1.1 interface for 10.20.x.x? It's not
> technicly possible for us to add a route on 10.20.2.254 (10.20.2.x
> router) for destination 10.20.x.x.
>
> Thanks,
>
> Parameters in squid.conf:
>
> ========================
> http_port 10.20.1.1:3128
> tcp_ougoing_address 10.20.2.1
> ========================

-- 
MARA Systems AB, Giving you basic free Squid support
Customized solutions, packaged solutions and priority support
available on request
Received on Sat Feb 16 2002 - 09:13:57 MST

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