Servidores WINS utilizando Samba

Forums: 

Hola a todos!

Tengo dos redes lan conectadas con un enlace de 32 Kbps, la red 192.168.20.0/24 (oficina) y 192.168.30.0/24 (planta). Los usuarios quisieran ver las PCs de ambas redes en el "Entorno de Red", para eso se que el Samba y una correcta de configuración WINS me sirven. El samba de oficina es el 192.168.20.4 y el de la planta es el 192.168.30.1

Como el canal es bastante pequeño, he preferido configurar dos PDCs con dos dominios diferentes, y me explicaron que debo hacer [b:52b0dcf531]remote announce[/b:52b0dcf531] para poder conseguir que ambas redes se vean en el entorno de red.

Le he dado vueltas al asunto y no consigo el objetivo. Les muestro lo que tengo en los archivos smb.conf de ambos servidores:

[code:1:52b0dcf531]
# SMB.CONF DE OFICINA
[global]
log file = /var/log/samba/%m.log
smb passwd file = /etc/samba/smbpasswd
load printers = yes
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
obey pam restrictions = yes
encrypt passwords = yes
passwd program = /usr/bin/passwd %u
dns proxy = no
wins support = yes
netbios name = sistema
server string = Linux Server Oficina
printing = cups
unix password sync = yes
workgroup = OFICINA
os level = 64
printcap name = /etc/printcap
security = user
max log size = 0
pam password change = yes
preferred master = yes
domain master = yes
local master = yes
domain logons = yes
remote announce = 192.168.30.1

#SMB.CONF DE PLANTA
[global]
log file = /var/log/samba/%m.log
smb passwd file = /etc/samba/smbpasswd
load printers = yes
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
obey pam restrictions = yes
encrypt passwords = yes
passwd program = /usr/bin/passwd %u
dns proxy = no
netbios name = plantalx
server string = Linux Server Planta
printing = cups
unix password sync = yes
workgroup = PLANTA
os level = 64
printcap name = /etc/printcap
security = user
max log size = 0
pam password change = yes
wins support = yes
preferred master = yes
domain master = yes
local master = yes
domain logons = yes
remote announce = 192.168.20.4

[/code:1:52b0dcf531]

Agradezco de antemano cualquier ayuda que puedan dar al respecto. Saludos

ADM

Imagen de RazaMetaL

http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetworkBrowsing.html#id2529339

[code:1:c4c1680e07]Use of the Remote Announce Parameter

The remote announce parameter of smb.conf can be used to forcibly ensure that all the NetBIOS names on a network get announced to a remote network. The syntax of the remote announce parameter is:
remote announce = a.b.c.d [e.f.g.h] ...

or
remote announce = a.b.c.d/WORKGROUP [e.f.g.h/WORKGROUP] ...

where:

a.b.c.d and e.f.g.h

is either the LMB (Local Master Browser) IP address or the broadcast address of the remote network. i.e., the LMB is at 192.168.1.10, or the address could be given as 192.168.1.255 where the netmask is assumed to be 24 bits (255.255.255.0). When the remote announcement is made to the broadcast address of the remote network, every host will receive our announcements. This is noisy and therefore undesirable but may be necessary if we do not know the IP address of the remote LMB.
WORKGROUP

is optional and can be either our own workgroup or that of the remote network. If you use the workgroup name of the remote network, our NetBIOS machine names will end up looking like they belong to that workgroup. This may cause name resolution problems and should be avoided. [/code:1:c4c1680e07]

Puedes tambien revisar este link:
http://sumidero.host.sk/articles/samba/samba.html

-----

Visita este [url=http://www.sindominio.net/ayuda/preguntas-inteligentes.html]link[/url] :evil:

[img]http://www.bbspot.com/Images/News_Features/2003/01/os_quiz/debian.jpg[/img]

(adsbygoogle = window.adsbygoogle || []).push({});

Imagen de elhumano

Te doy mas ideas para seguir jugando con Remote Announce

Pon la direccion de broadcast de la red *remota*

[code:1:5a115e4b71]
en donde tienes:

remote announce = 192.168.30.1 por remote announce = 192.168.20.255

y

remote announce = 192.168.20.4 por remote announce = 192.168.30.255
[/code:1:5a115e4b71]

Esperemos que funcione... :?

Imagen de RazaMetaL

Agregas en la config de cada servidor:

[code:1:ff84f4fe62]remote announce = ip.del.otro.servidor[/code:1:ff84f4fe62]

-----

Visita este [url=http://www.sindominio.net/ayuda/preguntas-inteligentes.html]link[/url] :evil:

[img]http://www.bbspot.com/Images/News_Features/2003/01/os_quiz/debian.jpg[/img]

(adsbygoogle = window.adsbygoogle || []).push({});