This may be the solution. I'm going to try to set it up. There will be only one host (the repeater) behind each router, but there will eventually be several repeater groups joining the link. So I'll need many subnets with only one host. We could splurge and use .255.248 and have plenty of host addresses available and up to 32 different repeater groups.dhoobler wrote: ↑Wed Sep 16, 2020 9:27 pm Here is my contribution of a sample configuration. I split your network, 192.168.73.0/24 into two networks, 192.168.73.0/25 and 192.168.73.128/25. The subnet mask is 255.255.255.128.
Each of the internal hosts, of any type, must have an IP address from within its own network. You must assign the IP address, 192.168.73.1 to the internal network interface of the gateway (router) for network A. You must make that IP address the default gateway of each host within the private A network.
Similarly, for network B, the internal interface of the gateway must have an IP address of 192.168.73.129. That must be the default gateway of each host within the private B network.
If a host in network A needs to access a host in network B, it can do so by IP address, or by a local host table. I don't think you want to get into DNS.
The trick to making this work is to configure the tunnel between gateway A and gateway B. That is not a trivial task. It includes setting up encryption methods, data integrity and key exchange. In addition to that, gateway A must "know" that the private network, 192.168.73.128/25 is behind gateway B. Likewise, gateway B must "know" that the private network, 192.168.73.0/25 is behind gateway A. the two gateways must have routing between the two private networks configured. This is not necessarily a trivial task.
Key to understanding this is to understand the relationship between the IP address and the subnet mask. The standard class C network, 192.168.73.0 with subnet mask, 255.255.255.0 is one contiguous network. If you change the subnet mask to 255.255.255.128, 192.168.73.0 through 192.168.73.127 belong to one network and 192.168.73.128 through 192.168.73.255 belong to a different network. This is why they can be split up between the two sites. You do not have to do this. You could use two entirely different private networks.
I am assuming that the two gateways are connected to the Internet with static public IP addresses. If they do not have static IP addresses, things get more complicated.
I assumed that your gateway and switch are separate pieces of hardware. This may not be the case. The gateway might have enough ports to connect all of your internal hosts.
Recall that in this scenario, you cannot use the IP addresses 192.168.73.0 or 192.168.73.128. These are used for routing. You cannot use 192.168.73.127 or 192.168.73.255. These are broadcast addresses.
The first two repeaters groups may have different Internet access. One repeater will have a Sprint hotspot and my repeater will either have a hotspot or I may use Ubiquiti to link with the Internet service at our shooting club only 2,100 feet away. The club has a business account with a static IP address, but we won't have that with hotspots.
We are using OpenVPN and the GL.iNet MT-300N smart routers were chosen because they have OpenVPN software installed. We simply import an OpenVPN certificate that was created on the server for that site and the router makes the VPN connection. The tunnel was set up with a script, so I hope that doesn't turn out to be a problem.
I'll send you a PM.
Thanks,
Chas.