If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

LAN DOS command

Hi, i have a LAN at my house, and i was wondering if there was a command in DOS that would let me see all the IPs of every individual computer that is on my network. I only have 3 computers. All of them connect through a Router. And I have file sharing enabled. Any answers would be appreciated.

well you could look at the router interface and find out that way, or you can goto each individual computer and type "ipconfig"... if you would like to access shared resorces you can always click on "network naborhood" (if you are using windows)... as far as a DOS command i am not awaire of one....

a port scanner is always a good option as well...

one way to make it a little easyer is to use the DHCP service on your router to give each of your computers a static IP address..... if you need help doing this please ask....

A quick way can be to use the ping broadcast. e.g., if you are using 192.168.1.x for an ip range then do ping -t 192.168.1.255. After about 15-20 seconds hit CTRL+C to stop it and then arp -a to see a listing.

Hi, "net view" should give you a list of computer names. You can then find their IP addresses easily... I'm not sure on which Windowses the command is available. Also, my box/network is so "secured" that net view doesn't work.

If you have a W2K/XP box, a brute force solution can be used:
for /L %i in (1,1,254) do ping -n 1 192.168.1.%i
::while waiting the for loop completes, you can see which IP is responding
arp -a

Peace always,&lt;jdenny&gt;

Always listen to experts. They\'ll tell you what can\'t be done and why. Then go and do it. -- Robert HeinleinI\'m basically a very lazy person who likes to get credit for things other people actually do. -- Linus Torvalds

jdenny?: for /L %i in (1,1,254) do ping -n 1 192.168.1.%i &lt; that was pretty cool, it said bad parameter for all of them though.

Really? What's your win version? Can you post the detailed message?

net view only gives me the computer names not their IPs.

Do a "ping computer_name" for each of them... If you have NetBIOS over IP or NetBeui enabled, it should work.

Peace always,&lt;jdenny&gt;

Always listen to experts. They\'ll tell you what can\'t be done and why. Then go and do it. -- Robert HeinleinI\'m basically a very lazy person who likes to get credit for things other people actually do. -- Linus Torvalds