LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 04-13-2009, 04:19 PM   #1
cctualatin
LQ Newbie
 
Registered: Dec 2005
Posts: 1
Thanked: 0
Ethernet MAC Addresses database; MAC address-based processing


[Log in to get rid of this advertisement]
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!
cctualatin is offline  
Tag This Post , , ,
Reply With Quote
Old 04-14-2009, 09:59 AM   #2
Robhogg
Member
 
Registered: Sep 2004
Location: solihull.w-mids.uk
Distribution: Debian 5.0, CentOs
Posts: 499
Thanked: 41
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.
Robhogg is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


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

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration