Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
openwrt-bot opened this issue Jan 7, 2021 · 0 comments
Labels

Comments

@openwrt-bot
Copy link

telmich:

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" } } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant