On Fri, May 05, 2000 at 12:11:56PM +0530, Binand Raj S. wrote:
> Hmm... never knew this.
>
> A related question: What if I ping from one IP address to another, both of the
> same machine? ie, if my eth0 is 192.168.100.1 and my eth0:1 is 192.168.200.1,
> then does the card get to see these packets? What if they are eth0 and eth1?
> Or even eth0 and ppp0?
>
That's a typical setup for people who write network drivers. But Linux
doesn't work properly for that setup, because it returns
arp(ip2) = nic1
arp(ip1) = nic1
when the correct behavior is:
arp(ip2) = nic2
arp(ip1) = nic1
Alan Cox rejected a patch on the grounds that it's a performance issue
and the above setup is not used in production.
-Arun
-----------------------------------------------------------------------
For more information on the LIH mailing list see:
http://lists.linux-india.org/lists/LIH