[Samba] UDP/138 answers sending from false IP on multinetwork-server
matthus at nexgo.de
Sun Jan 11 01:42:52 MST 2015
after change net-infrastructure on a multinetwork-server can on segment
not find the logon-server. Source problem is, that nmbd sending UDP/138
answers from a false IP.
12:08:08.909997 IP 220.127.116.11.138 > 18.104.22.168.138: NBT UDP PACKET(138)
12:08:08.910083 IP 10.9.0.1.138 > 22.214.171.124.138: NBT UDP PACKET(138)
UDP/137 and all TCP-traffic are O.K. My server has two active netcards
for samba (and localhost):
In smb.conf is written:
interfaces = 127.0.0.1, 126.96.36.199, 10.9.0.1
bind interfaces only = yes
hosts allow = 127.0.0.1, 10.9.0.0/255.255.255.0, \
188.8.131.52/255.255.255.128, 10.8.0.0/255.255.255.0, 184.108.40.206
On network 10.8.0.0 all O.K. with trafic over a router-firewall to
10.9.0.1 (with lmhost on the clients). On network 220.127.116.11 I have the
trouble. The lmhost is:
18.104.22.168 serv1 #PRE #DOM:ABC
22.214.171.124 "ABC \0x1b" #PRE
Between the networks is a cisco-firewall that blocks the
not-network-specific traffic 10.9.0.1 on the vlan for 126.96.36.199. In this
case the pakages UDP/138 can't reach for the client.
Hint: In another network in other buildings I have a simliary
installation. In that nmbd sends to 127.0.0.1 and in tcpdump is seen the
rigth sender-IP for each adapter.
What can I do?
More information about the samba