Date: Thu, 8 Jan 1998 00:16:48 -0500 From: Norman C Rice <nrice@emu.sourcee.com> To: dennis <dennis@etinc.com> Cc: Dan Busarow <dan@dpcsys.com>, freebsd-questions@FreeBSD.ORG Subject: Re: SAMBA - interfaces Message-ID: <19980108001648.33661@emu.sourcee.com> In-Reply-To: <3.0.32.19980107202649.00ee1630@etinc.com>; from dennis on Wed, Jan 07, 1998 at 08:26:49PM -0500 References: <3.0.32.19980107202649.00ee1630@etinc.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 07, 1998 at 08:26:49PM -0500, dennis wrote: > At 05:03 PM 1/7/98 -0800, Dan Busarow wrote: > >On Wed, 7 Jan 1998, dennis wrote: > >> there is much talk in the documents about the "interfaces" option, > >> but no sample and no mention in the man page. Since I need this > >> its quite frustrating.....anyone have a clue? > > > >man smb.conf ? > > > > interfaces (G) > > This option allows you to setup multiple network interfaces, > > so that Samba can properly handle browsing on all inter- > > faces. > > That much I figured out...but whats the SYNTAX???? I believe the syntax is interfaces = ip/netmask [ip/netmask ...] Excerpt from man smb.conf: interfaces (G) ... The option takes a list of ip/netmask pairs. The netmask may either be a bitmask, or a bitlength. For example, the following line: interfaces = 192.168.2.10/24 192.168.3.10/24 would configure two network interfaces with IP addresses 192.168.2.10 and 192.168.3.10. The netmasks of both inter- faces would be set to 255.255.255.0. You could produce an equivalent result by using: interfaces = 192.168.2.10/255.255.255.0 192.168.3.10/255.255.255.0 if you prefer that format. > > I got it to work with a.b.c.d/subnetbits but it would be nice to know the > full syntax :/ > > dennis -- Regards, Norman C. Rice, Jr.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980108001648.33661>