hi, I need a hand setting up cross subnet browsing. Does anyone have some good news group postings, or a HOWTO? I have 2 samba servers, and 2 subnets. Each servers sits on it's own domain/workgroup. I think this should be much simpler than it is, and perhaps I am just missing one or two settings. Of the 2 servers: A, B I would like 'A' to do any serving or hold any responsabilities.
If you are setting these up on an existing NT domain architecture then make sure you configure them to talk to the wins server but not *be* the wins server. The Wins communication is essential when working with cross subnet browsing in an NT Domain. I would recommend you make sure that domain master = no and preferred master = no. Let you NT servers be the master browsers for your subnets. I used SWAT to configure my smb.conf file. the help pages they link into the web page have proven to be very helpful when configuring each option. -Dan -----Original Message----- From: Jason C. Leach [mailto:jleach@mail.ocis.net] Sent: Monday, February 18, 2002 12:38 PM To: samba@lists.samba.org Subject: [Samba] Cross Subnet Browsing. hi, I need a hand setting up cross subnet browsing. Does anyone have some good news group postings, or a HOWTO? I have 2 samba servers, and 2 subnets. Each servers sits on it's own domain/workgroup. I think this should be much simpler than it is, and perhaps I am just missing one or two settings. Of the 2 servers: A, B I would like 'A' to do any serving or hold any responsabilities.
Jason C. Leach wrote:>hi, > >I need a hand setting up cross subnet browsing. Does anyone have some >good news group postings, or a HOWTO? > > >I have 2 samba servers, and 2 subnets. Each servers sits on it's own >domain/workgroup. I think this should be much simpler than it is, >and perhaps I am just missing one or two settings. > >Of the 2 servers: A, B I would like 'A' to do any serving or >hold any responsabilities. > >>From 'A' config file: > > os level = 64 > preferred master = yes > domain master = yes > local master = yes > > ; winis > name resolve order = wins host bcast > ;wins server = 192.168.3.11 > enhanced browsing = yes > ;remote browse sync = 192.168.3.11 > remote announce = 192.168.3.11/NKLOSM > wins support = yes > > > >>From 'B' config file: > os level = 62 > ;preferred master = yes > ; domain master = yes > ;domain master = yes > local master = yes > > ;name resolve order = wins host bcast > wins server = 192.168.0.2 > enhanced browsing = yes > remote announce = 192.168.0.2 > remote browse sync = 192.168.0.2 > ;wins support = yes > >Thanks, >j.. >As someone else noted - be careful with this if you are on a net with NT/2000 domain controllers.... Try to search the archives for this group for this question. Basically - you need one domain-master-browser for each workgroup (domain) (and one local master browser for each subnet / workgroup). (So if your servers are in separate workgroups - then you need them BOTH to be domain-master-browser). In addition - make sure that ALL the machines talk to just ONE wins-server. Eirik Thorsnes
First step that your should take (which baffled me for a while) is to make sure each samba samba server WILL BECOME the local master during elections. Also make sure that the samba server will share its browse list to all other NetBIOS clients on its subnet. Next make one of the samba servers on what ever subnet to become DOMAIN master browser. Make sure all netbios machines that are the samba workgroup/domain use the same WINS server. Believe it or not, WINS is the secret to cross subnet browseing. You shouldn;t need any of the options in samba that "force" syncing of the browse list. Steve On Mon, 18 Feb 2002, Jason C. Leach wrote:> hi, > > I need a hand setting up cross subnet browsing. Does anyone have some > good news group postings, or a HOWTO? > > > I have 2 samba servers, and 2 subnets. Each servers sits on it's own > domain/workgroup. I think this should be much simpler than it is, > and perhaps I am just missing one or two settings. > > Of the 2 servers: A, B I would like 'A' to do any serving or > hold any responsabilities. > > From 'A' config file: > > os level = 64 > preferred master = yes > domain master = yes > local master = yes > > ; winis > name resolve order = wins host bcast > ;wins server = 192.168.3.11 > enhanced browsing = yes > ;remote browse sync = 192.168.3.11 > remote announce = 192.168.3.11/NKLOSM > wins support = yes > > > > From 'B' config file: > os level = 62 > ;preferred master = yes > ; domain master = yes > ;domain master = yes > local master = yes > > ;name resolve order = wins host bcast > wins server = 192.168.0.2 > enhanced browsing = yes > remote announce = 192.168.0.2 > remote browse sync = 192.168.0.2 > ;wins support = yes > > > > > Thanks, > j.. > > > > > -- > ...................... > ..... Jason C. Leach > .. > > PGP/GPG Public key at http://www.keyserver.net/ > Key ID: 1CF6DA85 > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
I am looking for a liitle more information on Cross Subnet Browsing. He is what I have so far. Domain A - (IP 192.168.1.x) Samba 2.2.8a is LMB, and DMB, and wins server Domain B - (IP 192.168.2.x) Samba 2.2.8a is LMB with remote anounce, remote sync, and WINS pointing to Domain A Domain C - (IP 192.168.3.x) Samba 2.2.8a is set up same as above.>From network neighborhood in domain B or C I can see the WORKGROUP for all three Domains. I can browse to the Samba server in all three domains and see the shares on the samba server. I can also see the other computers in each domain. But I am not able to browse to them and see the shares.PS Each Samba server has a public IP address and a private IP (192.168.x.x) the private ip address are connected via a VPN. I can ping to any private ip address on any domain from any computer inside the three domains. I am looking to be able to connect to the shares on a computer inside Domain A from a computer that is inside Domain B or C. Thanks in advance for any help Scott Swaim scott@qualitycorps.com
On Wed, 23 Apr 2003, Scott Swaim wrote:> I am looking for a liitle more information on Cross Subnet Browsing.Suggest you check out: http://samba.org/~jht/NT4migration/Samba-HOWTO-Collection.pdf This is a work in progress. I would be interested in your feedback on chapter 9. More than that, I would appreciate your contribution towards making this a definitive document to answer the type of question you have posted here. Cheers, John T.> > He is what I have so far. > > Domain A - (IP 192.168.1.x) Samba 2.2.8a is LMB, and DMB, and wins server > Domain B - (IP 192.168.2.x) Samba 2.2.8a is LMB with remote anounce, remote sync, and WINS pointing to Domain A > Domain C - (IP 192.168.3.x) Samba 2.2.8a is set up same as above. > > > >From network neighborhood in domain B or C I can see the WORKGROUP for all three Domains. I can browse to the Samba server in all three domains and see the shares on the samba server. I can also see the other computers in each domain. But I am not able to browse to them and see the shares. > > PS Each Samba server has a public IP address and a private IP (192.168.x.x) the private ip address are connected via a VPN. I can ping to any private ip address on any domain from any computer inside the three domains. > > I am looking to be able to connect to the shares on a computer inside Domain A from a computer that is inside Domain B or C. > > > Thanks in advance for any help > > Scott Swaim > scott@qualitycorps.com > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >-- John H Terpstra Email: jht@samba.org
I will be more than happy to share my experience. I believe I have found a solution to my problem. I am able to connect to the machines inside the domain if I supply a IP address for it. I "thought" that this was what the wins server was supposed to do. If I put the ip/machine name in a lmhost file I am able to connect to the shares. I only have 1 wins server with all of the machine in all of the domains pointing to it. Sorry to ramble. as there are around 50 machines in this configureation I do not want to create a lmhost file and put it on all of the machines. I guess the only other solution is to go with DNS. I gues I was just under the impression that the wins server was suppose to handle the name to ip resolution. ----- Original Message ----- From: "John H Terpstra" <jht@samba.org> To: "Scott Swaim" <scott@qualitycorps.com> Cc: <samba@lists.samba.org> Sent: Wednesday, April 23, 2003 3:55 PM Subject: Re: [Samba] Cross Subnet Browsing.> On Wed, 23 Apr 2003, Scott Swaim wrote: > > > I am looking for a liitle more information on Cross Subnet Browsing. > > Suggest you check out: > > http://samba.org/~jht/NT4migration/Samba-HOWTO-Collection.pdf > > This is a work in progress. I would be interested in your feedback on > chapter 9. More than that, I would appreciate your contribution towards > making this a definitive document to answer the type of question you have > posted here. > > Cheers, > John T. > > > > > He is what I have so far. > > > > Domain A - (IP 192.168.1.x) Samba 2.2.8a is LMB, and DMB, and winsserver> > Domain B - (IP 192.168.2.x) Samba 2.2.8a is LMB with remoteanounce, remote sync, and WINS pointing to Domain A> > Domain C - (IP 192.168.3.x) Samba 2.2.8a is set up same as above. > > > > > > >From network neighborhood in domain B or C I can see the WORKGROUP forall three Domains. I can browse to the Samba server in all three domains and see the shares on the samba server. I can also see the other computers in each domain. But I am not able to browse to them and see the shares.> > > > PS Each Samba server has a public IP address and a private IP(192.168.x.x) the private ip address are connected via a VPN. I can ping to any private ip address on any domain from any computer inside the three domains.> > > > I am looking to be able to connect to the shares on a computer insideDomain A from a computer that is inside Domain B or C.> > > > > > Thanks in advance for any help > > > > Scott Swaim > > scott@qualitycorps.com > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > > -- > John H Terpstra > Email: jht@samba.org > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
On Wed, 23 Apr 2003, Scott Swaim wrote:> I will be more than happy to share my experience. I believe I have found a > solution to my problem. I am able to connect to the machines inside the > domain if I supply a IP address for it. I "thought" that this was what the > wins server was supposed to do. If I put the ip/machine name in a lmhost > file I am able to connect to the shares.But did you read the chapter on this document ment I referred you to. I suspect you will find a better answer there. If it does not answer your needs then I must update the document.> I only have 1 wins server with all of the machine in all of the domains > pointing to it.That should work Ok.> > Sorry to ramble. > > as there are around 50 machines in this configureation I do not want to > create a lmhost file and put it on all of the machines. I guess the only > other solution is to go with DNS. I gues I was just under the impression > that the wins server was suppose to handle the name to ip resolution.Read chapter 9. If you still belive what you say above then chapter 9 needs yet more cleaning up. Your feedback is important, but I am depending on you to read the chapter first. - John T.> > > ----- Original Message ----- > From: "John H Terpstra" <jht@samba.org> > To: "Scott Swaim" <scott@qualitycorps.com> > Cc: <samba@lists.samba.org> > Sent: Wednesday, April 23, 2003 3:55 PM > Subject: Re: [Samba] Cross Subnet Browsing. > > > > On Wed, 23 Apr 2003, Scott Swaim wrote: > > > > > I am looking for a liitle more information on Cross Subnet Browsing. > > > > Suggest you check out: > > > > http://samba.org/~jht/NT4migration/Samba-HOWTO-Collection.pdf > > > > This is a work in progress. I would be interested in your feedback on > > chapter 9. More than that, I would appreciate your contribution towards > > making this a definitive document to answer the type of question you have > > posted here. > > > > Cheers, > > John T. > > > > > > > > He is what I have so far. > > > > > > Domain A - (IP 192.168.1.x) Samba 2.2.8a is LMB, and DMB, and wins > server > > > Domain B - (IP 192.168.2.x) Samba 2.2.8a is LMB with remote > anounce, remote sync, and WINS pointing to Domain A > > > Domain C - (IP 192.168.3.x) Samba 2.2.8a is set up same as above. > > > > > > > > > >From network neighborhood in domain B or C I can see the WORKGROUP for > all three Domains. I can browse to the Samba server in all three domains > and see the shares on the samba server. I can also see the other computers > in each domain. But I am not able to browse to them and see the shares. > > > > > > PS Each Samba server has a public IP address and a private IP > (192.168.x.x) the private ip address are connected via a VPN. I can ping > to any private ip address on any domain from any computer inside the three > domains. > > > > > > I am looking to be able to connect to the shares on a computer inside > Domain A from a computer that is inside Domain B or C. > > > > > > > > > Thanks in advance for any help > > > > > > Scott Swaim > > > scott@qualitycorps.com > > > -- > > > To unsubscribe from this list go to the following URL and read the > > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > > > > > -- > > John H Terpstra > > Email: jht@samba.org > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > >-- John H Terpstra Email: jht@samba.org