problems with nmbd and two network interfaces
Stig Venaas
venaas at itea.ntnu.no
Fri Nov 21 10:18:27 GMT 1997
Hi
I'm running samba on a system with two network interfaces with addresses
say 10.10.10.10 and 10.10.11.10. I have very different samba configurations
on the two interfaces, and I want 10.10.10.10 to have netbios name SAMBA1
and 10.10.11.10 to have netbios name SAMBA2. In order to do this, I have
put the following in my configuration files:
smb.conf:
[global]
interfaces = 10.10.10.10/24
socket address = 10.10.10.10
smb2.conf:
[global]
interfaces = 10.10.11.10/24
socket address = 10.10.11.10
netbios name = SAMBA2
I didn't specify any netbios name in smb.conf since the hostname is
SAMBA1. When I used 1.9.17 I ran two nmbd daemons, using the two
different configs. I'm now using ver-1.9.18alpha3 in order to have
oplocks, and it seems that the nmbd code has changed. I'm not sure,
but it seems like nmbd ignores the interface and socket address
settings. I can only run one nmbd, I guess they both tries to bind
to 0.0.0.0. I would like to find SAMBA1 when I broadcast to
10.10.10.255, and SAMBA2 when I broadcast to 10.10.11.255. Is there
a way to accomplish this?
Regards,
Stig Venås
--
Stig Venås Tlf: 73 59 53 29
Norges teknisk- Faks: 73 59 14 37
naturvitenskapelige universitet
ITEA/DRIFT, Alfred Getz v. 1 Epost: venaas at itea.ntnu.no
7034 Trondheim
More information about the samba
mailing list