Suppose you’ve got a NetBIOS address of a Samba share like //SERVER/MyShare and you’d like to know the IP address of the server with the NetBIOS name SERVER. On Linux, you can use Samba’s nmblookup like so:
nmblookup -I SERVERquerying SERVER on 192.168.0.255192.168.0.213 SERVER<00>
In our example above, the IP address of the machine with the NetBIOS name SERVER turns out to be 192.168.0.213.