[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Get all IP addresses in one workgroup

Posted on 2004-11-19
7
Medium Priority
?
3,626 Views
Last Modified: 2012-08-14


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?
0
Comment
Question by:chwankok
7 Comments
 
LVL 3

Accepted Solution

by:
SBPCGuru earned 1000 total points
ID: 12631836
0
 
LVL 10

Expert Comment

by:plemieux72
ID: 12631949
How are the IP addresses assigned?  If DHCP is assigning the addresses, you could look in the DHCP server for the bindings (leases).
0
 
LVL 88

Expert Comment

by:rindi
ID: 12632069
http://gfi.com
Lannetscan free trial  period.
0
Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

 
LVL 1

Expert Comment

by:IPCTecho
ID: 12632285
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
 
LVL 5

Expert Comment

by:muhalok
ID: 12632377
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
 
LVL 1

Expert Comment

by:IPCTecho
ID: 12632614
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
 
LVL 5

Expert Comment

by:georgecooldude
ID: 12633167
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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will help to fix the below errors for MS Exchange Server 2016 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
LinkedIn blogging is great for networking, building up an audience, and expanding your influence as well. However, if you want to achieve these results, you need to work really hard to make your post worth liking and sharing. Here are 4 tips that ca…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question