Samba, nmblookup, wrong bcast address?

anp at cain.berkeley.edu anp at cain.berkeley.edu
Tue Dec 17 11:10:00 GMT 2002


Help, name_query failed to find name  ???

These are my correct settings for the machine kingkong:
$ ifconfig
eth0      Link encap:Ethernet  HWaddr --omitted--  
inet addr:xxx.xx.52.19  Bcast:xxx.xx.52.127 Mask:255.255.255.xxx

This is what I get with a nmblookup command.
$nmblookup -B xxx.xx.52.127 -d5 kingkong
Initialising global parameters
params.c:pm_process() - Processing configuration file
"/etc/samba/smb.conf"
Processing section "[global]"
doing parameter workgroup = 
--omitted--
doing parameter interfaces = xxx.xx.52.19/255.255.225.xxx
--omitted
pm_process() returned Yes
added interface ip=xxx.xx.52.19 bcast=xxx.xx.62.127 nmask=255.255.225.xxx
--note the different bcast address, 62 instead of 52--
bind succeeded on port 0
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 1
socket option SO_BROADCAST = 1
Could not test socket option TCP_NODELAY.
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 65535
socket option SO_RCVBUF = 65535
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
Socket opened.
querying kingkong on xxx.xx.52.127
Sending a packet of len 50 to (xxx.xx.52.127) on port 137
Sending a packet of len 50 to (xxx.xx.52.127) on port 137
Sending a packet of len 50 to (xxx.xx.52.127) on port 137
name_query failed to find name kingkong






More information about the samba-technical mailing list