AW: [Samba] samba configuration multiple ethernet card

Stefan G. Weichinger monitor at oops.co.at
Mon Mar 1 20:38:40 GMT 2004


Hello, Stefan,

Montag, 01. März 2004, 21:25 you wrote:

SB> Ok, and then? 

SB> in file smb.conf.192.168.0.1

SB> [global]
SB> ...
SB> bind interfase only = yes
SB> interfaces          = eth0
SB> ...

SB> [FOR_ALL]
SB> ...

SB> in file smb.conf.192.168.0.2

SB> [global]
SB> ...
SB> bind interfase only = yes
SB> interfaces          = eth1
SB> ...

SB> [ADMINS]
SB> ...

SB> Does this configuration works?

Not as you want it to.

Be aware that the parameter "bind interfaces" is a global one, which
means that it sets the interface for ALL shares you define.

Including other files does NOT change that.

If you want to use 4 NICs and their bandwidth, look for the topic
"bonding NICs". Then bind your smb-traffic to the created
bond-interface (via "bind interfaces") and enjoy the performance.

-- 
best regards,
Stefan G. Weichinger
mailto:monitor at oops.co.at









More information about the samba mailing list