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@xxxxxxxxx> 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@xxxxxxxxx> wrote: >> I didn't get this , why can't ? >> >> On Mon, Mar 2, 2009 at 2:27 PM, David Rodríguez Fernández >> <davidrf@xxxxxxxxx> 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@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 . >>> >> >