[Samba] Incorrect WINS response?

Tom Dickson tdickson at inostor.com
Thu Mar 11 23:08:04 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a test unit that has the following network configuration:

eth0      inet addr:10.73.0.105  Bcast:10.73.255.255  Mask:255.255.0.0

eth1      inet addr:10.111.0.1  Bcast:10.255.255.255  Mask:255.0.0.0

with the following routes:

Kernel IP routing table
Destination     Gateway         Genmask      Flags Metric Ref Use Iface
10.73.0.0       0.0.0.0         255.255.0.0  U     0      0   0 eth0
10.111.0.0      0.0.0.0         255.255.0.0  U     0      0   0 eth1
127.0.0.0       0.0.0.0         255.0.0.0    U     0      0   0 lo
0.0.0.0         10.73.0.1       0.0.0.0      UG    0      0   0 eth0

When I do a "net lookup netbiosname" from another machine on the 10.73
network (10.73.0.119) returns:

tdickson root # nmblookup netbiosname
querying netbiosname on 10.73.255.255
10.111.0.1 netbiosname<00>

However, if I change the netmask on eth1 to 255.255.0.0 it returns the
correct answer, 10.73.0.105.

It looks like nmbd is getting confused when there are overlapping
network masks.

Is this a feature, or is the network configuration I have simply not
supported?

- -Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAUPFU2dxAfYNwANIRAurrAJ9mEqs0j1cbZmC86xCoRjgETDztIQCcDI4l
HIR4JDYJIzG8LSK5PRl/Hlg=
=wjZD
-----END PGP SIGNATURE-----


More information about the samba mailing list