Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-13-2009, 04:19 PM   #1
LQ Newbie
Registered: Dec 2005
Posts: 1

Rep: Reputation: 0
Ethernet MAC Addresses database; MAC address-based processing

I have an idea regarding a standard Ethernet device.

I would like to have it know the MAC address of several other devices so that it can record traffic from each device or possibly process in some way the data from each device.

For example, if my device knew the MAC addresses of four other devices I could add something to a log, e.g., timestamp and number of bytes.

I do not have an application yet. Would be interested in knowing how to do this and if it has already been done.

Old 04-14-2009, 09:59 AM   #2
Registered: Sep 2004
Location: Old York, North Yorks.
Distribution: Debian 7 (mainly)
Posts: 653

Rep: Reputation: 97
There are some programs available with similar functionality, such as iptraf. This can certainly show you other machines' MAC addresses. Can't remember exactly what it logs (at work at the mo', and don't have my Eee with me). There is also Wireshark of course, and if you did want to build your own you could use the source code of these as a starting point.

You may hit a snag, though, depending on how your machines are connected. If it's through a passive hub, each machine will be able to see the traffic between all the others. If it's a switch, on the other hand (and most "hubs" these days are switches), the machine will only be able to see its own and broadcast frames.


ethernet, mac, processing

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
MAC address based client restrictions aliasgherman Linux - Networking 1 04-10-2007 05:53 PM
iptables based on MAC address shrinivas.bura Linux - General 1 11-16-2006 12:18 AM
MAC Address based hostname hogg85 Linux - Networking 2 06-13-2005 01:51 PM
multiple mac addresses per ip address dwater Linux - Networking 1 04-23-2004 03:53 AM
Get IP based on Mac address sunmiewon Linux - Networking 4 01-31-2004 07:18 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:07 AM.

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