Networking Forums

Networking Forums > Computer Networking > Linux Networking > Workgroup that spans more than one subnet in Samba

Reply
Thread Tools Display Modes

Workgroup that spans more than one subnet in Samba

 
 
Dani Camps
Guest
Posts: n/a

 
      03-09-2005, 10:35 AM
I want a workgroup that spands two IP subnets. My
configuration is:

INTERNET
|
__eth1__
|---------eth0|________|eth2------------|
192.168.0.0/24 Gateway 192.168.1.0/24

<------------------------------------------>
WORKGROUP

eth0:192.168.0.1 and gateway of the 192.168.0.0/24
eth2:192.168.1.1 and gateway of the 192.168.1.0/24
eth1ublic IP, doing NAT of the internal subnets

The Gateway is a Fedora Core 3 box where I have Samba
installed. I have Samba configured to be a WINS server
in that machine.

What I have now and it doesn't work is the following:
In the gateway machine I have one instance of Samba
running with this configuration:
-----------------------------------------------------
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 127.0.0.1/8
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
------------------------------------------

So the Gateway machine is the local master browser, of
both subnets ? (I am not sure) and is the domain
master browser and the WINS server. Then all the
clients in both subnets are configured to use the WINS
server in either eth0 or eth1. This configuration
doesn't work at all and I don't understand why ...

Well looking at the post in the mailing list I see
that the most people what have is a local master
browser in each subnet, and then both LMB
syncrohronize each other using the "remote browse
sync" instruction. I can not do this since I don't
have a machines with samba in eeach subnet I only have
the gateway. Then my question is should I run in the
gateway two instances of samba each one listening on
one interface, being the LMB of its subnet and with
the "remote browse sync" option in each one, and
having one of the two instances act as a domain name
server and a WINS server?

If this is the case how can I run two instances of
Samba in the same machine ? The only thing I need is
another configuration file and passed it to samba when
I start it ? In each configuration file I would have:
--------------------------------
interfaces=192.168.0.x
bind interfaces only=yes
--------------------------------

Is this correct ? Any idea is apreciated I have
already been a quite long time dealing with this
question...

Thanks
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Routing - Computers on either subnet have problems finding PCs on the other subnet ZZYZX Windows Networking 2 03-26-2011 01:01 AM
Do all Linux distros have Samba built-in? Detect if Samba installed? Matthew Lincoln Linux Networking 8 11-17-2008 12:11 AM
A few questions regarding samba from a samba and windows rookie Madhusudan Singh Linux Networking 0 03-30-2005 05:54 PM
subnet to subnet routing question S James Linux Networking 0 09-04-2003 03:37 PM
[Samba] WINS on Samba server and Routing jbob Linux Networking 0 08-13-2003 01:31 AM



1 2 3 4 5 6 7 8 9 10 11