Announcement

Collapse
No announcement yet.

ip against computer name

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • ip against computer name

    i want to see all IPs against their computer names located in my LAN an command promt,how can i do

  • #2
    There's no simple way to return both.

    net view : Displays the machine names that respond to a netbios broadcast. It won't always show all machines.

    nbtstat -c : Displays the machines in the cache with Netbios name and IP but this isn't a comprehensive list.

    You could do a port scan and get all of the IPs that respond then resolve the names manually or write a batch file to do it. There might be a tool that does this [at the command prompt] but I'm unaware of one.
    Andrew

    ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **

    Comment


    • #3
      check you're dhcp scope?
      Marcel
      Technical Consultant
      Netherlands
      http://www.phetios.com
      http://blog.nessus.nl

      MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
      "No matter how secure, there is always the human factor."

      "Enjoy life today, tomorrow may never come."
      "If you're going through hell, keep going. ~Winston Churchill"

      Comment

      Working...
      X