+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Ultimate Member eweruk's Avatar
    Join Date
    Oct 2001
    Location
    Canada
    Posts
    2,238

    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

  2. #2
    addicted DVNT1's Avatar
    Join Date
    Oct 2001
    Location
    Ohio
    Posts
    6,103
    Internet or LAN?



    try ping -a ipaddress

  3. #3
    Perfetc Member VHockey86's Avatar
    Join Date
    Jan 2003
    Location
    Maryland Suburbia
    Posts
    4,334
    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

  4. #4
    Ultimate Member eweruk's Avatar
    Join Date
    Oct 2001
    Location
    Canada
    Posts
    2,238
    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

  5. #5
    addicted DVNT1's Avatar
    Join Date
    Oct 2001
    Location
    Ohio
    Posts
    6,103
    Can you go to your DHCP server and look at the leases?

  6. #6
    Ultimate Member eweruk's Avatar
    Join Date
    Oct 2001
    Location
    Canada
    Posts
    2,238
    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....

  7. #7
    addicted DVNT1's Avatar
    Join Date
    Oct 2001
    Location
    Ohio
    Posts
    6,103
    Sounds like the DCHP server isn't updating DNS entries.

  8. #8
    Ultimate Member eweruk's Avatar
    Join Date
    Oct 2001
    Location
    Canada
    Posts
    2,238
    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??

  9. #9

  10. #10
    Ultimate Member eweruk's Avatar
    Join Date
    Oct 2001
    Location
    Canada
    Posts
    2,238
    Good info, thanks again.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Recommended Sites: ResellerRatings Store Reviews