Pelican Parts
Parts Catalog Accessories Catalog How To Articles Tech Forums
Call Pelican Parts at 888-280-7799
Shopping Cart Cart | Project List | Order Status | Help



Go Back   Pelican Parts Forums > Miscellaneous and Off Topic Forums > Off Topic Discussions


Reply
 
LinkBack Thread Tools Rate Thread
Author
Thread Post New Thread    Reply
Free minder
 
Aurel's Avatar
 
Join Date: Nov 2001
Location: Middlessex county, MA
Posts: 9,396
Garage
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

Old 01-04-2007, 05:42 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #1 (permalink)
Registered
 
mikester's Avatar
 
Join Date: Mar 2002
Location: My House
Posts: 5,345
Send a message via AIM to mikester
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..
Old 01-04-2007, 06:03 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #2 (permalink)
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
Old 01-04-2007, 06:04 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #3 (permalink)
Free minder
 
Aurel's Avatar
 
Join Date: Nov 2001
Location: Middlessex county, MA
Posts: 9,396
Garage
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)
Old 01-04-2007, 06:23 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #4 (permalink)
Back in the saddle again
 
masraum's Avatar
 
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:
H:\>ping 224.0.0.1

Pinging 224.0.0.1 with 32 bytes of data:

Reply from 10.20.166.254: bytes=32 time<1ms TTL=255
Reply from 10.20.166.118: bytes=32 time<1ms TTL=64
Reply from 10.20.166.118: bytes=32 time<1ms TTL=64
Reply from 10.20.166.118: bytes=32 time<1ms TTL=64

Ping statistics for 224.0.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

H:\>arp -a

Interface: 10.20.166.49 --- 0x10003
Internet Address Physical Address Type
10.20.166.102 00-0e-7f-e7-c1-63 dynamic
10.20.166.118 00-13-21-26-61-33 dynamic
10.20.166.254 00-0d-ed-c0-08-43 dynamic
__________________
Steve
'08 Boxster RS60 Spyder #0099/1960
- never named a car before, but this is Charlotte.
'88 targa SOLD 2004 - gone but not forgotten
Old 01-04-2007, 06:25 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #5 (permalink)
Registered
 
mikester's Avatar
 
Join Date: Mar 2002
Location: My House
Posts: 5,345
Send a message via AIM to mikester
Quote:
Originally posted by masraum
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.
Oiy!

That's a much better answer, I concede defeat.
__________________
-The Mikester

I heart Boobies
Old 01-04-2007, 06:26 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #6 (permalink)
 
Back in the saddle again
 
masraum's Avatar
 
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 SOLD 2004 - gone but not forgotten
Old 01-04-2007, 06:27 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #7 (permalink)
Registered
 
Join Date: Sep 2004
Posts: 3,650
Quote:
Originally posted by masraum
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.
Very cool. Thanks!
Old 01-04-2007, 06:52 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #8 (permalink)
19 years and 17k posts...
 
azasadny's Avatar
 
Join Date: Jul 2002
Location: Dearborn, MI (Southeast Michigan)
Posts: 17,444
Garage
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
Old 01-04-2007, 06:54 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #9 (permalink)
Free minder
 
Aurel's Avatar
 
Join Date: Nov 2001
Location: Middlessex county, MA
Posts: 9,396
Garage
Quote:
Originally posted by masraum
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.
Exactly what I was thinking about. You are the Geekmaster! Thanks.

Aurel
Old 01-04-2007, 07:01 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #10 (permalink)
Registered
 
Tim Walsh's Avatar
 
Join Date: Sep 2002
Location: Green-Salem, NC
Posts: 3,914
Garage
Send a message via AIM to Tim Walsh
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
Old 01-04-2007, 07:07 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #11 (permalink)
Registered
 
VincentVega's Avatar
 
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.
Old 01-04-2007, 07:16 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #12 (permalink)
 
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
Old 01-04-2007, 07:34 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #13 (permalink)
Registered
 
id10t's Avatar
 
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.”
Old 01-04-2007, 07:42 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #14 (permalink)
Registered
 
Halm's Avatar
 
Join Date: Jan 2002
Location: VA
Posts: 3,573
From a CMD prompt: net view

__________________
'06 Cayman S
'16 Cayenne
'08 Audi RS 4
Old 01-04-2007, 08:44 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #15 (permalink)
Reply


 


All times are GMT -8. The time now is 05:07 AM.


 
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 -    DMCA Registered Agent Contact Page
 

DTO Garage Plus vBulletin Plugins by Drive Thru Online, Inc.