[Samba] WINS over multiple subnets

Dane Mutters dmutters at gmail.com
Fri Jun 24 20:00:24 GMT 2005


 Hello, everybody!

 I have two networks (192.168.1.0 and 192.168.2.0) connected across a wireless 
router with two NICs.  I can ping everything allright via ip address, but not 
by name across subnets.  Things on the same subnet ping allright by name.  
Here are the smb.conf files for my two master browsers:

#(192.168.1.249)
[global]
        workgroup = THEBAND
        netbios name = Yesteryear
        server string = Samba File Server
        security = SHARE
        log file = /var/log/sambs.%m
        max log size = 50
        wins support = yes
        domain master = yes
        local master = yes
        os level = 65
        preferred master = yes
        remote announce = 192.168.2.255
        remote browse sync = yes
        name resolve order = wins, lmhosts


#(192.168.2.247)
[global]
        workgroup = THEBAND
        netbios name = TheRef
        server string = router
        security = share
        wins support = yes
        interfaces = eth0 ra0
#       interfaces = 192.168.1.0/24 192.168.2.0/24
        local master = yes
        preferred master = yes
        os level = 65
        remote announce = 192.168.1.255 192.168.2.255
        remote browse sync = 192.168.1.255
#       bind interfaces only = yes


 Here is my client configuration:

#(192.168.2.247)
[global]
        workgroup = THEBAND
        server string = Jason's Samba Server
        netbios name = oldShoe
        security = SHARE
        wins server = 192.168.2.247
#       remote announce = 192.168.2.247
        os level = 0
        name resolve order = wins, nmhosts
#       remote browse sync = 192.168.2.247 192.168.1.249


#(192.168.1.250)
[global]
        workgroup = THEBAND
        netbios name = Orchestrator
        server string = Slackware Samba Server
        security = SHARE
        log file = /var/log/samba.%m
        max log size = 50
        os level = 0
        wins server = 192.168.1.249
#       remote announce = 192.168.1.247
        name resolve order = wins, lmhosts


 I have disabled all firewalls (set everything to ACCEPT).

 I've been banging my head against his problem for over a week without 
success.  I've posted this question on Linuxquestions.org and the Shorewall 
mailing list without avail.  Any help you can give me would be greatly 
appreciated!  
 
 Thanks!

 --Dane


More information about the samba mailing list