How to setup a remote connection

SteveTorre

Reputable
Oct 12, 2015
7
0
4,510
I just read through the 'ultimate modem/router setup' but didn't see a setup like mine and it made me wonder if I have it setup the best way. I have it setup like this.

Router A (connected to internet) 192.168.5.201. It is setup as an AP using Tomato firmware. It's DNS is the DNS given to me by the ISP.
I have DHCP enabled.
Default Gateway is what my ISP gave me.
It's has a public IP address

…7 km away…


Router B (where I'm located) 192.168.5.202. It is setup in Wireless Ethernet Bridge mode. It's DNS is the DNS given to me by the ISP. DHCP off.
Default Gateway is 192.168.5.201

My computer is connected to Router B by ethernet cable. It's address is 192.168.5.100 and has the DNS my ISP provided.

Is this the best way to setup this type of connection?
 
Solution
If router B is not acting as the gateway on its side, then its DNS setting is not used. Essentially, you're using router B as big wifi adapter to connect to router A.

Whether this is the "best" way to do it depends on your needs. If all you want is to get Internet access at location B, then you are better off using router B in client (non-bridged) mode. Then it will act as gateway, with its own DHCP and DNS settings. Any computers connected to it at location B will continue to have network connectivity to each other even if the Internet link with router A goes down. The downside being any port forwarding gets more complicated since it needs to be forwarded on both routers (from router A to router B, then from router B to the...

SteveTorre

Reputable
Oct 12, 2015
7
0
4,510


I'm just trying to get an internet connection at a remote location. My location (router B) doesn't have internet by normal means so I set up a WRT54GL at my location with 24dbi grid antenna and did the same at a mall 7km away. On that location the WRT54GL is connected by ethernet to their internet and they provide me with a public IP. I don't need access to their intranet and they don't need access to mine.
 

SteveTorre

Reputable
Oct 12, 2015
7
0
4,510


Yes I have and a great connection. I was just more curious why the guide showed other ways to set up a remote location. I know there are always multiple ways to do it but was wondering if there was something inherently wrong with the way I was doing it. It seems that's what bridge mode is for but the guide mentioned setting the DNS of one to the private IP of the other router.
 

SteveTorre

Reputable
Oct 12, 2015
7
0
4,510


It has worked for more than a year without a problem but last week started refusing to route (I have another thread about that) but then as I looked around this site and found the 'ultimate guide' it made me doubt if I had it setup the best way. It's not really related to the problem I'm having now since the setup hasn't changed since it was working.
 
If router B is not acting as the gateway on its side, then its DNS setting is not used. Essentially, you're using router B as big wifi adapter to connect to router A.

Whether this is the "best" way to do it depends on your needs. If all you want is to get Internet access at location B, then you are better off using router B in client (non-bridged) mode. Then it will act as gateway, with its own DHCP and DNS settings. Any computers connected to it at location B will continue to have network connectivity to each other even if the Internet link with router A goes down. The downside being any port forwarding gets more complicated since it needs to be forwarded on both routers (from router A to router B, then from router B to the computer you want the port forwarded to).

The way you have it currently configured is the way you want it if you want devices connected to router A and devices connected to router B to see each other. The drawback is that if the link between router A and B goes down, devices on router B will no longer have an accessible gateway and so won't be able to communicate with each other even if they're all on the B side. It may continue to work for a while depending on how good/smart your switches are, but it will eventually stop working.
 
Solution

SteveTorre

Reputable
Oct 12, 2015
7
0
4,510


Thanks for the clear explanation. It looks like I have it set up the best way. The connection almost never goes down and even if it does, I don't have a need for computers on my side to be able to connect to each other. Internet is the most important thing so when it goes down, it gets back up ASAP :)