In the starting configuration of LEDE (at least on erx), in /etc/config/network I see two statements:
config device 'wan_dev'
option name 'eth0.x'
option macaddr 'x'
config device 'lan_dev'
option name 'eth0.x'
option macaddr 'x'
They set MACs for the interfaces, I've noticed that setting wan_dev changes the interfaced showed in LuCI (not really, I haven't noticed I've named new interface wan... ) but what more do they do, especially lan_dev (and how to use it especially in case where I have more then one lan/vlan)?
I can't find no documentation for those options/devices.