Looking Up IPs

We sometimes face the problem of not knowing the IP of a certain hub, for may be, using DC++. I always face this problem. There is a command for this. Just type it in the terminal, and you will get the required IP. I got the following result when I typed in the command:

varsha@varsha-laptop:~$ nmblookup rc983
querying rc983 on 10.0.255.255
10.0.5.226 rc983<00>

Here, 10.0.5.226 is the IP of the hub rc983, and 10.0.255.255 is the Broadcast Address.

You can also use nmblookup -b rc983. In this case, the query is sent to the given broadcast address, although the output is the same.

varsha@varsha-laptop:~$ nmblookup -b rc983
querying rc983 on 10.0.255.255
10.0.5.226 rc983<00>


Comments

  1. I just dropped in tracking the comment on my blog, cool you are a LINUX user as well? I'm a big fan of Open Source..!

    ReplyDelete

Post a Comment