nmbd tries to send from wrong ip

Joel Hammer Joel at HammersHome.com
Sun Sep 23 19:34:02 GMT 2001

I am no expert on this but no one has responded yet so I will take a shot:
It says that the source IP is So, that is your samba machine I
It says the destination is That is on the external network I
What IP are you known by to the external network, eth1? This says you failed to
send a packet from, from eth1, which sounds right, since that is a private
What do you see with ifconfig?
Can you interact with your external network properly otherwise?
BTW, is samba working properly despite this error message?

On Sun, Sep 23, 2001 at 09:13:37PM +0200, Torbjörn Jansson wrote:
> 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 and the external
> network is eth1 with subnet
> 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= DST= 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 ERRNO=Operation not
> permitted
> ( is my wins server and 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?

More information about the samba mailing list