Posted: Sun Feb 28, 2021 13:54 Post subject: DD-WRT router with LTE modem
First off, I feel like I'm about to be shouted at, for asking something that's problably already been answered 100s of times, but I just can't find an example that suits my scenario. So, apologies for being (potentially) stupid and/or lazy.
The scenario is this:
My current internet connection comes in through a Huawei B535-232 4G router, which up until now has handled both the WAN and LAN side of things. However, due to the connection being 4G, there's a data cap, which I've been able to surpass several times, without really knowing how. So I found an old TP-Link Archer C8 that was just collecting dust and decided to flash it with DD-WRT in the hopes of being able to monitor my network traffic closely (and get better WiFi coverage). And so far, it succeded. However, I'm not sure everything is connected the best way.
The TP-Link router is set up with DD-WRT v3.0-r45667 std, WAN Connection Type set to automatic and Operating Mode set to Gateway. The Huawei router/modem is connected to a LAN-port on the TP-Link.
DD-WRT does not show a WAN IP in the web ui.
DHCP and WiFi has been disabled on the Huawei.
I also have a seperate computer, acting as a homebuilt NAS, which also handles DNS through PiHole. This is connected straight to the TP-Link.
The thought would be to have the TP-Link handle everything internally (DHCP, WiFi, QoS, etc) and let the Huawei router/modem just handle the outside connection. Thorough network monitoring would happen through Yamon.
So, the question is: Have I done everything right or is there a better way to do all this?
If you've made it this far, I thank you for your patience and apologize for any missing information or bad phrasing.
If you want the Archer to do all that you have to daisy chain the routers so connect WAN port from the Archer to LAN port of the ISP router, and of course connect everything to your Archer (you can have a separate DNS/Pihole)
The best is to reset the Archer to Defaults.
Only thing important is that the Archer is on a different subnet then the ISP router.
The default subnet is 192.168.1.x if the ISP router is also on that subnet change to 192.168.2.x
You should have a working solution and can take it from there.
So what you're saying is that my settings in DD-WRT should already be correct, except for the subnet? Does it matter if the ISP router is on 192.168.8.x and the Archer on 192.168.1.x ? Basically, does it matter which subnet has the highest number?
Welp, no luck. I've spent about 1½ hours doing something that should've worked within 15 minutes, tops. Whenever I connect the WAN port on the Archer to a LAN port on my modem, I lose internet connection. I've tried resetting the Archer to defaults (through webui), making sure that the two devices are on different subnets and that DHCP and WiFi on the modem are turned off, but still no luck.
As if that wasn't bad enough, all of sudden Firefox wouldn't let me log in to my modem, even after a reset. Spent another 20 minutes or so, figuring out that it's problably related to the security protocols of that specific webui, which Firefox doesn't support anymore.
Guess I'll do some more reading on the matter and see if I get any smarter. It is working for now (everything connected to Archer, internet works) just not quite the way I want it to.
And for some reason, I can't get the Archer to synchronize time with the ntp server anymore.
I had my primary machine set up with a static ip, which I of course changed to match the subnet of the Archer, when I reset it. In order to avoid having to change settings on too many other devices, I chose to have the Archer run on 192.168.8.x (my current configuration) and change the Huawei to 192.168.1.x. I could easily connect to the Archer, just couldn't get a connection to the outside world.
Come to think about it, I didn't check if I could see other wired devices on the network... Oh well, guess I got something to do tomorrow, after work.
I'm 85% positive that it's just user-error; I might even just be too impatient.
Joined: 08 May 2018 Posts: 14246 Location: Texas, USA
Posted: Mon Mar 01, 2021 16:14 Post subject:
If you're not assigning dns servers and gateway manually with a static IP, you won't reach the outside world. Just leave everything DHCP, and if you absolutely have to, let Winblows 10 troubleshoot the ethernet connection. I really miss WinXP, 2K, NT4. Whatever M$ did to their networking as far as the registry goes, they screwed the pooch big time. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Joined: 24 Oct 2008 Posts: 1079 Location: Latin America
Posted: Wed Mar 03, 2021 0:50 Post subject:
A couple of troubleshoot tests (assuming you're using Windows):
.-From the command prompt
Code:
ping 8.8.8.8
Check whether it replies the XX bytes you're sending. And if so:
Code:
tracert 8.8.4.4
Check whether you see a list of routers on your way to that DNS server. (You should see your other router as the second device, I suppose). _________________ If you want support, please read first the announcements and forum rules.
Si usted desea ayuda, por favor lea primero los anuncios y las reglas del foro.