On Mon, 10 Feb 2003 [EMAIL PROTECTED] wrote:

> Hi,
>
> How would I config my smb.conf file to use a share on
> eth0 and another share on eth1?
>
> This is a manual way of load balancing.
>
> Thanks in advance,

Have not tried it, but here is a start!

In smb.conf:

[globals]
        workgroup = FooBar
        Netbios name = foodman
        Netbios aliases = foodgal
        include = smb.conf.%L


In smb.conf.foodman:

[globals]
        interfaces = eth0
        bind interfaces only = Yes

[sharename1]
        path = /food/barn/foodman



In smb.conf.foodgal:

[globals]
        interfaces = eth1
        bind interfaces only = Yes

[sharename2]
        path = /food/barn/foodgal


Yada, yada, yada ...

- John T.
-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to