hi, when doing an NMB lookup and a host has multiple interfaces, only the first one gets searched (yes, I have interfaces = <both IF> in smb.conf) haitauwa:/var/lock # nmblookup bib Added interface ip=192.168.1.254 bcast=192.168.1.255 nmask=255.255.255.0 Added interface ip=192.168.2.254 bcast=192.168.2.255 nmask=255.255.255.0 Sending queries to 192.168.1.255 name_query failed to find name bib while: haitauwa:/var/lock # nmblookup -B 192.168.2.255 bib Added interface ip=192.168.1.254 bcast=192.168.1.255 nmask=255.255.255.0 Added interface ip=192.168.2.254 bcast=192.168.2.255 nmask=255.255.255.0 Sending queries to 192.168.2.255 192.168.2.5 bib works.
I think this behavior is normal since nmblookup only searches in one subnet. I would say that it make sense to have nmblookup searching in all attached subnetworks but for this to happen, the source code for nmblookup must be modified. E.- Herbert Rosmanith <herp@wildsau.idv-edu.uni-linz.ac.at> wrote: : haitauwa:/var/lock # nmblookup bib : Added interface ip=192.168.1.254 bcast=192.168.1.255 nmask=255.255.255.0 : Added interface ip=192.168.2.254 bcast=192.168.2.255 nmask=255.255.255.0 : Sending queries to 192.168.1.255 : name_query failed to find name bib : : while: : : haitauwa:/var/lock # nmblookup -B 192.168.2.255 bib : Added interface ip=192.168.1.254 bcast=192.168.1.255 nmask=255.255.255.0 : Added interface ip=192.168.2.254 bcast=192.168.2.255 nmask=255.255.255.0 : Sending queries to 192.168.2.255 : 192.168.2.5 bib : : works. -- Eloy A. Paris Information Technology Department Rockwell Automation de Venezuela Telephone: +58-2-9432311 Fax: +58-2-9431645