LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-13-2009, 03:19 PM   #1
cctualatin
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.

Regards!
 
Old 04-14-2009, 08:59 AM   #2
Robhogg
Member
 
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.
 
  


Reply

Tags
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 04:53 PM
iptables based on MAC address shrinivas.bura Linux - General 1 11-15-2006 11:18 PM
MAC Address based hostname hogg85 Linux - Networking 2 06-13-2005 12:51 PM
multiple mac addresses per ip address dwater Linux - Networking 1 04-23-2004 02:53 AM
Get IP based on Mac address sunmiewon Linux - Networking 4 01-31-2004 06:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:10 AM.

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