Hi All,
I'm new to this board and my learning curve regarding VLAN just started, but I have read several articles also in the openwrt docu before posting here, my guess is that I have a "beginners" error, which might be resolved quiet fast by your experience.
The situation: I have a Xiami Redmi AX5 Router with a "hack" from this board to have SSH access, but still the built in version of a "customized openwrt" firmeware running. My Internet-Access is via FTTH and an optical network termination as modem. So I have to dial in via pppoe from the AX5 Router using WAN-Port. The Provider tells me to use as communication VLAN 10, which I edited in /etc/config/network on the "wan-interface". The Provider can see successfull dial-ins with this setup.
The problem: I can neither send nore receive any data from "internal connected" LAN/WLAN devices on the other ports. Report from ping: "target network not reached"
Here is my full network-config (user and password anonymized), i guess it is quiet simple to "tell" the router to communicate between the "VLAN-based" WAN and the "normal" LAN/WLAN, but I could not get i working after 2 nights of trials and reading online and watching youtube videos, now I quite frustrated but to my feeling, there must be a simple solution.
Removing ".10" from eth4 interface does not change the situation
Adding "eth4" in the lan interface did not help either
Thanks for your hints and sorry for the longish description!
Best Bjoern
Ideally, you should seek help from the developer/customizer of the release/fork you have, since we don't know what they could have changed, but any way will try.
Yuo shouldn't manually edit configuration files, as you can easily break things. You should use uci commands or the GUI.
That's not the way it should be configured. Are you sure this is all of your /etc/config/network? I'm reluctant to give you an edit of the presumed correct config for your /etc/config/network, as if things go wrong you could even lose access to the router.
Are you able to reset the configuration to the default, and then we start from there?
Dear Hegabo,
thanks for your Feedback! I know that I should ideally contact the developer, however with language (Chinese) it is difficult and during "googling" for VLAN I was ending up in posts within this board, so I tried it here
In the GUI of my customized version I can not set up VLANs, so I used the config-files. In case something goes wrong: I can reset the router.
The config I posted here is complete and default, except the PPPOE data in the "wan" interface, which I entered via the GUI.
Could you still give or suggest, how I could adapt the config as described in my first post? If the first suggestions by you do not work, I will reset and do not enter PPPOE data via GUI, but to my feeling the config will not change significantly.
I think it's better to just start from default config to make sure it's correct.
I am not familiar with your device, but the config is missing some sections that are usually available for VLANs, so maybe they are not supported at all?
Ok, I have resetted and during initial setup (needed to do the ssh-hack) I have selected dhcp for illustration that there is not more in the config no matter what I select.
Let's assume the AX5 supports VLAN but we may have to add the relevant parts
I don't think it's a good idea to try to go this way. You are risking bricking your device (damaging it so that you can't access it). And since it's a heavily modified old copy of OpenWrt and not supported by the project you are very unlikely to find help here.
Anyway, my config looks like the following, but then again, my router's switch supports VLANs!
Any suggestion from me on how to edit that to match what you are trying to achieve could be helping you to damage your device, and I don't really like to do so. The thing is that if you do something wrong, you could block your LAN access. So unless you know how to recover your router using hardware keys or serial connection, you probably shouldn't
I think your best choice is to contact the manufacturer support or do some search online.