samba and dual homed hosts

tschweikle at tschweikle at
Tue Sep 12 16:03:58 GMT 2000

On Tue, 12 Sep 2000 tschweikle at wrote:

>> Is there a way starting nmb twice? Binding each instance
>> to one subnet, not mixing both subnets in one instance
>> as it is now?
> Yes, you can force nmbd to bind to only one interface using
> the commands 'bind interfaces only = yes' and
> 'interfaces = <list of interfaces>' in your smb.conf.  It's
> easiest to set up two smb.conf files, one for each of the
> interfaces you want nmbd to bind to.  Then run:
> smbd -D
> nmbd -D
> nmbd -D -s /path/to/other/smb.conf
> And each subnet should see the right addresses.

Wouldn't this bind smbd to only one subnet too? I wanted to
start only nmbd twice, not smbd too (maybe creating locking
problems having two smbd running).


More information about the samba-ntdom mailing list