1
1
Is there a command in Ubuntu or OSX which will tell me if there are two machines on the subnet with the same IP address? So I can fix the problem.
Perhaps, there is a tool that generates a table of IP addresses/machine names on the subnet?
ANSWER
I found a good solution through this link:
When I tried:
sudo arp-scan -I eth0 -l
I found that an internet printer had the same IP as my new machine.
On Ubuntu, you can install using this command:
sudo apt-get install arp-scan
In my particular case, I was getting flaky ssh behavior - sometimes, I would get connection refused. Other times, I would connect fine, but the connection would get dropped after some random period of time. Given that two devices had the same static IP on the subnet, this behavior actually made sense.
Did you know that you can actually answer your own question on superuser.com? Might be worth posting your "edit" as answer, since that seems a really neat tool. – Stefan Seidel – 2013-04-24T19:29:55.173