Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-02-2007, 01:42 PM   #1
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429
Blog Entries: 2

Rep: Reputation: 30
Discover IP devices


I need to periodically update devices attached to an IP network according to their MAC address.

What is the best way to discover devices and their IP and MAC addresses?

I do not have access to the dhcp.releases file.

Thank you very much,
Old 12-02-2007, 02:04 PM   #2
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 64
Check out arp-scan

Old 12-02-2007, 03:00 PM   #3
Registered: Feb 2003
Location: Belgium
Distribution: Debian
Posts: 166

Rep: Reputation: 31
you could creating a shell script (use for loops) that uses the command arping (iputils-arping). you'll get a line with this as output:
Unicast reply from [00:14:C1:0F:54:5A]  0.585ms
the code in the for loop should be about this, assuming you use 3 loops:
arping -w 1 -c 1 10.$x.$y.$z

Last edited by restless; 12-02-2007 at 03:03 PM.


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
How would I discover hostnames? ingrix Linux - Networking 9 06-12-2007 07:30 AM
Can't discover bluetooth pc. Guitarist88 Linux - Hardware 3 03-12-2007 01:44 PM
How to discover my rwin value mooreted Linux - Networking 0 12-14-2003 04:42 PM
Compiling discover-2.0.1 Crazed123 Linux - Software 0 12-06-2003 11:05 PM
how to discover essid penguinview Linux - Networking 4 07-14-2003 12:46 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:52 PM.

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