[Samba] NetBIOS across subnets

Misty Stanley-Jones misty at borkholder.com
Tue Jan 18 15:33:15 GMT 2005


Hi all,

I would like two Samba servers to be able to talk to each other via NetBIOS.  
The problem is that they are on two different subnets.  I have enabled 
broadcast ping on the routers, and the servers can each ping the other subnet 
with no trouble.  The two relevant IPs are 192.168.1.101 and 192.168.2.3.  
There is a T1 between two Cisco routers, and IP routing is all set up. 

Currently 192.168.1.x is the CORP domain. Samba PDC is acting as the WINS 
server.

192.168.2.x is the FURN server, and its Samba PDC is acting as its WINS 
server.

My Windows systems in CORP can browse to the FURN domain and see systems in 
it.

My Windows systems in FURN can browse to the CORP domain but can't see any 
systems in it.

Neither of my PDCs can see the other, so they cannot establish a trust.

Relevant settings for CORP PDC are:
wins support = yes
os level = 100
preferred master = yes
domain master = yes
remote announce = 192.168.2.255/CORP
remote browse sync = 192.168.2.255
name resolve order = bcast wins lmhosts host  (there is no lmhosts or host)
allow trusted domains = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

Relevant settings for FURN PDC are:
        os level = 99
        dns proxy = Yes
        wins support = Yes
        wins proxy = Yes
        os level = 100
        preferred master = yes
        domain master = yes
        local master = yes
        remote announce = 192.168.1.255/FURN
        remote browse sync = 192.168.1.255
# I put this one in to try to get it to "hear" the other server's broadcasts 
-- did not work 
       interfaces = 127.0.0.1 192.168.2.3/255.255.0.0
        name resolve order = bcast wins lmhosts host
        allow trusted domains = yes

Both servers are 3.0.11pre1.  Both are DHCP servers as well.  They are pushing 
out netbios server settings to the clients as follows:

CORP:
option netbios-name-servers 192.168.1.101, 192.168.2.3;
option netbios-node-type 8;

FURN:
option netbios-name-servers 192.168.2.3;
option netbios-node-type 8;

The fact that FURN is not giving out CORP as a netbios server might be 
significant why the users can't see CORP's computers, but it doesn't explain 
why the domains can't see each other.

If anybody has any information on how I can make this work I would love it.  I 
did look in "Samba 3 By Example" but it doesn't really go into the networking 
side of it at all.

Thanks,
Misty


More information about the samba mailing list