![]() |
Question for IT geeks
Is there a MS-DOS instruction that gives a listing of the IP adresses of all computers in a LAN network? Something similar to ipconfig, but for all the PCs my PC can see on the LAN? TIA
Aurel |
No, not really - you would need to get an external program to really do that.
You can try arp -a which will show all the arp entries you computer knows about but that will only show things on the local subnet your computer is actually talking too. You can also do a netstat -an which will show any established connections to your computer. Lastly you can do a ping to the network broadcast address but that address depends on the size of the subnet on your network. For example is your network is 192.168.100.0 with a netmask of 255.255.255.0 the broadcast address is 192.168.100.255. if you ping that address then all hosts on that network will answer, if you're using Linux/UNIX you'll need to add a -b to the end of the command. Most routers won't allow this sort of ping to occur. Your best bet is to use an IP scanner like this one: http://www.angryziber.com/ipscan/ |
Ip sniffer will do this. It's not a Dos command but it'll do:
http://www.snapfiles.com/get/ipsniffer.html |
Thanks!
Aurel |
You can ping 224.0.0.1 and then arp -a.
224.0.0.1 is a special multicast address that requestes that all hosts on a network reply. And then with the arp -a you should see a list. You should actually be able to see the hosts as they reply so the arp -a is not 100% necessary. This may not work for PCs that have Windows XP firewall enabled. Here's a sample of what you'd get. Quote:
|
Quote:
That's a much better answer, I concede defeat. |
if you want a good windows scanner, superscan is a pretty good one as well.
http://www.foundstone.com/index.htm?subnav=resources/navigation.htm&subcontent=/resources/proddesc/superscan.htm |
Quote:
|
You can download a good scanner from GFI LanGuard that won't cost you anything for a 30 day trial. It will tell you more than you want to know...
|
Quote:
Aurel |
224.0.0.1 produced some interesting results on my end. I get about 4-5 of the 100+ machines on my subnet to reply, even though I can manually ping machines that don't reply to the 244.0.0.1 ping. What I did in this situation was to create a batch file to ping each machine in the subnet then check to see if there was a resulting arp table entry
|
You need to make sure your routers are forwarding multicast for that to work. On a simple flat network it should work fine. If you are using dhcp you should have a report on the server.
|
Good info!
|
With DHCP on the LAN, just check your leases file. Otherwise, use something fun like nmap to search for active machines on your subnet.
|
From a CMD prompt: net view
|
All times are GMT -8. The time now is 02:28 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website