[KLUG Members] samba server can be browsed but not pinged

Adam Tauno Williams adam at morrison-ind.com
Tue Nov 9 16:46:27 EST 2004


> > To make it work seemlessly you need to either hand the server a static
> > IP address from the DHCP server and add it to the local DNS (assuming
> > your using some kind of split-horizon) 
> By "add it to the local DNS" do you mean add it to the "hosts" file on
> the firewall (which distributes DHCP)?  I have no idea if my horizon is
> split, though sometimes I've been accused of being too big for my
> britches. :-)

Nope, I mean add it to your DNS zone; assuming you have one.  Otherwise
you need to add it to the hosts file on each workstation.  What to do
there is really decided by how many workstations you have.

> > or setup a WINS server and have
> > your DNS server recieve updates via the 'wins hook'.
> This is the second Samba box on this network, and you're right, the
> first one has a static IP.  It also serves as a WINS server (in
> smb.conf).  So if I want to continue to use a dynamic IP should I 

The second Samba box should use the first Samba box as the WINS server
(you can only have ONE WINS server).  Set wins server = a.b.c.d in the
global config of the second (or third, fourth, fifth, etc...) box.  Then
it should register itself in WINS (and then the Win32 boxes MIGHT be
able to see it, depending on how their resolver is scoped, but it is
still pretty dodgey without DNS).

> 1) set this one up as a second WINS server (doubtful)

No, in fact, you CANNOT do this.  All will go down in flames.

> 2) set the first one up with the WINS hook (sounds logical, but is that
> in smb.conf?)

Yes "wins hook =" points to a script that updates DNS.  The samba
package should have a default script somewhere that will automatically
update a BIND 9 DNS server via nsupdate.




More information about the Members mailing list