[Samba] Using the right network interface
John H Terpstra
jht at samba.org
Tue Dec 10 08:51:02 GMT 2002
On Tue, 10 Dec 2002, Simeonidis, Steve wrote:
> Hi everyone,
>
> samba 2.2.5
> The server I'm using has 2 interfaces so using the
> interface parameter I'm telling samba to use eth0 but
> for some reason when I do netstat it is listening on eth1
>
> interface = eth0 (the IP is 192.168.6.10)
Try adding to smb.conf [globals]:
interfaces = eth0 loOB
bind interfaces only = Yes
Then check - it should work.
- John T.
>
>
> netstat -an
> udp 0 0 138.79.161.225:137 0.0.0.0:*
> udp 0 0 0.0.0.0:137 0.0.0.0:*
> udp 0 0 138.79.161.225:138 0.0.0.0:*
>
> 138.79.161.225 is the IP of eth1!??!
>
> I've also tried interface = 192.168.6.10/24
>
> Any ideas??
>
>
> Steve Simeonidis
> Network Engineer, Spherion Education
> Spherion Group Ltd
>
> The information contained in this email and any attachments to it:
>
> (a) may be confidential and if you are not the intended recipient, any interference with,
> use, disclosure or copying of this material is unauthorised and prohibited; and
>
> (b) may contain personal information of the recipient and/or the sender as defined
> under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to
> collect, hold and use such information and any personal information contained in a
> response to this email, for any reasonable
>
> purpose in the ordinary course of Spherions business, including forwarding this email
> internally or disclosing it to a third party. All personal information collected by Spherion
> will be handled in accordance with Spherions Privacy Policy. If you have received
> this email in error, please notify the sender and delete it.
>
>
--
John H Terpstra
Email: jht at samba.org
More information about the samba
mailing list