Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

WINS support needed?

0 views
Skip to first unread message

Dustin Puryear

unread,
Aug 25, 1999, 3:00:00 AM8/25/99
to
Do I need to enable WINS support on each Windows machine if I need to
access it from another subnet? I've noticed I can access the Samba
server on the the subnet, but not any other machines. (I can see them,
I just can't look at their shares.) I do have WINS support enabled on
this Windows machine.

If I do enable WINS support, should each Windows machine point at it's
Samba server or the master WINS server that all of the Samba servers
[seem to] slave to?

---
Dustin Puryear
dpur...@usa.net

Sean W. Ellis

unread,
Aug 25, 1999, 3:00:00 AM8/25/99
to

I just create an LMHOSTS file on the Windows computers. Works great:

192.168.14.21 SOL #PRE
192.168.18.21 LUNA #PRE
192.168.21.1 ROCKET #PRE

Sean Ellis
sean....@oscenter.com

Chris Tremblay

unread,
Aug 30, 1999, 3:00:00 AM8/30/99
to
Complimentary email also sent to poster
--------

Well you will be able to access the samba server as long as you
access it via IP somebody else suggested using an LMHOST file which is
great as long as there isn't DHCP in the picture which normally isn't
done in UNIX but it can be (why I don't know but.... (normally the
UNIX box's ip will be not included in a DHCP scope)) anyways if you
decide to implement WINS you would see a tad better performance rather
than using LMHOSTS cause the way it resolves the name to ip is in this
order assuming you are using H node (which is what is used by default
if WINS is enabled
Cache (local Arp Cache)
WINS
Broadcast
LMHost

If you don't use Wins (B node) you will find this:
Cache
Broadcast
LMHost

Course this increases broadcasts which is not considered good
practice.

But also if you want to decrease the broadcasts you could put in a
LMHost file at the bottom:
<servername> <ip address> #PRE

the #PRE (which I believe is case sensitive) tells it to preload this
address in the ARP cache so it will resolve it right away eliminating
broadcasts
Hope that helps!
Anything else (flames or comments) email me at anne at storm dot ca

On Wed, 25 Aug 1999 16:55:27 GMT, dpur...@usa.net (Dustin Puryear)

Benoit Gerrienne

unread,
Aug 30, 1999, 3:00:00 AM8/30/99
to Dustin Puryear
Hi,

the best solution in the case of a network with multiple subnets is to have a
WINS server somewhere on your network. The big advantage against a lmhosts file
is that WINS is dynamic. You just have to give the IP address of the WINS server
in the TCP/IP configuration of each Windows machine and at startup, they will
automatically register their IP address and their name with it.

The lmhosts file have at least one advantage, this will reduce the load on the
network (no more call to a WINS server) but if you have a lot of machines, you
need to maintain a lot of copies of this lmhosts file.

The WINS server you can use can be the one from a NT server or you can enable
Samba to be a WINS server. But don't forget that you can have one and only one
WINS server on your network. (Rem.: with the WINS server of NT, you can have
more than one running, but there is a master and some slaves, sharing the same
database. The Samba WINS is not (yet) able to interact with other one and then
should be the only one on the network.)

(For more details, you can check my Web site :
http://www.ping.be/linux-and-samba/learn/name.shtml#wins )

Best regards,

Benoit Gerrienne
Telindus Belgium
MHS & X.400 Support Engineer

My samba help site : http://www.ping.be/linux-and-samba
In french - en français : http://samba.linuxbe.org
Professional web site : http://www.telindus.com

0 new messages