What are the devices connected to my network?

How many and what are the devices on your network? It's easy to know, you need only a simple command!

What are the devices connected to my network?

To know what devices (computers, network printers, routers, hardware firewall, etc..) are connected to your network, you can use the command nmap.

If it isn't available on your system, you have to install it. For Ubuntu systems, please type:

sudo apt-get install nmap

Assuming that our network is 192.168.1.0, the command syntax is as follows:

nmap -v -sP 192.168.1.0/24 | grep -E 'to be up\.$|^MAC'

And here's what could be a possible output:

Host mygateway1.ar7 (192.168.1.1) appears to be up.
Host 192.168.1.2 appears to be up.

Publication details

Category: Ubuntu e Linux

Published by: loris.genetti on date: 16.02.2008 11:18:35

Last edit by: loris.genetti on date: 02.04.2008 16:54:26

Statistics

Details  This article has been viewed 4.547 times.

Send to

add to digg add to reddit add to furl add to facebook add to delicious add to google add to technorati

Ratings

  • Currently 0; ?>/ TOTALSTARS
  • 1
  • 2
  • 3
  • 4
  • 5

Comments

Details 4 user comments, 0 still waiting.

  1. Comment by: CODAY on date: 20.06.2008 19:37:46

    One thing to note is you can't see computers who drop ping packets they will be displayed as down.

  2. Comment by: loryzz on date: 20.06.2008 19:57:45

    Yes, it's not a 100% complete solution, but it's very useful for many application that concern networking.

  3. Comment by: busby seo test on date: 30.10.2008 16:57:12

    It’s basic stuff, but I know from my own peer interaction that many are not really online at all.

  4. Comment by: seo techniques on date: 14.09.2009 18:28:57

    I would like to thannk you for the efforts you have made in writing this article.

Leave a comment

All comments must be approved by site administrator.
Please write comments on topic. Spam will be never approved.


Confirmation code

Please take a look to image and insert character into the form field.