nmbd tries to send from wrong ip

Torbjörn Jansson tobbe%mariedal-32-147.student.mh.se at mh.se
Sun Sep 23 12:11:03 GMT 2001


when i startup samba it seems like nmbd is trying to use the wrong
from-address of the interface its sending packets from

im using samba 2.2.1a
my internal network is eth0 with subnet 192.168.0.0/24 and the external
network is eth1 with subnet 10.252.35.0/24
here is a pice of my logs:

nmbd[2818]: [2001/09/22 16:11:14, 0] libsmb/nmblib.c:send_udp(776)
kernel: IN= OUT=eth1 SRC=192.168.0.1 DST=10.2.1.2 LEN=96 TOS=0x00 PREC=0x00
TTL=64 ID=0 DF PROTO=UDP SPT=137 DPT=137 LEN=76
nmbd[2818]:   Packet send failed to 10.2.1.2(137) ERRNO=Operation not
permitted

(10.2.1.2 is my wins server and 192.168.0.1 is the addres of eth0)

why is nmbd using the wrong source ip?
if i set interfaces= line in smb.conf to eth1 nmbd uses the right from
address, but thats not a good solution
have i missed something in the config file?

i think nmbd in samba 2.0.x did the same thing





More information about the samba mailing list