Multihome WINS Registration

Josh Durham jmd at
Tue Jul 25 00:59:21 GMT 2000

Thanks for your help, Peter.

Let's see, three things to follow up, then my new problem(or the newest
iteration of my existing problem.)
  I probably should have the password server like you mentioned, but I
don't think it matters right now, but thanks for pointing it out.  
  I did explicitly mention the interfaces like you commented, and
discovered the order you list them in does matter somewhat - it is the
order samba will do a broadcast lookup.
  And I do plan on migrating to DHCP, but that's after I migrate everyone
from the old NFS/SMB server to this new one.  That'll be next.

It looks like samba is behaving correctly, the problem in this case is how
Windows NT handles multihoming(which is not too well.) So, let me get into
specifics on how I have Pluto set up.  I have only TCP/IP set up, and this
is how I have it set up(these are the real numbers, I've given up making
the fictitous ones up)
Interface 1:				Interface 2:
IP Address:
Default GW:               (blank)
WINS Addr:
I have 'Enable IP Forwarding' turned off under Routing.
The WINS doubling may be an issue, but that way the WINS client registers
both addresses under WINS.

Doing a 'netstat -r' to view the NT Routing Table looks fine. I have the
important ones:
Network Destination        Netmask          Gateway       Interface  Metric
       1       1       1       1       1       1       1       1

So, I open a connection to the Samba server, which is also on both networks
at and  Doing something simple like \\hermes\test
(which is just a temporary I shared I made for testing.)
netstat -n on WinNT shows two entries, both odd:
  TCP        TIME_WAIT
And the Samba server shows only>
doesn't show the TIME_WAIT connection.)

Odd because the first one is going out on the wrong address!  I don't even
know how that works.  And the second one looks right, but it is closed
immediately. I know other TCP/IP stuff routes fine, like ssh.

I've tried everything I can think of.  In the \winnt\system32\drivers\etc\
lmhost file on NT, I have: hermes #pre

The resolve order on the Samba server is 'lmhosts host wins bcast', though
I've tried 'wins bcast' as well. 

                  Anyone have a clue what's going on?
I'm about to give up and try to set up a gateway, but that's a headache
given the current network environment.

Thanks alot, and sorry for the long message!
- Josh

* Josh Durham | AOE at Virginia Tech | (540) 231-9061 jdurham at *

On Mon, 24 Jul 2000, Peter Samuelson wrote:

> [Josh Durham <jmd at>]
> >   workgroup = AOE
> >   security = DOMAIN
> >   password server = PDCSERVER
> >   local master = No
> >   domain master = No
> >   browse list = Yes 
> >   wins server =
> OK....  Except, don't you want `password server = pluto,pdcserver'?
> >	HERMES(00h)
> >	HERMES(03h)
> >	HERMES(20h)
> > 
> > I would like it to register with the PDC, since
> > everyone can get to it with that address.
> It may help to specify `interfaces =,'
> explicitly.
> > Also, what is the best way to get the SMB traffic to use Subnet B if
> > it can? (IE, between Pluto and Hermes, for example.)  I tried using
> > LMHOSTS on NT and UNIX, but to no avail.
> What is your `name resolve order' parameter?  Make sure it lists
> LMHOSTS before WINS.  (To look up the defaults on parameters you
> haven't specified, `testparm -s | grep' is your friend.)
> > I'd like to keep the WINS server on the NT Server, since that address
> > is statically entered on all the workstations.
> Migrate to DHCP!  I say this only partly in jest.  DHCP is pretty much
> essential for long-term management of a network of a decent size.
> Changing things like WINS servers becomes very easy, then.
> Peter

More information about the samba mailing list