[Samba] Traffic going to wrong interface?

Greg Whynott greg at calibredigital.com
Tue Jan 6 18:17:22 GMT 2004

assuming you are using linux:

Have you tried the below GLOBAL setting? 

interfaces =

This asks samba to listen on that interface only,  I don't know if it
will also force samba to use this interface as the source for any
outbound connections. 

   Making the gigabit interface your primary interface may also work. 
You might be able to kludge this from within the /etc/modules.conf file
if you are using modules to drive the cards.  

alias eth0 tg3
alias eth1 e100

  Then there is the route method.  you can add static routes to the
client.  Host routes are honored over network routes.  I'd use this as a
last resort,  it seems wrong.

route add -host  eth0

I have a few more but I think one of these might work.  good luck with


Andrew Athan wrote: 
> If I connect via \\gige.ethernet.address\foo , and copying a large file,
> windows reports outbound traffic on the gige port and return traffic on the
> 100Meg port.
> Thus, it seems the samba server sees the client->server traffic via gige but
> is responding via the slower interface.  Not what I want.

UNIX is user friendly, it's just selective about who its friends are.

More information about the samba mailing list