Override MAC address for interface?
Peter Naulls
peter at chocky.org
Wed Feb 22 12:02:09 PST 2023
Due to some missing flash values, I need to do a later user space lookup for
possible missing values stored "elsewhere" to fix up the MAC address.
According to:
https://openwrt.org/docs/guide-user/base-system/basic-networking
Something like this should work:
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
config device
option 'lan1'
option macaddr 34:BA:9A:CC:DD:EE
But it doesn't get applied in my testing.
As far as I know, there's no option to override the MAC in current luci.
I am using ifconfig at boot to set the MAC, but that's transient and doesn't
remain set.
Thanks.
More information about the openwrt-devel
mailing list