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!
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.
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
Based total views
Leave a comment
All comments must be approved by site administrator.
Please write comments on topic. Spam will be never approved.