nmbd reply wrong ip if client from another network !!!

tbsky_lee at notes.unicap.com.tw tbsky_lee at notes.unicap.com.tw
Thu Oct 28 11:48:18 GMT 1999



our samba machine got three NIC => 10.0.0.1/8, 192.168.0.1/16,
210.66.105.10/24
  and got 2 netbios name in the network. CAMER(for share mode).
CAMLOGON(for user mode).
  it acts as a wins server and logon server. it works fine.
  client from 10.x.x.x will know CAMER & CAMLOGON as 10.0.0.1,
  client from 192.168.x.x will know CAMER & CAMLOGON as 192.168.0.1
  but a few days ago, we cut 192.168.x.x to several class C v-lans.
  for example:  now our samba server is 192.168.0.1/24, and connect to
others through
                           192.168.0.254
                            a client is 192.168.22.18, and connet to others
through 192.168.22.254.
                            client's wins server still 192.168.0.1.
  network is ok. will can ping or ftp or telnet as usual. but when client
try to logon samba server,
  it sometimes fails.

       BC4 the client doesn't know that server is 192.168.0.1, why ????

  try ping CAMER or ping CAMLOGON, i will see 10.0.0.1 or 192.168.0.1 or
210.66.105.10....
  so i think it's the reason why client can not logon. every time client
get a different ip from wins
  server.....

      BC4 it can not get the correct server ip from wins server through
router???

 when i remove the gateway from 95/98, everything is ok. client will know
CAMER & CAMLOGON
 as 192.168.0.1.

 How can i solve this problem ??? thanks for ur reply !!!!




More information about the samba mailing list