RE: [2.4 PATCH] bugfix: ARP respond on all devices

From: Daniel Gryniewicz
Date: Tue Aug 19 2003 - 14:33:11 EST


On Tue, 2003-08-19 at 08:35, Alan Cox wrote:
> You increase it and you shortcut on shared lans. Thats really a seperate
> issue to the question of which source is used. If you loopback someone
> elses address on your own lo device I'm not suprised weird shit happens,
> put the alias on eth0 where it belongs.

Only if you are on a shared lan. If you are not on a shared lan, then
it will *ONLY* work if linux is on the other end. No other system will
work. And, you don't need an alias on loopback. Merely changing the
default route will result in this. Change default route from gw 1.1.1.1
on eth0 to gw 2.2.2.2 on eth1 (making sure that 2.2.2.2 doesn't have an
arp entry), and linux will say, on eth1:
whohas 2.2.2.2 tell 1.1.1.2
where 1.1.1.2 is the address on eth0. No one will respond to this, so
all communication from beyond a directly connected network will now
fail.

--
Daniel Gryniewicz <dang@xxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/