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

From: Shekhar Gupta <shekharsahab14_at_gmail.com>
Date: Mon, 2 Mar 2009 15:45:03 +0530

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
<davidrf_at_gmail.com> wrote:
> 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 <shekharsahab14_at_gmail.com> wrote:
>> I didn't get this , why can't ?
>>
>> On Mon, Mar 2, 2009 at 2:27 PM, David Rodríguez Fernández
>> <davidrf_at_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 <shekharsahab14_at_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 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 still takes (192.168.1.1) and
>>>> go to internet ?????? what is wrong why is this happening .
>>>
>>
>
Received on Mon Mar 02 2009 - 10:15:12 MST

This archive was generated by hypermail 2.2.0 : Mon Mar 02 2009 - 12:00:02 MST