>>>>> "Binand" == Binand Raj S <[EMAIL PROTECTED]> writes:
Binand> Raju Mathur forced the electrons to say:
>> Pinging your own IP addresses never gets to the interface to
>> which those IP's belong. The ethernet/PPP/whatever driver
>> never sees those packets since IP hands them over to the
>> loopback interface internally.
>>
>> In other words, you can never ``ping yourself via ethernet''.
Binand> Hmm... never knew this.
Binand> A related question: What if I ping from one IP address to
Binand> another, both of the same machine? ie, if my eth0 is
Binand> 192.168.100.1 and my eth0:1 is 192.168.200.1, then does
Binand> the card get to see these packets? What if they are eth0
Binand> and eth1? Or even eth0 and ppp0?
Binand> In other words, does the kernel first check whether the
Binand> destination address is one of its own or not before
Binand> sending a packet to the correct interface?
Yes. In all cases, if the destination IP is local, packets will be
routed over loopback. You can verify this using netstat -i on
quiescent interfaces.
Regards,
-- Raju
-----------------------------------------------------------------------
The LIH mailing list archives are available at:
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help