[FS#3563] Selecting lan port in Luci from off -> untagged breaks networking

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Thu Jan 7 15:08:15 EST 2021


A new Flyspray task has been opened.  Details are below. 

User who did this - Nico Schottelius (telmich) 

Attached to Project - OpenWrt/LEDE Project
Summary - Selecting lan port in Luci from off -> untagged breaks networking
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Supply the following if possible:
 - Device problem occurs on

ZBT WG3526

 - Software versions of OpenWrt/LEDE release, packages, etc.


 - Steps to reproduce

If I select the LAN1 on a wg3526 from off to untagged, luci wants to make 2 changes, one of which breaks the configuration:

    it renames the network.lan.ifname from eth0.1 to eth0

    it changes the switch port configuration (that one was expected)

Removing network.lan.ifname=eth0.1 and replacing it by network.lan.ifname=eth0 breaks networking. Rollback properly works.

After some other changes / manually fixing it, I have the following board.json:

root at router1:~# cat /etc/board.json 
	"model": {
		"id": "zbt-wg3526-16M",
		"name": "ZBT-WG3526 (16M)"
	"switch": {
		"switch0": {
			"enable": true,
			"reset": true,
			"ports": [
					"num": 0,
					"role": "lan"
					"num": 1,
					"role": "lan"
					"num": 2,
					"role": "lan"
					"num": 3,
					"role": "lan"
					"num": 4,
					"role": "wan"
					"num": 6,
					"device": "eth0",
					"need_tag": false,
					"want_untag": false
			"roles": [
					"role": "lan",
					"ports": "0 1 2 3 6t",
					"device": "eth0.1"
					"role": "wan",
					"ports": "4 6t",
					"device": "eth0.2"
	"network": {
		"lan": {
			"ifname": "eth0.1",
			"protocol": "static",
			"macaddr": "f8:5e:3c:11:db:7c"
		"wan": {
			"ifname": "eth0.2",
			"protocol": "dhcp",
			"macaddr": "f8:5e:3c:11:db:7d"

More information can be found at the following URL:

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.

More information about the openwrt-bugs mailing list