[Samba] Help with multiple subnets
danicamps81 at yahoo.com
Tue Mar 8 16:38:35 GMT 2005
I already have all the clients using a WINS server.
But if the WINS server is in the gateway machine that
has one interface in each subnet (192.168.0.1 and
192.168.1.1), the WINS server for the clients in each
subnet must be the gateway of that subnet or it
doesn't matter ? I mean is there any problem if the
clients in the 192.168.1.0/24 subnet have the WINS
server pointing at 192.168.0.1 ?
I guess that no, just trying to find out what might be
--- "Aaron J. Zirbes" <ajz at cccs.umn.edu> wrote:
> set all your clients WINS server to point to the the
> Samba machine. All
> your worries should go away.
> Dani Camps wrote:
> > I have two subnets in may LAN 192.168.0.0/24 and
> > 192.168.1.0/24. Both subnets go out to the
> > through a Linux box acting as a gateway, so the
> > gateway has one interface in each subnet
> > and 192.168.0.1). In both subnets I have Windows
> > Linux machines and I want to configure SMB
> > using a workgroup (not a domain), so one workgroup
> > more than one subnet.
> > I know that to enable SMB networking in multiple
> > subnets I need a domain master browser and one
> > master browser per each subnet, or I need to use
> > "remote browse sync" to make the local master
> > in each subnet talk each other. My problem is that
> > only machine that has a fixed IP in both subnets
> > the Linux gateway. To use this "remote browse
> > would I need two instances of samba one running in
> > each interface ? By now I just have one instance
> > samba listening in both interfaces in the gateway
> > machine, in the gateway machine there is also a
> > server.
> > I have this Linux gateway configured to be the
> > master and the local master browser, but I am bit
> > confused about if this machine is the local master
> > browser in both subnets or not.
> > Basically my configuration in the gateway is the
> > following:
> > hosts allow=127. 192.168.0. 192.168.1.
> > ...
> > socket options = TCP_NODELAY SO_RCVBUF=8192
> > SO_SNDBUF=8192
> > ...
> > interfaces=192.168.0.1/24 192.168.1.1/24
> > bind interfaces only=yes
> > ...
> > #To be the DMB
> > domain master = yes
> > local master = yes
> > os level = 255
> > preferred master = yes
> > ...
> > #To be the WINS server
> > name resolve order = wins lmhosts bcast
> > wins support = yes
> > dns proxy = no
> > ------------------------------------------
> > It's quite weird because if I check the
> > /var/cache/samba/browse.dat file in the gateway I
> > that the machines in both subnets are there and in
> > wins.dat file the ip of the machine is there. But
> > when I try to browse the workgroup form a windows
> > machine I get the famous "Error 53" and I can not
> > browse the workgroup.
> > Thanks !
> > __________________________________
> > Celebrate Yahoo!'s 10th Birthday!
> > Yahoo! Netrospective: 100 Moments of the Web
> > http://birthday.yahoo.com/netrospective/
> Aaron Zirbes
> Systems Administrator
> Environmental Health Sciences
> University of Minnesota
> ajz at umn.edu
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
More information about the samba