Unknown switch 0 topology in Luci and trouble with VLAN configuration

Hi,

I have upgraded my GL-AX1800 to the latest firmware release 4.5.16 r. 2 / OpenWRT 21.02 and very strange things happen. First of all, when entering the switch menu I seee the message “Switch switch0 has an unknown topology” and port naming in the graphical mapping is totally upset. Looking at the router from the back, physical ports from left to right are WAN, LAN1, LAN2, LAN3, LAN4 and in Luci graphical mapping are Port 1, Port 2, Port 3, Port 4, Port 5, plus CPU(eth0) which should be the internal bus connecting to the CPU. Actually I did some testing connecting an ethernet cable to each physical port and I got the following sequence from left to righ in Luci: CPU, WAN, LAN1, LAN2, LAN 3, LAN 4. I Say that Port 1 is actually CPU since it is reported as 10000baseT without any physical connection. In a few words, it looks like a big mess, furthermore, when trying to add a VLAN to the switch, VLAN IDs higher than 15 are disallowed despite they should be up to 4095. The other strange thing is in the intefaces section in Luci where I see a MODEM_1_1_2_6 entry which is impossible to remove. It can be deleted in Luci, but after every reboot, it comes back after a popup message saying that ifname renaming is necessary for Luci to work. Also I tried to delete it in /etc/config/network but it keeps reappearing after every reboot, there seems not to be any logical explanation for this. Basically what I need is having my WAN interface tagged with VID 100 and COS 0 connected to the ONT of my fibre ISP, but I don’ know how to do in this big mess. Could anybody please advise a possible solution ? Thanks in advance for your help.

Kind Regards

Please go to Luci and Network and add device configuration.

Add 1 into VLAN (802.1q)

Then WAN will have VID 1 device

Thanks, but this doesn’t solve my problem. The strange MODEM_1_1_2_6 remains there and a VLAN on the WAN port with VID 1 doesn’t work with my ISP wich requires VID 100 (tagged) and COS 0.

Kind Regards

Isn’t it in the default UI already?

Thank you very much,

I did a factory reset then uploaded again the latest firmware and now the VLAN field in the WAN Ethernet settings is visible unlike before. Once entered the VID 100 required by my ISP, even without the possibility to set COS 0 explicitely, the fibre connection started to work fine with good speed. However, in LuCI there still are that strange modem interface and the upset switch topology, anyway things are working now, so I am fully satisfied.

Kind Regards

Maybe just omit this. Luci may not be fully compatible.