OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Nico Schottelius - 07.01.2021

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

Supply the following if possible:
- Device problem occurs on

ZBT WG3526

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

19.07.05

- Steps to reproduce

 

Overall:

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@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"
		}
	}
}

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing