[Samba] Using the right network interface
Eric Boehm
boehm at nortelnetworks.com
Tue Dec 10 12:47:00 GMT 2002
On Tue, Dec 10, 2002 at 07:25:07AM -0500, Joel Hammer wrote:
>>>>> "Joel" == Joel Hammer <Joel at HammersHome.com> writes:
Joel> Just having a senior moment here, but, I recall vaguely that
Joel> samba will listening on all NIC's but ignores the ones you
Joel> tell it to ignore with.
Yes, samba will listen on all interfaces.
The problem is that Steve hasn't specified all the parameters
necessary to restrict Samba to one interface.
Try something like the following:
interfaces = 192.168.6.10/24 127.0.0.1/8
bind interfaces only = yes
You will want to include the loopback interfaces
Check the sections in "man smb.conf" regarding these two
directives. You need to include the loopback interface in the
interfaces list or smbpasswd and swat will not work.
Steve> Hi everyone,
Steve> samba 2.2.5 The server I'm using has 2 interfaces so using
Steve> the interface parameter I'm telling samba to use eth0 but
Steve> for some reason when I do netstat it is listening on eth1
Steve> interface = eth0 (the IP is 192.168.6.10)
Steve> netstat -an udp 0 0 138.79.161.225:137 0.0.0.0:* udp 0 0
Steve> 0.0.0.0:137 0.0.0.0:* udp 0 0 138.79.161.225:138 0.0.0.0:*
Steve> 138.79.161.225 is the IP of eth1!??!
Steve> I've also tried interface = 192.168.6.10/24
Steve> Any ideas??
--
Eric M. Boehm /"\ ASCII Ribbon Campaign
boehm at nortelnetworks.com \ / No HTML or RTF in mail
X No proprietary word-processing
Respect Open Standards / \ files in mail
More information about the samba
mailing list