LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   tool to gather network information (http://www.linuxquestions.org/questions/linux-networking-3/tool-to-gather-network-information-404756/)

paul_mat 01-17-2006 10:35 PM

tool to gather network information
 
hi there,

i'm looking for a tool to gather network information from all the machines on the network, most importantly (host name, IP address, MAC address).

it would be great if it was a command line tool.

can anyone suggest one?

bathory 01-18-2006 02:19 AM

Since you want a command line tool, I think nmap is what you're looking for.

paul_mat 01-18-2006 04:45 AM

okay, i've looked at nmap and i can't see how that would work? can you give me an example?

i'm looking to search the whole network for MAC addresses & IP addresses

bathory 01-18-2006 05:01 AM

This shoud do what you want:
Code:

nmap  -sP 192.168.0.0/24
Read the man pages for more info.


All times are GMT -5. The time now is 03:50 PM.