[Samba] IP Binding

Paul Harlow PHarlow at skld.com
Wed Feb 27 10:07:10 GMT 2002 is the server's eth0 address. is the server's eth1
I've inherited this server and this is the way it was originally set up with
the .1/24 address in that 'interfaces' string. I simply added the .2/24 to
that thinking that I could get it to use .2 to serve up the Samba shares as
well but it doesn't respond to a second address in that field.
ie- last night I changed the smb.conf from this:
interfaces =
To this:
interfaces =
And it would only respond to the .1 address.
When I reversed the order:
interfaces =
It would only respond to requests made to the .2 address.
Ultimately I would like it to respond to both addresses.
Does that help?


-----Original Message-----
From: Steven Mackenzie [mailto:sjm at activenavigation.com]
Sent: Wednesday, February 27, 2002 10:48 AM
To: Paul Harlow; samba at lists.samba.org
Subject: Re: [Samba] IP Binding

I'm not sure I understand your question or example - is your samba server
reading the shares off, or serving them to it?

Also your interfaces parameter seems odd to me.

I think that interfaces is supposed to refer to a whole network, or can
refer to a single ip number.

Your example doesn't seem to make sense - try
(ie the whole of network with a 24 bit netmask (

If you just want to allow individual IPs to use your server, then don't
specify a mask size (the /24).

See the smb.conf man page for an explanation of what bind interfaces only
does too ...

----- Original Message -----
From: "Paul Harlow" <PHarlow at skld.com>
To: <samba at lists.samba.org>
Sent: Wednesday, February 27, 2002 5:12 PM
Subject: [Samba] IP Binding

> Hi all,
> New to Samba here so please bear with dumb questions.
> I have a server that's currently running SMB shares off of device
> on a private network. It has a second device, that I would like
> add to the device bindings for Samba. I've tried this in the smb.conf file
> but it doesn't seem to work. Here's what I tried:
> workgroup = SOMECOMPANY
>         netbios name = SERVERNAME
>         server string = Servername's Samba Server
>         interfaces =
>         bind interfaces only = Yes
> That's only part of the config and the names and IP addresses have been
> changed. Anyway, this server still only responds to the .1 address and not
> the .2 address at all. I would like to pull traffic off of the .1 address
> because it's saturated and the .2 isn't used at all.
> If anyone has any ideas that would be great! Thanks!
> Paul
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list