Get all IP addresses in one workgroup



ok i have a workgroup of people attached to a switch sharing files and internet, without disrupting everyone in the office can I access one pc in dos and use a command to get all of the IP addresses for each pc? I would like to get the computer name too...

What is the command?
chwankokAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
plemieux72Commented:
How are the IP addresses assigned?  If DHCP is assigning the addresses, you could look in the DHCP server for the bindings (leases).
0
rindiCommented:
http://gfi.com
Lannetscan free trial  period.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

IPCTechoCommented:
Go to a dos prompt
Ping broadcast address eg. 192.168.0.255 for 192.168.0.0/24
arp -a this will give ip addresses to mac addresses of machines connected.

Be aware that some devices will not respond to broadcast, but PC's are usually ok.

You could also go into network neighbourhood and from a dos prompt ping each of the machines. This will give name and it will respond with IP address.

Of course there are probably a thousand ways to do this but this does not require any external software.
0
muhalokCommented:
pinging a broadcast address is not possible and is wrong.

use one ot the iP scanners suggested above (they do it in a loop - 1 by 1 and not all together).

Or use this one, its free and doesn't require any installation.
http://ipscan.sourceforge.net/ipscan.exe

In th IP scanner configure the range of IPs you would like to scan and it will do it. For a network of Class C (255 hosts) it takes around 15 minutes. This program gives you IP, Hostname, DNS name, etc.

PS: as also stated above - some PCs won't answer ping (but in a LAN environment those would only be XP machines with Firewall running).
0
IPCTechoCommented:
I assure you that if you
arp -a
then ping broadcast (you will not get a reply)
arp -a

You will see all the PC's running windows on the network. :-)
0
georgecooldudeCommented:
type in the command prompt.

net view

This will list all the computer names.

Then just ping each one and note down their ip

ping <computername>
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.