samba & routing problem

Arvydas Geciauskas goga at su.lt
Fri Oct 22 11:30:43 GMT 1999


Hi 4 all,
Best regards from Lihtuania,
I have one question:
I'm runing slackware linux 4.0 wiht kernel 2.2.12,
using samba 2.0.5a
I have 2 ethernet card's and 1 wavelan card.
eth0 - wavelan.
ifconfig eth0 192.0.0.3 netmask 255.255.255.224 broadcast 192.0.0.31 (wavelan)
		............
ifocnfig eth1 192.0.0.65 netmask 255.555.255.224 broadcast 192.0.0.95 (samba
client's on this interface)
		............

ifconfig eth2 192.0.0.129 netmask 255.255.255.224 broadcats 192.0.0.159
(Other client for internet gateway)
		............

____________________
Routing table
route add -net 192.0.0.0 netmask 255.255.255.224 eth0
route add -net 192.0.0.64 netmask 255.255.255.224 eth1
route add -net 192.0.0.128 netmask 255.255.255.224 eth2
route add default gw 192.0.0.1 eth1
____________________

In smb.conf file are lines:
	interfaces = 192.0.0.65/255.255.255.224
	hosts allow = 192.0.0. 127.0.0.
___________________
>From client's (win9x) i see linux samba server (in eg. darkstar)
but when i trying to browse for shares on linux samba server, windows 9x
display message "Network is busy".
I run smbd server with debug level -d9
and im log file i see something like this (i can't remember exactly how):
	write socket error
	error writing 4 bytes to socket
___________________
I try everything that i now, but nothing hapening.
And then i delete entry "default" from kernel routing table no more problem left :)
Then i add entry "route add default gw 192.0.0.1", when problem exist's again.
May be someone knows what's going on ?
Thank's for help, and sorry for my english
Goga.




More information about the samba mailing list