title: Locating computer on subnet/network
body: <p>Here is situation: I have special device that I can communicate via ethernet. It's connected to my computer via ethernet cable and the problem is that these devices are changed from time to time and they have different IP addresses. They always start 192.168. and the rest might be different. Device answers to IMCP (ping). Right now we have a list of IPs and we ping them to find device. We always know that there is only two devices on this network (this special device and laptop).</p>
  
  <p>So I am looking for a solution which would find the computers on 192.168.255.255 subnet and according that I would reconfigure interfaces, bring them down/up and after that I could connect to device. How you have to manually configure the stuff.</p>
  
  <p>Ideas how to locate computers under this subnet? I know that you can do broadcast ping, like:
  ping 192.168.1.255
  But it doesn't work for 192.168.255.255</p>
  
  <p>I could use nmap, but that would probably would take time, something like: nmap -n -sP 192.168.0.0/24</p>
  
  <p>But I also already have to be on subnet 192.168.255.255 as I understand. </p>
  
  <p>I am looking for why how to configure everything and find all machines on this very small local network with only two machines.</p>
  
  <p>Thanks,
  -david</p>