Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IP Address to Machine Name via command line? 1

Status
Not open for further replies.

rhearn

IS-IT--Management
Nov 6, 2000
22
0
0
CA
Is there a command I can use that resolves ip address
to machine name via command line???

Thanks in advance.
 
on the command line type ipconfig <retrn> You should get the machine name, IP address, subnet mask, and default gateway address.
 
IPCONFIG /ALL will only show your own machine. I think you want to find other workstations on your network. I use NBTSTAT.

NBTSTAT -A 10.0.0.1
NBTSTAT -a MACHINENAME

NBTSTAT /? (For a complete listing)

Gordon

 
From a command line I use ping.
ping netbios name and it returns the ip address.
ping -a ipaddress and it returns the netbios name.


burnz@technologist.com

 
ChrisBurns, it's been awhile since your post, but it's just saved me a ton of work. Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top