browsing across subnets

Avantel Systems alex at
Thu Oct 26 23:11:45 GMT 2000

Try this;

from a host on one network to the other subnet

echo hello | telnet remote-server-ip 139

where the remote-server-ip is the ip address of the remote samba server (=
the internal (private) address and try again with the external ip address=

if you get Connection refused, then;

either you're blocking the ports (firewall?)
or samba is not listening on the external interface (see interface option=

If, on the other hand you get a "Connected" message followed by
"Connection closed" message, then;

the problems is something else.

Try that & let me know what happens

Alex @ Avantel

On Thu, 26 Oct 2000, you wrote:
> I have changed around settings several times, right now each is the dom=
> master browser, local master and preferred, one is setup as the wins se=
> with all clients and the other samba server set to use it for wins.  In=
> wins.dat file there is an entry for the other samba server and a client=
> the other subnet setup to use it as wins but no one can see the second
> workgroup on the subnet where the wins samba server resides.  From that
> machine when I try this for the non-wins samba server:
> smbclient -L server
> I get this:
> added interface ip=3D127.0.0.1 bcast=3D127.255.255.255 nmask=3D255.0.0.=
> added interface ip=3D192.168.3.1 bcast=3D192.168.3.255 nmask=3D255.255.=
> Got a positive name query response from ( )
> session request to SERVER failed (Not listening for calling name)
> Got a positive name query response from ( )
> session request to *SMBSERVER failed (Not listening for calling name)
> is the correct IP for that server.
> Any idea what to try next?
> Thanks
> Andy
> ----- Original Message -----
> From: "Avantel Systems" <alex at>
> To: "Andy Worthington" <andy at>
> Cc: <samba at>
> Sent: Wednesday, October 25, 2000 6:16 PM
> Subject: Re: browsing across subnets
> You need to make both samba servers domain master browsers.  And you're
> right
> about the wins server - disconnects can cause odd behaviour - especiall=
> since
> samba cannot (yet?) be a secondary wins server.
> Alex @ Avantel
> On Wed, 25 Oct 2000, you wrote:
> > I've read through the BROWSING*.txt files in docs/textdocs and I thin=
k I
> set
> > everything up right but I can't get this to work.
> >
> > I am using IPSEC to connect two lans that are seperated by the intern=
> and
> > use dsl lines for internet connection.  That is setup and working.  I=
> > ping from a client on one subnet to a client on another subnet with n=
> > problems.  One subnet is and the other is
> >
> > The subnet has the workgroup of irish and the
> > the workgroup of msp.
> >
> > I want both of these subnets to see both workgroups.  All clients are
> win98
> > and there is a samba server on each network that is also doing the ip=
> and
> > acting as the firewall(currently setup to accept everything).  Each s=
> > has the samba server setup as the WINS server for that subnet.
> >
> > in the smb.conf file on I added:
> >
> >    remote browse sync =3D
> >    remote announce =3D
> >
> > and on I added:
> >    remote browse sync =3D
> >    remote announce =3D
> >
> > Any ideas how to solve this so that each subnet can see and use both
> > workgroups.  Another question about the WINS servers, I read that it =
> best
> > if only one is used for both subnets.  If I do this and the link drop=
> the
> > subnet without samba setup for wins will of course no longer have a w=
> > server.  Will this Win98, ME clients automatically start using broadc=
> > based name resolution when the WINS server becomes inaccessable?
> >
> > TIA
> > Andy Worthington

More information about the samba mailing list