[Samba] LVS-domain logon -nmbd

vmoravek at atlas.cz vmoravek at atlas.cz
Thu Apr 7 20:01:06 GMT 2005


Hi all,

I try setup LVS and samba server and i found one problem when I registered computer to domain.

I drawed picture and attach it.

client(195.146.40.2)
|
|
LVS
VIP(195.146.40.1)
DIP(192.168.30.1)
|
|
samba(192.168.30.10)


For clearly understand : I have two networks, external and internal. When
nmbd receive announcment from client send answer to client. Answer packet
contain ipadress of samba server. But this IP is real samba server IP(in
my case internal) and client cannot connect directly samba.

Exist any way how can nmbd sent to client VIP address instead internal
address.

Thanks a lot.


my ipvsadm rules:

root at lvs ~]# ipvsadm -Ln
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  195.146.40.1:139 rr
  -> 192.168.30.10:139            Masq    1      0          0
UDP  195.146.40.1:137 rr
  -> 192.168.30.10:137            Masq    1      0          0
UDP  195.146.40.1:138 rr
  -> 192.168.30.10:138            Masq    1      0          0
TCP  195.146.40.1:445 rr
  -> 192.168.30.10:445            Masq    1      0          0


More information about the samba mailing list