[Samba] VPN and SAMBA

Nacho nacho at rlc01.sertecnet.com
Wed Jun 19 08:13:02 GMT 2002


I've read the documentation but I don't have any solution.
Now I can see the 3 subnets from windows but I can't open them, only I
open the lan where I am.

For example:
    I am in 192.168.1.0
    The others are in 192.168.2.0 and 192.168.3.0
    I have configured this parameters in smb.conf
        interfaces = 192.168.1.1/24 192.168.2.1/24 192.168.3.1/24
        remote announce = 192.168.2.1/SERVER1 192.168.3.1/SERVER2
        remote browse sync = 192.168.2.1 192.168.3.1

    If I do             nmblookup -d 2 server2
             added interface ip=192.168.1.1 bcast=192.168.1.255
netmask=255.255.255.0
             added interface ip=192.168.2.1 bcast=192.168.2.255
netmask=255.255.255.0
             added interface ip=192.168.3.1 bcast=192.168.3.255
netmask=255.255.255.0
             querying server2 on 192.168.1.255
             querying server2 on 192.168.2.255
             Got a positive query name response from 192.168.101.202
(192.168.2.1)
             192.168.2.1 server2<00>

But I don't see the net of the server2 on windows
I have done a tcpdump and I have seen that when I try to open one of the
server out of my lan, and I don't know why server only ask  (interface
1) 192.168.1.255 for server2 and it doesn't go for another interface...
This is my main problem...

Thanks

Rongyao wrote:

> check out the documentatin in
> /usr/share/doc/samba-<version> .
> look for BROWSING.txt and BROWSING-Config.txt
> the 2 articles provide the explanation and
> configuration u need.
>
> or check www.samba.org
>
> --- halljay at socket.net wrote:
> > You might try remote announce.
> >
> >
> >
> > Jay
> >
> > > Hello!
> > >
> > > I've got a problem with DNS,VPN and SAMBA.
> > >
> > > I do have 3 Linux servers on distinct subnets.
> > (192.168.1.1 ,192.168.2.1
> > > and 192.168.3.1). I have done a VPN between the 3
> > subnets and I could do
> > > a ping from 192.168.1.1 to the others without
> > problems.
> > >
> > > Each sever has 2 network cards. One of them is
> > connected to ADSL.
> > >
> > > From 192.168.1.1,  I could see the samba server
> > from 192.168.2.1 when I
> > > do nmblookup -A 192.168.2.1 for example and if I
> > am working in a win98
> > > client, I could connect with another computer from
> > the other lans such
> > > as this computer was on my lan.
> > >
> > > In lan1 server is server1, in lan2 server is
> > server2 and server3 in lan3
> > >
> > > My problem is that I would like the w98 clients
> > could see the 3 lans at
> > > the same time on the windows explorer. Now I can
> > see the three servers
> > > on the explorer but when i try to connect to other
> > server, windows says
> > > me that it couldn't find the name of the server,
> > however, since dos
> > > promp i can do --> net view \\server  and it's ok
> > >
> > > Is a problem If netbios-name from the 3 servers
> > are the same name?
> > >
> > > Somebody can help me???
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe from this list go to the following
> > URL and read the
> > > instructions:
> > http://lists.samba.org/mailman/listinfo/samba
> >
> >
> >
> >
> >
> > --
> > To unsubscribe from this list go to the following
> > URL and read the
> > instructions:
> http://lists.samba.org/mailman/listinfo/samba
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com





More information about the samba mailing list