[squid-users] squid && eth alias

From: Petre Bandac <petre@dont-contact.us>
Date: Thu, 18 Dec 2003 03:07:09 +0200

hello

I have the following problem

I have squid running on an alias (eth0:1)

in squid.conf I have explicitely set up the ip and port it should run,
however, the following thing happens:

eth0 - 1.2.3.4
eth0:1 - 5.6.7.8

both routable addresses

I have squid on port 3128 on 5.6.7.8

I make a request, and tcpdump shows the following thing: packets go from
client to 5.6.7.8:3128, but there they go on the internet via 1.2.3.4 (ie I
access google.com, and tcpdump shows 2 pieces of the traffic - 1
host-squid_IP, then address - 1.2.3.4)

hoping I make any sense (it's 3 AM now), how can I make the requests go via
the same IP ? (ie client - squid - final address, not client - squid -
IP_eth0 - address)

thanks,

petre

-- 
Login: petre          			Name: Petre Bandac
Directory: /home/petre              	Shell: /usr/local/bin/zsh
On since Thu Dec 11 07:34 (EET) on ttyv0, idle 6 days 19:28 (messages off)
Last login Tue Dec 16 10:39 (EET) on ttyp5 from misu.kgb.ro
No Mail.
No Plan.
Received on Wed Dec 17 2003 - 18:07:12 MST

This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:16 MST