Get list of machines in the network
I have a fedora machine running on a windows 7 machine over vmware. I am in a pretty small network with around ~50 machines on the network. What i want now is to get the list of machines and the ips on the network.
How can I achieve this? |
what would be on this list? you can certainly scan networks for machines that exist, but outside of their IP and, on your local subnet, their MAC address you aren't going to necessarily know anything else, like their hostname. for ping sweeps, i'd recommend using fping
|
Quote:
Quote:
Quote:
|
right, but you've not used it at all correctly. read the manpage for usage.
|
How about:
Code:
nmap -sP NETWORK_ADDRESS/NETMASK Code:
nmap -sP 192.168.0.0/24 |
Checking
|
Quote:
Quote:
|
as I already said, you can't get this easily. I presume smbclient could tell you on a per machine basis.
|
I guess the machine name you actually want to see is the NetBIOS name.
If you know the IPs of the machines you could issue a nmblookup query (see man nmblookup) or you could still use nmap as follows: Code:
nmap -F --script=nbstat 172.22.0.0/16 |
All times are GMT -5. The time now is 09:24 PM. |