[Samba] The "single WINS" problem

Jeroen van Meeuwen kanarip at pczone-clan.nl
Thu Nov 24 21:31:01 GMT 2005


> 
> On Thu, Nov 24, 2005 at 10:04:10PM +0100, Jeroen van Meeuwen wrote:
> > The Netbios names that are set in smbd/nmbd, are already registered with
DNS
> > when the network comes up (Dynamic DNS). This will only work properly if
you
> > have one single Netbios name per machine (Or run several instances on a
> > multi-homed box).
> 
> So you can't use DNS for that sixteenth field of netbios names (like
> <1C>, <1B>, etc). Or can you?

Dynamic DNS is a setup primarily for networks with DHCP. Using DHCP, you can
only have 1 IP lease per physical interface. This IP, along with the
system's hostname, are registered in DNS, and that's were we resolve the
names you currently use in a Netbios/WINS environment.

What I said, though, is not entirely true. I could of course add interfaces
with different MAC addresses, which would be considered spoofing, and thus
lease more IP's and register more DNS records.

Or I create interface aliases with static IPs and configure a static IN A
record.

I could also use a multi-homed box with several NICs, thus lease more IPs,
thus registering more DNS records.

In all these setups, I also could run several instances of smbd/nmbd, each
bound to one interface (or one IP, if you will).

Kind regards,

Jeroen van Meeuwen

--
kanarip



More information about the samba mailing list