Hi,
Squid allows you to configure the addresses it uses. The defaults from
squid.conf are:
tcp_incoming_address 0.0.0.0
tcp_outgoing_address 0.0.0.0
udp_incoming_address 0.0.0.0
udp_outgoing_address 0.0.0.0
This leaves the choice up to the OS. On a machine with m,ultiple
interfaces, the IP address of the interface through which the packets
leave, will be used.
I suspect you are using an IP alias with multiple IPs bound to the one
interface. In this case, I believe the OS will use the one bound to the
"real" interface. For example, on Solaris you'd have le0, le0:1, le0:2
and I believe the OS uses the address bound to le0.
Colin
On Thu, 28 Oct 1999, Authur Lin wrote:
> If I use squid for transparent proxy and the server has 3 IP address
> (with only one ethernet interface), for example address-a, address-b,
> address-c. When a client request a URL and not contained in squid, which
> IP address squid will use to retrieve the URL ? (on our environment, IP
> address will affect the return path from the Internet)
-- Colin Campbell Unix Support/Postmaster/Hostmaster CITEC +61 7 3227 7112Received on Thu Oct 28 1999 - 17:24:25 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:49:07 MST