 |
04-06-2004, 01:17 PM
|
#1 (permalink)
| | Registered User
Join Date: Oct 2001 Location: White Rock, Canada
Posts: 1,383
| » 
Finding a user by IP address
I need to be able to resolve the user's computer name by the IP address.
Here is the issue, I am tracking uploads and downloads however only the IP address is shown, not the computer's name. So... I need to be able to figure out who each IP belongs to without manually pinging every workstation name to match to the IP address.
I am sure there is a simple command, tool, or something out there.
Thx
|
| |
04-06-2004, 01:22 PM
|
#2 (permalink)
| | Registered User
Join Date: Oct 2001 Location: Ohio
Posts: 5,577
|
Internet or LAN?
try ping -a ipaddress |
| |
04-06-2004, 01:27 PM
|
#3 (permalink)
| | Registered User
Join Date: Jan 2003 Location: New York
Posts: 1,588
|
this might be a tad bit of overkill for just finding the name, but this will scan every computer in an IP range on a network and give the name/netbios etc.
but, the ping -a IP tells you the name as well so its a much easier solution
|
| |
04-06-2004, 01:42 PM
|
#4 (permalink)
| | Registered User
Join Date: Oct 2001 Location: White Rock, Canada
Posts: 1,383
|
This is within the LAN, but for some reason the -a switch is still only giving me the IP address.
ping -a 192168.1.X gives:
ping -a 192.168.1.X
Pinging 192.168.1.X with 32 bytes of data:
Reply from 192.168.1.X: bytes=32 time<1ms TTL=128
Reply from 192.168.1.X: bytes=32 time<1ms TTL=128
Reply from 192.168.1.X: bytes=32 time<1ms TTL=128
Reply from 192.168.1.X: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.1.X:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
|
| |
04-06-2004, 01:54 PM
|
#5 (permalink)
| | Registered User
Join Date: Oct 2001 Location: Ohio
Posts: 5,577
|
Can you go to your DHCP server and look at the leases?
|
| |
04-06-2004, 02:34 PM
|
#6 (permalink)
| | Registered User
Join Date: Oct 2001 Location: White Rock, Canada
Posts: 1,383
|
Hehe, that is just what I did. Something is messed up though, if I ping some user names, they come up with the wrong IP address.
For example, pinging joeblow gives me 192.168.1.42 but his actual address is 192.168.1.61.
On the DHCP server, the addresses appear correct but some descriptions are wrong. Strange....
|
| |
04-06-2004, 02:38 PM
|
#7 (permalink)
| | Registered User
Join Date: Oct 2001 Location: Ohio
Posts: 5,577
|
Sounds like the DCHP server isn't updating DNS entries.
|
| |
04-06-2004, 02:47 PM
|
#8 (permalink)
| | Registered User
Join Date: Oct 2001 Location: White Rock, Canada
Posts: 1,383
|
Thank you DVNT1, that is exactly what it is! I should be able to change the properties of the pointers manually for the ones that are incorrect, or is there a way to update these from the server??
|
| |
04-06-2004, 02:49 PM
|
#9 (permalink)
| | Registered User
Join Date: Oct 2001 Location: Ohio
Posts: 5,577
| |
| |
04-06-2004, 03:24 PM
|
#10 (permalink)
| | Registered User
Join Date: Oct 2001 Location: White Rock, Canada
Posts: 1,383
|
Good info, thanks again. |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | Most Active Discussions  | | | | | Recent Discussions  | | | | | |