LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-10-2011, 02:27 PM   #1
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
is there an ethernet ping tool?


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.
 
Old 10-10-2011, 03:05 PM   #2
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
You can, or you used to be able to, ping a MAC address to/from Cisco routers, but generally speaking I don't think most kit supports this.
 
Old 10-11-2011, 05:24 PM   #3
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
I found this: http://wiki.wireshark.org/Loop

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)".

See also: http://en.wikipedia.org/wiki/EtherType
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ping tool ckgilliam Linux - Networking 4 11-15-2010 07:42 PM
unable to ping virtual ethernet Winanjaya Linux - Networking 1 03-24-2010 02:54 PM
Ping wifi from ethernet tassadaque Linux - Wireless Networking 5 09-04-2008 12:08 PM
tool to help understand ethernet driver kapsikum Programming 7 06-07-2008 12:43 AM
Questions related to ppp0 interface and Ethereal and ping tool kavitaB Linux - Software 0 07-02-2006 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration