Change MAC address in Dual WAN/LAN Ethernet mode?

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

jeden

Regular Contributor
I want to know if it is possible to change the MAC address of the secondary WAN interface in Dual WAN/LAN Ethernet mode.
 

jeden

Regular Contributor
After a bit of tinkering I've figured what I need is to change the MAC address of that LAN port (if such thing is possible), probably via a script that executes on startup, but I'm lost as to how to achieve that.
 

ColinTaylor

Part of the Furniture
After a bit of tinkering I've figured what I need is to change the MAC address of that LAN port (if such thing is possible), probably via a script that executes on startup, but I'm lost as to how to achieve that.
Set the primary MAC address using the MAC clone option in the GUI and use the following to change the LAN address:
Code:
nvram set et0macaddr="30:5A:3A:C7:9A:20"
nvram commit
reboot
 

jeden

Regular Contributor
Set the primary MAC address using the MAC clone option in the GUI and use the following to change the LAN address:
Code:
nvram set et0macaddr="30:5A:3A:C7:9A:20"
nvram commit
reboot
Thanks, but is that for the WAN port or for the LAN1 port? What I need to change is the MAC of the LAN1 port, I believe.
 

ColinTaylor

Part of the Furniture
Thanks, but is that for the WAN port or for the LAN1 port? What I need to change is the MAC of the LAN1 port, I believe.
You can't change the address of individual ports***. Also, the WAN and LAN ports share the same MAC address (yes, that's a bit counter-intuitive). So what that command does is change the MAC address of both the WAN and LAN ports, and then you override the WAN MAC address in the GUI.

*** You never said what router model you have. Options might be different for the HND models.
 

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top