No properly configured ethernet hub or router will return you the
same packet you sent. You can get some of this information out of the
drivers though, as their hardware knows the link state, at least the
Check out Becker's mii-diag program. There are some options
in it to dump out all kinds of neat information about the drivers
and link condition.
> The nitty-gritty on this is that I have a machine that has two NICs but only one
> IP address. I want to do some kind of packet loopback at the ethernet layer to
> verify that my NIC transceiver is working properly.
Ping your switch. Or use something like ethernet channel bonding.
If both ports are up, then you should be able to send a pkt
from one NIC with your other NICs MAC in it, and the switch should deliver
that pkt to your other NIC. However, if you don't receive the packet, you
cannot determine which one of your links/NICs is bad without going to
a third party (which I suggest should be your switch itself).
-- Ben Greear <firstname.lastname@example.org> <Ben_Greear@excite.com> President of Candela Technologies Inc http://www.candelatech.com ScryMUD: http://scry.wanfear.com http://scry.wanfear.com/~greear - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/