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 192.168.0.1. So, that is your samba machine I
suppose.
It says the destination is 10.2.1.2. That is on the external network I
conclude.
What IP are you known by to the external network, eth1? This says you failed to
send a packet from 192.168.0.1, from eth1, which sounds right, since that is a private
number.
What do you see with ifconfig?
Can you interact with your external network properly otherwise?
BTW, is samba working properly despite this error message?
Joel





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 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?
> 




More information about the samba mailing list