[Samba] Dual ethernet server on the same LAN

Peter Szmrecsanyi peter at totallinux.com.br
Thu May 5 18:10:38 GMT 2005

I've never tried this but could you not run two instatnces of the SMBD
server, and bind one to an interface and the other to the other

Maybe make two smb.conf files (putting the drone shares and interface
one on efile a the probe shares and interface on the other file) then
start smbd -s smb.conf1, followed by smbd -s smb.conf2.

Falling that, set up your DNS so the probe is the IP of one interface
and drone is tha IP of the other interface (not a round robin fashion
and you are not trying to shared the load but to split the load). Then
on all your widows clients go to the network adapter configutation
(TCP/IP) and select the "Disable NetBIOS" feature, that way those
clients will be using only CIFS (or IP address instead of the names).
You can also disable WINS...

Now all probe traffic should go throught the probe interface and
likewise for the drone traffic.

Hope this helps.


Em Qui, 2005-05-05 às 11:55 -0400, Eric Feldhusen escreveu:
> Nikolay Kabaivanov wrote:
> > Hello, I have Fedora Core 3 linux and Samba 3.0.14a  on a server that
> >  has 2 ethernet interfaces connected to the same LAN. The purpose to 
> > have such a server with 2 network cards is to serve 2 network shares 
> > with high traffic. I want the first share to be accessed trough the 
> > first network card (named drone.domain.com) and the second share 
> > trough the second card (named probe.domain.com). My DNS works 
> > correctly. The problem I see is that I can't designate the second 
> > card to be "bound" to the netbios name of "probe" and in this way, my
> >  clients to make connections on this second network interface, for 
> > example \\probe\some_share
> > 
> > If I use this global setting  " netbios aliases = probe  " the name 
> > "probe" is bound like a second name for the first card, which already
> >  has netbios name "drone" associated with it. Without "netbios 
> > aliases=probe"  nmblookup command can't find any information about 
> > netbios name "probe". I tried to make the following permanent 
> > mapping: netbios name <--> IP in wins.dat file but it desappears 
> > after a few seconds. Does anyone has any idea how I or samba could 
> > announce it's Netbios name which is on the second LAN card ?
> It's outside of anything on Samba configuration to do what you want, but
> another way to use both interfaces to their fullest, would be to "bond"
> the two ethernet interfaces.  Your network switches would have to
> support this and be configured, but then your two seperate 100MB/s
> interfaces would be one single 200MB/s connection from your server to
> your network with a single "logical" interface,  associated ip address,
> and netbios name for it.
> Eric Feldhusen

More information about the samba mailing list