PDA

View Full Version : How do you find all the IP addresses of your home network?


Mini-Me
10-21-2009, 03:12 AM
As per the thread title, is there any command I can run at the command-prompt, or any free application I can run within Windoze to show me all the names and IP addresses of the machines on my home network?

I manually assign IP addresses to the machines, to control which machine has access to the net. Basically by not using DHCP and not typing in a gateway address at all, the machines setup like this, can see the internal home network, can see each other, but cannot see the Internet - exactly how I want it.

BUT, as I am throwing out IP addresses whenever I need them, and have not written them down, and, frankly, am too lazy to ipconfig on each of the machines then write it down, I thought there might be a way of easily doing that from one machine.

...yes, i'm very lazy... :p

PrntRhd
10-21-2009, 03:29 AM
How I would do it is simply choose a limited range scheme for each type of device on the network.
For instance:
xxx.xxx.xxx.100 to .110 for PCs
xxx.xxx.xxx.050 to .060 for printers
xxx.xxx.xxx.001 to .005 for servers

Once you have your limited ranges you can ping to determine the actual address used.

Or simply label each device with the IP address and the name with a labelmaker.

jlreich
10-21-2009, 12:17 PM
At a cmd prompt you can use

arp -a

That will give you IP's and MAC's but no names. Note that it will also list any machines you are connected to on the internet at that time, so don't freak out is you see an IP listed that you don't recognize. You can then run

tracert IP

and it will give you the machine name of that IP. You will have to run tracert for each IP so it will be a little work. May or may not be easier than going to each machine and simply looking at the IP address.

Another way is to use Wireshark, while you have it capturing network activity go into your network and connect to a machine and you will be able to see the IP that it is connecting to.

There are tools out there that do what you want and more, but they are more along the lines of hacker tools so they don't get mentioned out in the open too often. ;)

Paul Komski
10-21-2009, 08:52 PM
Angry IP Scanner (http://www.angryip.org/w/Download)

PrntRhd
10-21-2009, 11:48 PM
That works pretty good Paul.
:D

Paul Komski
10-22-2009, 02:55 AM
It's a handy tool alright but it bugs me how it resolves the LAN IP addresses to Computer Names. It seems likely to be querying the DNS Server(s) as outlined in one's ipconfig command output but don't know how. It's not querying the hosts file because, in my own case, the file has no entries. There are C and C++ functions that can query DNS Servers with calls such as getnameinfo (http://msdn.microsoft.com/en-us/library/ms738532%28VS.85%29.aspx) but I wonder if there is a straightforward console command that can retrieve the same information. Or else maybe some way to broadcast something to each collected live IP address that will get that Computer to reply with its own Name. On my own network just now with Puppy Linux running on one PC its IP is listed correctly but it just shows N/A for the name resolution. I don't know if that implies that the other WinXP and Win2K boxes are using WINS.

Can anyone throw any light on this aspect?

Mini-Me
10-22-2009, 04:05 AM
I can't get it to work at all - double-click the exe, and nothing happens, no window opens - nothing happens... :confused:

EDIT: No Java - installing now, and maybe it will then...

Paul Komski
10-22-2009, 04:15 AM
I use the stable version and haven't tried the beta.

Mini-Me
10-22-2009, 04:32 AM
Java installed, and it works now - neat!
:)
Tells me everything i wanted to know - thanks.

jlreich
10-22-2009, 10:31 AM
The beta didn't run for me on vista either. The stable version is fine though. Works good and not a hacker tool. :)

agenlu
10-24-2009, 11:36 AM
Try this:

http://www.radmin.com/products/utilities/ipscanner.php