David Rodríguez Fernández wrote:
> On Tue, Mar 3, 2009 at 9:03 PM, Chris Robertson <crobertson_at_gci.net> wrote:
>
>> David Rodríguez Fernández wrote:
>>
>>> 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 .
>>>>
>>>>
>>> You can't have two IP from the same network on different nic.
>>>
>>>
>> Sure you can. You can also have two IPs from the same network on the SAME nic. Since they are on the same network they can both directly access the same gateway.
>>
>> Chris
>>
>
> Shekhar says NIC1 and NIC2 he don't say same nic.
>
Right. I saw that. My response "Sure you can" was in response to your
contradiction of that statement.
I further expanded my assertion of what's possible (by saying "You can
also...") to assigning the two IPs on the same network to the same NIC.
Either one works.
Chris
Received on Wed Mar 04 2009 - 22:06:31 MST
This archive was generated by hypermail 2.2.0 : Thu Mar 05 2009 - 12:00:02 MST