DD-WRT router with LTE modem

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
FreaverDK
DD-WRT Novice


Joined: 16 Feb 2021
Posts: 5

PostPosted: Sun Feb 28, 2021 13:54    Post subject: DD-WRT router with LTE modem Reply with quote
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.
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12875
Location: Netherlands

PostPosted: Sun Feb 28, 2021 14:06    Post subject: Reply with quote
We usually do not shout here Smile
Unless you break forum rules.

Perhaps you already read them but if not:
To get the best out of DDWRT and the forum read the forum guidelines with helpful pointers:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

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.

One thing which is making live easier is to put the Archers WAN ip address in the DMZ of the ISP router.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
FreaverDK
DD-WRT Novice


Joined: 16 Feb 2021
Posts: 5

PostPosted: Sun Feb 28, 2021 14:20    Post subject: Reply with quote
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?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12875
Location: Netherlands

PostPosted: Sun Feb 28, 2021 15:27    Post subject: Reply with quote
It does not matter, if the ISP router is on 192.168.8.x resetting to defaults of the Archer and connecting the WAN<>LAN should work (some routers have open Wireless others use the password on the bottom take care of that)
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
FreaverDK
DD-WRT Novice


Joined: 16 Feb 2021
Posts: 5

PostPosted: Sun Feb 28, 2021 15:53    Post subject: Reply with quote
I'll give it a try, next time I can fumble around with the internet without my girlfriend yelling at me for disconnecting stuff. Wink Thanks for your help.
FreaverDK
DD-WRT Novice


Joined: 16 Feb 2021
Posts: 5

PostPosted: Mon Mar 01, 2021 15:25    Post subject: Reply with quote
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. Rolling Eyes
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12875
Location: Netherlands

PostPosted: Mon Mar 01, 2021 15:37    Post subject: Reply with quote
When you reset the archer to defaults the IP address changes and you also have to reboot your clients otherwise they will not be able to connect
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
FreaverDK
DD-WRT Novice


Joined: 16 Feb 2021
Posts: 5

PostPosted: Mon Mar 01, 2021 16:05    Post subject: Reply with quote
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.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14207
Location: Texas, USA

PostPosted: Mon Mar 01, 2021 16:14    Post subject: Reply with quote
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
feliciano
DD-WRT Guru


Joined: 24 Oct 2008
Posts: 1079
Location: Latin America

PostPosted: Wed Mar 03, 2021 0:50    Post subject: Reply with quote
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.
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1927

PostPosted: Sun Sep 11, 2022 3:43    Post subject: Reply with quote
Please, need some help with TTL issue (4G LTE modem + R7000)

4G LTE bridged modem + R7000 setup. Issues solved (hope so)

_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum