Bind Samba4 to a specific IP

Magnus Benngård magnus.b at inputinterior.se
Sat Oct 30 02:33:21 MDT 2010


Did some tests... just added:
[globals]
....
   interfaces           = eth0:0
   bind interfaces only = yes
eth0:0 is the scondary interface on my box, seems to be working, is it the 
correct way to doit?

-----Ursprungligt meddelande----- 
From: Magnus Benngård
Sent: Saturday, October 30, 2010 9:39 AM
To: samba-technical at lists.samba.org
Subject: Bind Samba4 to a specific IP

Hi!
Is it possible to bind Samba4 to a specific ip? What i would like to do is 
as follows:
A box have 192.168.0.10 as primary interface with a secondary 192.168.0.9.
Samba3 is listen to .10 with a smb.conf like below:
interfaces = 192.168.0.10/32 eth0
bind interfaces only = yes
Should work or?
But i cant figure out howto fix so Samba4 just listen to .9.
Any suggestions?
/Magnus 



More information about the samba-technical mailing list