Our network gave an error that there was an IP address conflict and I'd like to find what all the device IP addresses are. (I've also had need of that before). (update/clarification:I'm looking for a Windows-based too.)
Any suggestions?
I've read suggestions for various tools (Look@Lan, Angry IP Scanner) and I'm looking for suggestions from people who have used these or other tools.
If there's a unix box on the network, you could try arp-scan:
ARP scanner | Linux man page
Using nmap to do a sweep of the subnet is one quick and simple way to do this that I've used before, the various options will allow you to do a more detailed inspection also.
As mentioned nmap (http://nmap.org/) is probably a good, quick and free option. Just be careful with it, there are some very aggressive options that could crash machines.
This command will do a simple ping sweep of the selected subnet and should be completely safe.
Obviously, replace with your own network information.
You mentioned that a duplicate IP address was identified. Both machines should have generated a warning screen, which should allow you to identify the machines. If DHCP is used, then another request should have been generated and the problem may have self resolved.
Quick and dirty (on Linux):
A list of IP addresses on the LAN will be of limited help, as the issue is there are two machines trying to use the same IP address.
I would suggest that you attempt to find the MAC addresses of the two machines that are clashing.
What device logged the IP address conflict? Was it a server, router, etc.? Some platforms (Solaris and BSD) will log the MAC address of the offending host along with the error message. If the IP address in question is within one of your DHCP pools, it's also worth checking your DHCP server's logs for the MAC address it's attempting to assign that IP address to.
Failing that, I would recommend logging on to the default router of the subnet that this problem is occurring on, and monitoring the ARP table. There should be one IP address that flips between multiple MAC addresses; again, those two MAC addresses represent the devices you are interested in.
Once you have the MAC addresses of the two devices, you should be able to tie them to specific switch ports. This question provides more information on how to do that. You can also use an OUI lookup tool to help identify the manufacturer of each device.
NMap should give you what you're looking for (or ZenMap if you want a friendlier interface).
As an added bonus, it'll also detect all the services that the other computers are running, and possibly make your IDS (intrusion detection system) freak out.
You didn't say if it had to be a Linux app.
If you can use Windows, Advanced IP Scanner is free and works very well.
I've always been a fan of Angry IP Scanner.
Yes, not as full featured as NMAP, but can show quite a bit of data quickly.
If you have access to the router that's acting as the default gateway for the subnet in question, then listing the ARP cache on the router (I believe it's just "show arp" on a Cisco IOS device) is the best way to go.
The other answers in this thread (ping sweeps, nmap, broadcast pings, etc) are likely to be inadequate these days with so many systems running personal/host based firewalls that block pings, etc.
The router arp cache may still not be 100%. It won't show any hosts that haven't communicated within the arp timeout period, or at least that haven't communicated off subnet within the arp timeout period. But in most cases it's much more likely to get you more complete results than any other method.
From the good (bad?) old days, I used to use a tool called WS_PING - from the same people who provided the venerable WS_FTP.
It's only a trial, but you can grab it from http://www.whatsupgold.com/products/ws_ping-propack/ - it'll do everything you want and do it from Windows 95!