[Samba] Samba and 2 NIC's
Joel Cant
joel at linuxmod.co.uk
Sat Feb 28 17:11:49 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
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
try to sonnect to samba using eth0, it fails, but if in unplug the cable
in the eth0 card the transfers over samba die. looking at iptraf it
seems all traffic is being routed over the first card, nothing is going
out of the second card at all apart from network broardcasts. anyone
actually managed to make something like this work? i am really stuck on
this, anyone have any idea how to fix it?
Cheers
Joel
More information about the samba
mailing list