Search squid archive

Re: What is the reason & how to solve this

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Rodríguez Fernández wrote:
On Tue, Mar 3, 2009 at 9:03 PM, Chris Robertson <crobertson@xxxxxxx> wrote:
David Rodríguez Fernández wrote:
On Mon, Mar 2, 2009 at 9:11 AM, Shekhar Gupta <shekharsahab14@xxxxxxxxx> 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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux