Re: [squid-users] tcp_outgoing_address stalls squid-2.5S2

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 5 Aug 2004 10:42:55 +0200 (CEST)

On Thu, 5 Aug 2004, Joao Rochate wrote:

> Destination Gateway Genmask Flags Metric Ref Use Iface
> 6.4.18.160 0.0.0.0 255.255.255.240 U 0 0 0 eth0
> 10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
> 0.0.0.0 6.4.18.174 0.0.0.0 UG 0 0 0 eth0
> 0.0.0.0 10.10.10.252 0.0.0.0 UG 0 0 0 eth1

You also must define policy routing to tell the kernel to use the correct
default route depending on the souce IP address. If not your OS will still
send the traffic out via the first default route even if the souce IP
assigned by the application (Squid) belongs to another interface.

See Linux Advaced Routing HOWTO for details.

Regards
Henrik
Received on Thu Aug 05 2004 - 02:42:58 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Sep 01 2004 - 12:00:01 MDT