Re: [squid-users] What is the reason how to solve this

2009-03-04 Thread David Rodríguez Fernández
On Tue, Mar 3, 2009 at 9:03 PM, Chris Robertson crobert...@gci.net wrote: David Rodríguez Fernández wrote: On Mon, Mar 2, 2009 at 9:11 AM, Shekhar Gupta shekharsaha...@gmail.com wrote: I am running 2 squid instance on 2 Diffrent IP address on a Single server . NIC1 - 192.168.1.1:8080

Re: [squid-users] What is the reason how to solve this

2009-03-04 Thread Chris Robertson
David Rodríguez Fernández wrote: On Tue, Mar 3, 2009 at 9:03 PM, Chris Robertson crobert...@gci.net wrote: David Rodríguez Fernández wrote: On Mon, Mar 2, 2009 at 9:11 AM, Shekhar Gupta shekharsaha...@gmail.com wrote: I am running 2 squid instance on 2 Diffrent IP address on a

Re: [squid-users] What is the reason how to solve this

2009-03-03 Thread Chris Robertson
Shekhar Gupta wrote: I am running 2 squid instance on 2 Diffrent IP address on a Single server . NIC1 - 192.168.1.1:8080 installed to /squid1/ NIC2 - 192.168.1.2:8080 installed to /squid2/ When i am specifying 192.168.1.1:8080 it takes this IP and go to Internet whcih is Fine When i am

Re: [squid-users] What is the reason how to solve this

2009-03-03 Thread Chris Robertson
David Rodríguez Fernández wrote: On Mon, Mar 2, 2009 at 9:11 AM, Shekhar Gupta shekharsaha...@gmail.com wrote: I am running 2 squid instance on 2 Diffrent IP address on a Single server . NIC1 - 192.168.1.1:8080 installed to /squid1/ NIC2 - 192.168.1.2:8080 installed to /squid2/ When i am

[squid-users] What is the reason how to solve this

2009-03-02 Thread Shekhar Gupta
I am running 2 squid instance on 2 Diffrent IP address on a Single server . NIC1 - 192.168.1.1:8080 installed to /squid1/ NIC2 - 192.168.1.2:8080 installed to /squid2/ When i am specifying 192.168.1.1:8080 it takes this IP and go to Internet whcih is Fine When i am specifying 192.168.1.2:8080 it

Re: [squid-users] What is the reason how to solve this

2009-03-02 Thread David Rodríguez Fernández
You can't have two IP from the same network on different nic. On Mon, Mar 2, 2009 at 9:11 AM, Shekhar Gupta shekharsaha...@gmail.com wrote: I am running 2 squid instance on 2 Diffrent IP address on a Single server . NIC1 - 192.168.1.1:8080 installed to /squid1/ NIC2 - 192.168.1.2:8080

Re: [squid-users] What is the reason how to solve this

2009-03-02 Thread Shekhar Gupta
I didn't get this , why can't ? On Mon, Mar 2, 2009 at 2:27 PM, David Rodríguez Fernández davi...@gmail.com wrote: You can't have two IP from the same network on different nic. On Mon, Mar 2, 2009 at 9:11 AM, Shekhar Gupta shekharsaha...@gmail.com wrote: I am running 2 squid instance on 2

Re: [squid-users] What is the reason how to solve this

2009-03-02 Thread David Rodríguez Fernández
If you put two nic with 2 IP from the same network the kernel can't know how route. If you need two ip from the same network, you can add the second IP as an alias on the same nic. On Mon, Mar 2, 2009 at 10:52 AM, Shekhar Gupta shekharsaha...@gmail.com wrote: I didn't get this , why can't ? On

Re: [squid-users] What is the reason how to solve this

2009-03-02 Thread Shekhar Gupta
I got this point however the source IP should be the one which is specified on the interface , then why all the packets are taking the previous IP as source IP ... On Mon, Mar 2, 2009 at 3:29 PM, David Rodríguez Fernández davi...@gmail.com wrote: If you put two nic with 2 IP from the same

Re: [squid-users] What is the reason how to solve this

2009-03-02 Thread David Rodríguez Fernández
I think I don't understand you. You says that the traffic from squid server to Internet, the source IP, is always from 192.168.1.1? This is normal, because the server only have one route to internet and this route specifies only one source IP. The destination IP to squid connection is not