Community discussions

MikroTik App
 
User avatar
genesispro
Member Candidate
Member Candidate
Topic Author
Posts: 283
Joined: Fri Mar 14, 2014 12:33 pm

someone set my 2 cAP ac devices with same mac address!

Sat May 28, 2022 12:22 pm

I have in an installation 2 CAP AC with the same mac address on eth1 (and eth2) of course acting weird on the same network
How is that possible?
You will notice that the serial number is unique but mac address the same


[admin@CAP-103b] /interface/ethernet> print
Flags: R - RUNNING; S - SLAVE
Columns: NAME, MTU, MAC-ADDRESS, ARP, SWITCH
# NAME MTU MAC-ADDRESS ARP SWITCH
0 RS ether1 1500 DC:2C:6E:A1:9E:9C enabled switch1
1 S ether2 1500 DC:2C:6E:A1:9E:9D enabled switch1
[admin@CAP-103b] /interface/ethernet> /sys/routerboard/print
routerboard: yes
board-name: cAP ac
model: RBcAPGi-5acD2nD
revision: r3
serial-number: F9AD0FAF6EA0


[admin@CAP-IDEN-1] /interface/ethernet> print
Flags: R - RUNNING; S - SLAVE
Columns: NAME, MTU, MAC-ADDRESS, ARP, SWITCH
# NAME MTU MAC-ADDRESS ARP SWITCH
0 RS ether1 1500 DC:2C:6E:A1:9E:9C enabled switch1
1 S ether2 1500 DC:2C:6E:A1:9E:9D enabled switch1
[admin@CAP-IDEN-1] /interface/ethernet> /sys routerboard/print
routerboard: yes
board-name: cAP ac
model: RBcAPGi-5acD2nD
revision: r3
serial-number: F9AD0F488EB6
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: 2 cAP ac devices with same mac address!

Sat May 28, 2022 12:23 pm

Paste this on both, and check again if the MACs are equal:
/interface ethernet
:foreach int in=[find] do={
    set $int mac-address=[get $int orig-mac-address]
}
 
User avatar
genesispro
Member Candidate
Member Candidate
Topic Author
Posts: 283
Joined: Fri Mar 14, 2014 12:33 pm

Re: 2 cAP ac devices with same mac address!  [SOLVED]

Sat May 28, 2022 12:27 pm

I had to post this to find out someone (whom I can't tell) had changed the mac address... interface reset and ready pfffffff
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: 2 cAP ac devices with same mac address!

Sat May 28, 2022 12:28 pm

that someone need to understand that two device with same MAC address is bad...


you import backup or script from one to another?
 
User avatar
genesispro
Member Candidate
Member Candidate
Topic Author
Posts: 283
Joined: Fri Mar 14, 2014 12:33 pm

Re: 2 cAP ac devices with same mac address!

Sat May 28, 2022 1:01 pm

you import backup or script from one to another?
I took over this installation and I reset all devices except the cap clients that I modified the settings... I couldn't imagine that they had spoofed a mac address to an existing one in the same network....

They shouldn't have done it...
And I should have reset those as well...

pffffffffff
 
tdw
Forum Guru
Forum Guru
Posts: 1843
Joined: Sat May 05, 2018 11:55 am

Re: someone set my 2 cAP ac devices with same mac address!

Sat May 28, 2022 1:14 pm

It may have been unintentional. If you make a .backup on one device and restore it on another (not officially supported but works if the two devices are the same model) various things, including the original MAC addresses, are cloned. These can be reset - in Winbox if you open an interface one of the buttons is 'Reset MAC address' so you can go through the all of the interfaces and reset them, or script it thought the CLI.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: someone set my 2 cAP ac devices with same mac address!

Sat May 28, 2022 1:18 pm

Do not blame yourself too much, I made much more serious mistakes in production due to an oversight... (+48 / -48 volt switched....)
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: someone set my 2 cAP ac devices with same mac address!

Sat May 28, 2022 1:22 pm

These can be reset - in Winbox if you open an interface one of the buttons is 'Reset MAC address' so you can go through the all of the interfaces and reset them, or script it thought the CLI.
On eternet interfaces, too bad they didn't put it also for the wireless interfaces...
 
User avatar
genesispro
Member Candidate
Member Candidate
Topic Author
Posts: 283
Joined: Fri Mar 14, 2014 12:33 pm

Re: someone set my 2 cAP ac devices with same mac address!

Sat May 28, 2022 2:04 pm

It may have been unintentional. If you make a .backup on one device and restore it on another (not officially supported but works if the two devices are the same model) various things, including the original MAC addresses, are cloned. These can be reset - in Winbox if you open an interface one of the buttons is 'Reset MAC address' so you can go through the all of the interfaces and reset them, or script it thought the CLI.
I have never used the backup tool the last hmmmm 10+years
I always use /export compact...

Who is online

Users browsing this forum: Ahrefs [Bot], akakua, Bing [Bot], tiklavirus and 36 guests