Random WAN Mac Address BPI-R4

I got my new BPI-r4. Working on getting it setup with IP-Passthrough from my ISP router. However, the BPI-r4’s “br-wan” (SFP+ WAN PORT) mac address keeps changing. Which is causing my ip passthrough to fail. Since it can only be assigned to a mac address on my isp’s router. Is there a way to set it statically so it stops changing on reboot? I have been unable to find anything on it.

Running the stock OpenWRT “Powered by LuCI openwrt-21.02 branch (git-23.093.57360-e98243e) / OpenWrt 21.02-SNAPSHOT unknown”

You can ssh into the router and set the MAC address statically:

ssh [email protected]
nano /etc/config/network

Then add a new section like this:

config device
        option name 'eth2'
        option macaddr 'NEW_MAC_ADDRESS'

It can also be done in LuCi under Network → Interfaces → Devices → Eth2 → Configure. On mainline OpenWrt, that is. Hopefully, it’s the same on the SinoVoip fork, which isn’t worth using at this point regardless.

Oh thanks a lot. That resolved the Random MAC issue. Sadly IP Passthrough did not resolve my issues with my crappy AT&T router. But that is an issue for another day. Thanks again for your response!

1 Like