![]() |
|
|
|
Free minder
|
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 |
||
![]() |
|
Registered
|
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/
__________________
-The Mikester I heart Boobies Last edited by mikester; 01-04-2007 at 08:56 AM.. |
||
![]() |
|
Registered
Join Date: Sep 2004
Posts: 3,650
|
Ip sniffer will do this. It's not a Dos command but it'll do:
http://www.snapfiles.com/get/ipsniffer.html |
||
![]() |
|
Free minder
|
Thanks!
Aurel
__________________
1978 SC Targa, DC15 cams, 9.3:1 cr, backdated heat, sport exhaust https://1978sctarga.car.blog/ 2014 Cayenne platinum edition 2008 Benz C300 (wife’s) 2010 Honda Civic LX (daughter’s) |
||
![]() |
|
Back in the saddle again
Join Date: Oct 2001
Location: Central TX west of Houston
Posts: 55,868
|
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:
__________________
Steve '08 Boxster RS60 Spyder #0099/1960 - never named a car before, but this is Charlotte. '88 targa ![]() |
||
![]() |
|
Registered
|
Quote:
That's a much better answer, I concede defeat.
__________________
-The Mikester I heart Boobies |
||
![]() |
|
![]() |
Back in the saddle again
Join Date: Oct 2001
Location: Central TX west of Houston
Posts: 55,868
|
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
__________________
Steve '08 Boxster RS60 Spyder #0099/1960 - never named a car before, but this is Charlotte. '88 targa ![]() |
||
![]() |
|
Registered
Join Date: Sep 2004
Posts: 3,650
|
Quote:
|
||
![]() |
|
19 years and 17k posts...
|
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...
__________________
Art Zasadny 1974 Porsche 911 Targa "Helga" (Sold, back home in Germany) Learning the bass guitar Driving Ford company cars now... www.ford.com |
||
![]() |
|
Free minder
|
Quote:
Aurel |
||
![]() |
|
Registered
|
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
__________________
Tim 1973 911T 2005 VW GTI "Dave, hit the brakes, but don't look like your htting the brakes...what? I DON'T KNOW, BRAKE CASUAL!!!" dtw's thoughts after nearly rear ending a SHP officer |
||
![]() |
|
Registered
Join Date: Aug 2002
Location: MD
Posts: 5,733
|
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.
|
||
![]() |
|
![]() |
Senior Member
Join Date: Jun 2000
Location: N. Phoenix AZ USA
Posts: 28,943
|
Good info!
__________________
2013 Jag XF, 2002 Dodge Ram 2500 Cummins (the workhorse), 1992 Jaguar XJ S-3 V-12 VDP (one of only 100 examples made), 1969 Jaguar XJ (been in the family since new), 1985 911 Targa backdated to 1973 RS specs with a 3.6 shoehorned in the back, 1959 Austin Healey Sprite (former SCCA H-Prod), 1995 BMW R1100RSL, 1971 & '72 BMW R75/5 "Toaster," Ural Tourist w/sidecar, 1949 Aeronca Sedan / QB |
||
![]() |
|
Registered
Join Date: Mar 2003
Posts: 10,319
|
With DHCP on the LAN, just check your leases file. Otherwise, use something fun like nmap to search for active machines on your subnet.
__________________
“IN MY EXPERIENCE, SUSAN, WITHIN THEIR HEADS TOO MANY HUMANS SPEND A LOT OF TIME IN THE MIDDLE OF WARS THAT HAPPENED CENTURIES AGO.” |
||
![]() |
|
Registered
Join Date: Jan 2002
Location: VA
Posts: 3,573
|
From a CMD prompt: net view
__________________
'06 Cayman S '16 Cayenne '08 Audi RS 4 |
||
![]() |
|