Re: Testing Dual Ethernet via Loopback

From: Pavel Machek
Date: Thu Apr 22 2004 - 15:07:56 EST


> So what I'm wondering is if there is a way to force Linux to actually
> utilize its network hardware in sending these packets to itself? In other
> words, a ping or file transfer from an IP assigned to eth0 to another IP
> assigned to eth1 should fail if I unplug the network cable connecting the
> two. Any advice on this would be much appreciated. I'm not afraid of
> reading kernel source but have no idea where to start on this one.

tcpdump on eth0, ping non-existant IP on eth1?
64 bytes from icmp_seq=28 ttl=51 time=448769.1 ms

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at