Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was working on Centos and getting familiar with yum and I would like to know how to know which devices are connected to my network and see their respective IP and Mac address... Any ideas?


share|improve this question
For IPv6, ping the "all nodes" address: ping6 -n2 ff02::1%eth0 – grawity Dec 17 '12 at 22:15

To 'scan' the network you can:

  • Try to ping the broadcast address. For IPv4 this is the one ending in all zeros. (e.g. for that would be
  • For Iv6 see the comment from gravity: ping6 -n2 ff02::1%eth0.
  • Or scan the network using nmap. (text based)
  • Or scan the network using zenmap. (a GUI front end to nmap)
  • Or, if they all use DHCP, check the DHCPd logs. In many home networks this is trivially done by logging into the [wireless] router.

[Edit] This is not a complete list. But it should help you get started.

share|improve this answer
up vote 1 down vote accepted

Using nmap a lot of info can be regarded..

nmap -A -v -v 192.1680.0/24 gives a lot of information, even SO in some cases

nmap -sP gives the MAC and IP adresses. Very Usefull too

sudo nmap -PU explains every ip

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .