Newbie lost in SAMBA Space : How can I Browse two subnets with one Samba on the gateway ?

Andrew Bartlett abartlet at pcug.org.au
Sun Dec 31 08:07:15 GMT 2000


Laurent Deffranne wrote:
> 
> Hello all,
> 
> Here is my problem : I have :
> 
> - 2 lans : 10.0.1.0 & 10.0.2.0, mask 255.255.255.0
> - 1 gateway (linux of course) on 10.0.1.100 & 1.0.0.2.100
> - only 1 workgroup needed : "Croix-Place"
> 
> Network quality : the pings are ok, everything quite normal.
> 
> ALL I want is that ALL the computers (running Win 98 on the two lans) to appear on the Win98 Network Neightboorhood.
> I have a lot of problems to enable this. Easy problem, difficult solution ?
> 

It sounds like you need to setup samba as a WINS server (done), and to
tell your clients it's IP address.  (Network Control Panel -> TCP/IP
setup)

> Could someone tell me if the following smb.conf is correct ???
> Because I have tried to build a lot of these and it never worked.
> ######### START ######################
> [global]
> 
> # Who am I ?
> #############
> netbios name = "Macphisto"
> workgroup = "Croix-Place"
> server string = "Linux Server running Samba %v"
> 
> # Who are the others ? (needed for browsing ?)
> ##############################################
> guest account = ftp
> 
> host allow = 10.0.1. 10.0.2. localhost
> interfaces = 10.0.1.100/24 10.0.2.100/24
> bind interfaces only = yes
> 
> wins support = yes
> dns proxy = no
> name resolve order = wins lmhosts host bcast
> ;wins proxy = yes
> 
> domain master= yes
> local master = yes
> preferred master = yes
> os level = 65
> 
> socket options = TCP_NODELAY
> 
> security = share
> 
> ;lm announce=true
> ;lm interval = 60
> 
> #####################
> # SHARES FOLDERS #
> ####################
> [boite]
> path = /home/boite
> browsable = yes
> writeable = yes
> public = yes
> 
> ######## STOP ######################
> 

This looks reasonable

--snip other quesitons--

> 
> Thanks,
> 
> L. Deffranne

-- 
Andrew Bartlett
abartlet at pcug.org.au




More information about the samba mailing list