What is the proper way to change the MAC on the wan and lan interfaces?

Hi, I need to change the mac address of the WAN and LAN interfaces in version 21.02 but I am having trouble. I see that there are four interfaces with the lan mac and two with the wan mac. I tried changing the WAN interface via the menu but it doesn't stick after a reboot for some reason.

Do I have to change each one to my preferred address? My router only has one wan port and two lan ports so it's confusing. I noticed one interface was called br-lan as well. Any help is appreciated.

Check /etc/config/network and change config device 'wan_wan_dev' and friends.

1 Like