Hello to all!
I recently attempted to use my faithful TP-Link WR1043ND v1.8 router to connect with my ISP network.
For this, I've installed OpenWRT 21.02.1 which seems to be working as expected. Luci is installed and everything seems to be working just fine.
Now, my internet connection allows me to connect a custom router directly into the Fiber ONT. I've been doing this for the last 2 years with a custom router using ArchLinux, where the only thing I need to get an IPv4 from the operator, is to configure the ethernet port which connects to the Fiber ONT to use the VLAN 12 and DHCP client on that vlan interface. This is basically my ISP configuration profile and it has been working like a charm.
But for the TP-Link WR1043ND device, this is where things get problematic. Now, according to the OpenWRT documentation, the WAN port seems to be set by default to the VLAN 2. When connected to the Fiber ONT, the WAN ethernet port receives packets from the ONT (I can see this in the port stats on LuCI). To my understanding (which could be wrong) in order to properly set the WAN port to the VLAN 12, I would need to add a new software ethernet device in LuCI, add it on top of the eth0.2 device configure it with VLAN ID 12, making it a eth0.2.12 device. I did all of this but it seems that the WAN interface still does not receive any kind of packets from the ONT, mainly the ones required for DHCP configuration, which I suspect it means that the VLAN is not properly configured.
So, my question here is:
Since my ISP sends IP (v4 and v6) communication on VLAN 12, how can I configure the WAN interface to receive packets from that specific VLAN ID?
In advance, thank you all for your assistance!