OpenWrt Forum Archive

Topic: Two machine with same MAC Address after system clone

The content of this topic has been archived on 2 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi all,

I have 2 ASUS WL500gP
I need to exchange the 'main' router with 'spare' router
I did a backup of the 'main' router and I restore the backup on the 'backup' router
Then I did a fresh openwrt installation on the 'main' router

After almost 3 days of problems getting them see each other on the same network I realized that both router HAVE THE SAME MAC ADDRESS

Where is stored the MAC address of the router and how can I change it?

Thanks
Ciao
Marco

Hi,

thats stranged....

Normally the linux OS boot you with the mac address how it has get it from the network device.
It is possible to override them with "ifconfig <device> hwaddr ether <newMac>", but this isn't call by the normal network script.

So I think you have clone more as only the openwrt image ??? Maybe you have copy some other firmware stuff thats run under OpenWRT and setting the MAC Address for the device.

regards
j0inty

Thanks J0inty

Yes, It was strange ....

But as you said I did a complete copy of router A to router B (also the NVRAM area)
There wasn't nothing about MAC address in the NVRAM that the command uci show could see, but finally I SOLVED with a NVRAM clean

Ciao
Marco

(Last edited by lubimaer on 12 Feb 2008, 08:58)

The discussion might have continued from here.