[Samba] Samba routing issues

Joel Cant joel at linuxmod.co.uk
Thu Feb 26 11:58:17 GMT 2004


Basically the situation is:

My main server has 2 NIC's

eth0 = 10/100 card 192.168.0.101/255.255.255.192
eth1 = gbit card 192.168.0.104/255.255.255.192

samba global config on the server

[global]
workgroup = GBNET
server string = Aries Fileserver
interfaces = 192.168.0.104/255.255.255.192, 127.0.0.1
bind interfaces only = Yes
null passwords = Yes
socket options = TCP_NODELAY IPTOS_LOWDELAY SNDBUF=8192 RCVBUF=8192

The problem is this, although samba is bound to eth1's ip address, if i 
do smb://192.168.0.101 (the interface itr shouldent be listening on) it 
fails, which is good (it works if i do 192.168.0.104, i checked iptraf 
too and all the traffic is over eth0), but if in unplug the cable in the 
eth0 card the transfers over samba die. i have been told its a routing 
problem, anyone know who to solve it?

Cheers

Joel


More information about the samba mailing list