How to find IP address of a machine on network?

Derek Broughton derek at
Sat Jan 17 00:58:41 UTC 2009

Matthew Flaschen wrote:

> Thomas Kaiser wrote:
>> You can use nmap in a terminal to scan the network for open ports.
>> thomas at AMD64:~$ nmap 192.168.0.*
> Port-scanning doesn't tell him which computer has which IP, only that
> there are several computers, each with /an/ IP.  He said, "there are a
> few devices which get their address by DHCP".

I'm not seeing the difference here - nmap certainly shows all the computers 
on my local network, with names (if we know them) and IPs - and all of them 
got their address by DHCP, so why do you think it won't tell which computer 
has which IP? (in fact, you never know which "computer" has an IP, only 
which MAC address - which is generally, but not always, close enough).

More information about the ubuntu-users mailing list