Is the Wan Mac address override working in 19 with Luci?

I can also confirm 'Override MAC address' in LuCI -> Interfaces -> WAN -> Advanced Settings has no effect even though the entry is correctly added to the 'wan' device in the /etc/config/network file on my EA6350 with OpenWrt 19.07 snapshot.

But if I manually edit wan_dev for 'eth1' in /etc/config/network as suggested by @lantis1008

config device 'wan_dev'
        option name 'eth1'
        option macaddr '60:38:e0:99:11:11'

It does work

root@OpenWrt:/etc/config# ifconfig

eth1      Link encap:Ethernet  HWaddr 60:38:E0:99:11:11
          inet addr:192.168.1.237  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::6238:e0ff:fe99:1111/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2899 errors:0 dropped:12 overruns:0 frame:0
          TX packets:1709 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1335608 (1.2 MiB)  TX bytes:358070 (349.6 KiB)

I can also confirm editing 'MAC address override' option using LuCI still works correctly on HH5A with OpenWrt 19.07 snapshot on WAN device for interface 'eth0.2' as it does for 18.06 and 17.01. (It always puzzled me why 'option macaddr' can appear in both 'wan' and 'wan_dev' sections of the /e/c/network file for the HH5A)

4 Likes