Click to See Complete Forum and Search --> : File sharing acrossed multiple subnets


yutt
08-10-2003, 03:09 PM
I am trying to share files with another comp using SMB. So far, both computers can share and browse other computers within the same subnet without a problem.

The problem is, IPs and subnets are being assigned via DHCP from the cable provider.

One computer is:
IP: XX.245.170.217
Subnet mask: 255.255.254.0
The other is:
IP: XX.210.91.32
Subnet mask: 255.255.254.0

Is this even possible through SMB, since they are technically on different logical networks? Using Webmin I have a "Remote announce to" option, but I haven't figured out what I would need there, or if it would even work.

If SMB isn't possible for file sharing in this situation, is LISa?

:confused:

Gertrude
08-11-2003, 06:05 PM
Its not going to work unless you were to set up a VPN.. NetBIOS the protocol SAMBA uses is a non-routable protocol by itself. It uses broadcast to send out server information to other hosts on the network. Because of this, the broadcast that you are sending out are going to be stopped by the first router you encounter on your ISP, and not propagated to the other subnet you want to connect to. Also even if you were on the same subnet you still wouldn't be able to do that because 99.99% of ISPs that have any idea of what they are doing will block the ports that its uses for security reasons to protect its customers.


Here is some VPN info:

http://www.linux-sec.net/VPN/

Or just set up a SFTP or FTP server to share the files.

andysimmons
08-12-2003, 12:14 AM
Might work with Lisa...check this out:
Unlike the Windows' Network Neighborhood, LISa only relies upon the TCP/IP stack and no other protocols such as SMB or NetBIOS. In short, once you configure LISa with information about the network to which you are attached, it will probe devices found on the network for commonly available services, such as FTP, SMB, NFS and HTTP (see Figure 5). By entering lan:/ into Konquerer, you will be presented with a list of all discovered servers and their associated services.
I found that here. (http://www.linuxjournal.com/article.php?sid=4728)

jumpedintothefire
08-13-2003, 07:12 PM
A WINS server (in SAMBA) will allow inter-subnet browsing...
You'll need to have all the clients using it for this to work.