Link to home
Start Free TrialLog in
Avatar of sidwelle
sidwelleFlag for United States of America

asked on

Browse Master on two small networks seperated by a subnets to be aware of each othere and share lists.

I have two offices w/3 windows 7 machines in each (6 PCs total) and I plan to connected the networks. They will be on separate networks, so I need some way to cause the elected Browse Master for each subnet to be aware of the other network and show the PCs from the remote office in network neighborhood.

Office is too small for a PDC or a WINs server.

Any help is appreciated.

Thank You.
Avatar of Tomas Valenta
Tomas Valenta
Flag of Czechia image

These networks are in the same building ? What device will connect them ? Theoretically you need only allow broadcast to be forwarded between networks and than you see computers in network neighborhood.
Avatar of sidwelle

ASKER

They will be over 100 miles away.

They will be separated by routers to make an IPsec tunnel.
OK, so you must configure IPSec tunnel to forward broadcasts from both networks. you have only 3 computers on both sides so you can do it without impact on network traffic. It can be done by GRE over IPSec tunnel.
looking through the setup for this router (RV130W), I don't see mention of GRE or "Generic Routing Encapsulation"

Is it automatic or go by another term ?
GRE is not supported on all routers and firewalls. I checked Admin Guide of your router and GRE is not there. But anyway you can test it. Here is great how-to - http://www.firewall.cx/cisco-technical-knowledgebase/cisco-routers/868-cisco-router-gre-ipsec.html
If the Tunnel command is not available then you need to use another solution.
1) create GRE tunnel on another router and on RV130W make only IPSec.
2) Create IPSec tunnel and on every computer use "Add network location" in Windows Explorer to manually add resources. These resources are visible in Computer folder under Network Locations.
I am trying to create a project and I don't have the routers yet so I have no way to test.
From the article, you must have a cmd prompt on the router and from what I read of the RV130W its all GUI config.  

If you knew the range of addresses on the other end and it was a small number like < 20, how hard would it be to write a quick script to just query those 20 addresses every hour and if it replied, just add that address to the list of "Location"s ?
Here is a Post talking about the same issue on the RV120 some years ago.

Looks like they tried to solve it by added a "Custom Service"
don't know if it really solved the issue ?
you need to allow SSH connection to the router in GUI config and then use ssh client (putty.exe)
to connect to the router.
You do not have a fixed IP addresses in both sites ? You told me you have 3+3 computers totally.
OK, now what will be easier. How to assign IP to clients in both sites ?
If you use DHCP server in RV130W then you can configure DHCP static - assign IP address to defined MAC address of Ethernet adapter. Now you can create by "Add network location" records for all resources on different network. I think for 6 computers acceptable solution.
Another solution could be described in this article.
https://technet.microsoft.com/en-us/library/cc737661(v=ws.10).aspx
The goal is usage of lmhosts files on computers where you can list IP address and name
of master browser for domain (could be workgroup).
Here is explanation of LMHOSTS file https://support.microsoft.com/en-us/kb/101927
If I edit the LMHosts file, the lookups would fail is the Master-browser on the other subnet was un-available.  

If broadcasting was forwarded to the other subnet, do we even know if the Master-Browser on that subnet would add them to its internal list ?  If the broadcasting systems are not on the same network, are messages just ignored ?

Per the article, the correct place to add host entries out-side of the network is the "Hosts" file.
Question: how often is the Host file read by the local system ?
1.  Just on system start ?
2.  Whenever a remote system is referenced by name ?
After testing, it appears that entries in the hosts file take place almost immediately ?!
sidwelle,
lmhosts file is use in NetBIOS browsing and host file is used in DNS resolution.
You must configure IPSec between networks and test the routing by ping between
two computers. Then insert in LMHOSTS file record for master browser on foreign network.
In TCP/IP settings of active adapter on all computers you must check in Advanced settings/WINS
Enable LMHOSTS lookup and turn on NETBIOS over TCP/IP. Also on both networks you must have
different workgroup name. In the articles I sent you is description how it works.
Windows computer is browsing resources in local network by broadcast, LMHOSTS file and by querying WINS server (older), HOSTS,.... In TCP/IP communication it is similar - local cache (ipconfig /displaydns), HOSTS file, DNS server, broadcast. The order is done by node type - see this description https://support.microsoft.com/en-us/kb/119493.
any changes to files LMHOSTS or HOSTS are immediately functional (only when you change record and old one is in computer's cahche then you must wait for 10 minutes or clear the cache.
Ok, but how would I set the LMHosts file to the Master browser on the remote network.
They are all Win'07 systems. From my experience the Master-browser can change constantly on workgroups w/o domains.
As soon as the Browser machine on the other network is reset or taken down for maintenance, I no longer have resolution.

I see several scripts on-line to update the Hosts file with entries form DBs on-line.
Is there a script to update the Hosts files with entries from a remote network ?
I think easiest for you is configure static DHCP in both sites - all devices will have persistent IP address.
Then create lmhosts file on every computer and configure TCP/IP to use it:
IP_Address1 computer1 #PRE
IP_Address2 computer2 #PRE
....

At the end create manually on all computers by "Add network location" records for all resources on different network.
Another dynamic solution is usage of WINS server - by Samba - you can use some small NAS with this capability.
Avatar of Craig Beck
You can't use NetBIOS over routed links.  You'd have to extend (bridge) the subnet over the links using a tunneling protocol such as GRE or L2TPv3.

This is what WINS was designed for, but it's old technology now.  If you can't afford a server, bridging is the only option.
Thanks Craig for comment but RV130W does not support GRE or bridging and therefore we are trying to find another solution
SOLUTION
Avatar of Craig Beck
Craig Beck
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I was looking at this router because it had all the options that we needed.
If you had anther product, I would be willing to read up on it.  from talking w/Cisco support, this device is there latest and best solutions for small offices.

I would fall back to just creating a Hosts file for each machine. In the future maybe if the resolution becomes a problem, maybe I could write a script to ping each system on the other side have it auto-update the hosts file ?

there is a part that I posted a while back were the 130 allows for the forwarding of services, does this have any merit ?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I will do some research, but I think going forward with the small routers spec'ed and just manually configuring the Hosts file(s) would be a simple solution.  (this is a small project, already probably spend too much time on it)  Thank you for the info on GRE, looking that term up I leaned some more about how the advertising protocol works.  I knew as soon as I drew the project up that there would be some name resolution problems.  

Hosts:  If I were to go forward with a script to edit the Hosts file automatically, I would write it in some more mature language like VBS or  VS.Net.  Maybe get crazy and write is as a service ?
I have seen in the past that sections of Hosts files carved out with comments were a service was updating the file automatically,  It all didn't click until I read up for this issue.

When I get the routers implemented, I will experiment with "forward services" option and post back.

Thank You.
Not at all, sidewelle.