I've previously successfully installed and used OpenWRT on one of the old TP-LINKs, but decided it's time to upgrade the router. After careful research, I settled on Asus RT-AX53u. The installation was very simple (as compared to my old TP-LINK), however I'm having issues with setting up proper connectivity.
My desired network topology & configuration is very simple (and it's the one which my old TP-LINK with OpenWRT happens to be able to create and run as expected):
-
I have an non-OpenWRT router which is connected to my ISP.
-
Asus RT-AX53u (or TP-LINK) with OpenWRT is connected to it.
-
The rest of my machines are connected to Asus (or TP-LINK) via Ethernet (we'll forget WiFi for the moment to make it simple).
Here's a quick diagram:
ISP
|
non-OpenWRT router
|
/ \
Asus TP-LINK <-- both run OpenWRT 23.05
/ | | \
PC1 PC2 PC3 PC4
note that PC3 and PC4 are actually the very same PCs as PC1 and PC2; also Asus and TP-LINK are not connected to non-openWRT router at the same time -- the diagram is just for illustration purposes.
As mentioned above, PC1 & PC2 don't have internet access, but it is possible to connect to the Asus router from them. PC3 & PC4 do have internet access.
Below are screenshots from Asus's luci's pages showing current configuration in detail:
Please forgive my ignorance of not knowing much about switches or VLANs. I know some of networking and I've also read that the switches configuration may be different on modern routers (they have a built-in driver?) but it turned out not quite very simple to figure out how to properly set it up in OpenWRT. It seems like it should not be difficult, so I tried to experiment and created VLANs in the "br-lan" device so that it looks much like my working TP-LINK. Sadly, the moment I add "wan" to "br-lan" and save it, router's connectivity with the internet disappears (before that, only LAN wasn't getting internet, but Asus was able to connect). When I try and add various VLAN, connectivity to Asus router itself disappears and I end up waiting for a rollback.
Perhaps I'm missing a simple thing here. All I want is a LAN that gets internet from the upstream non-OpenWRT -- and I know it works exactly like that on the older TP-LINK with OpenWRT. The only difference between TP-LINK and Asus OpenWRT's, it seems, is (as I mentioned above) that "Interface -> Switch" menu item is not present on the latter.
I would also prefer it to configure everything through luci. Reading this forum left me with the impression that there's quite a bit of discrepancy between what luci shows and what's in config files edited manually and I'm not sure why this is so. I'm also not sure how does one "commit" changes once files in /etc/config
have been changed and, again, from what I've read, I couldn't quite say with certainty which command would do it in which case. It is therefore I think that it's best to try and configure things in one place - luci. Having said this, feel free to request the contents of my config files, I'll post them in case the screenshots don't provide enough information.
To sum it up: I need advice on how to make internet work for LAN members. Thank you.