Wednesday, June 24, 2009

Getting IP address from computer name using samba

If you know the name of a computer from your network and want to know the IP address of it using samba (if you're using Linux or UNIX-based OS), issue this command:

nmblookup -I computername

Have fun!

4 comments:

anu said...

I am using windows only not as linux. So i will get the ip address from ip details but this will helpful for my laptop> In my laptop i am using linux. thanks for this information

zamri said...

ur welcome. :)

turtlevert said...

I Googled "get ip address of samba client" and it led me here right to the solution! Thanks for posting this.

sivananda said...

thanks for your post saved lot of my time