Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is there an ethernet ping tool? What I'm thinking about is a tool that opens a raw socket (requires root access, of course), bound to a specified interface (option to send over all ethernet interfaces at once would be nice), and send an ethernet frame to a specified MAC address. The frame needs to be something that would evoke some kind of response if the ethernet path to there and back is working. I just don't know if ethernet itself has anything that would do this outside of the scope of ARP, IP, or IP6.
One thing that would be important is to NOT give a false response on another interface. If a machine two interfaces on a given ethernet LAN such that a frame destined for eth0 can be seen by eth1, and if eth0 is non-functional, then seeing that frame over eth1 (as long as eth1 is not configured to fake the MAC of eth0) must not result in a response.
I'm currently doing pings to IPv6 link addresses. That gives me what I want in some cases, but is a bit inconvenient. In other cases it doesn't work at all because the machines don't have IPv6 implemented, deployed, or enabled.
It appears that wireshark will not actually trigger this, but will capture any activity. So there appears to be a mechanism available to do this with ethertype 0x9000 named "Configuration Test Protocol (Loop)".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.