Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    resolving host on lan

    I`m using arp command to see all interfaces that are up. Is it passible to see not only the list of IP`s and MAC`s that are up but also host names, cause I want to know what IP and MAC are having each person on lan and mostly I refer to host names rather than to IP ? All machines on lan are running mswindows.

  2. #2
    Linux Engineer
    Join Date
    Apr 2005
    Buenos Aires, Argentina
    Would adding those hosts to /etc/hosts file help?
    "All the drugs in this world won\'t save you from yourself"

  3. #3
    Quote Originally Posted by serz
    Would adding those hosts to /etc/hosts file help?
    as long as it's all static ip that will work out no problems.

    another command u may wanna try would be:
    nmap -sP
    that will return the ip (and if it's in the /etc/hosts file) the hostname aswell
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  4. $spacer_open
  5. #4
    Yes it works.Thanks guys. Now when I run arp -a it gives all info that I need. Of course I need to find Out manualy all Hosts :)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts