Page 1 of 1

I can't change the MAC address

Posted: Mon Aug 30, 2021 10:13 pm
by Sahafi2001
Good evening, I want to change the MAC address of the router, but I can't. I tried the following commands, but to no avail

/interface ethernet set ether1 mac-address=33:10:C6:72:29:EB

This is what appears to me
[*******@********] > inter eth pr
Flags: X - disabled, R - running, S - slave 
 #    NAME                                    MTU MAC-ADDRESS       ARP             SWITCH                                 
 0 R  E1                                     1500 00:00:00:00:00:00 enabled         switch1                                
 1 RS E2                                     1500 00:00:00:00:00:00 enabled         switch1                                
 2 XS E3                                     1500 00:00:00:00:00:00 enabled         switch1                                
 3 XS E4                                     1500 00:00:00:00:00:00 enabled         switch1                                
 4 XS E5                                     1500 00:00:00:00:00:00 enabled        
 5 XS E6                                     1500 00:00:00:00:00:00 enabled        
 6 XS E7                                     1500 00:00:00:00:00:00 enabled        
 7 XS E8                                     1500 00:00:00:00:00:00 enabled        
 8 X  sfp-sfpplus1                           1500 00:00:00:00:00:00 enabled        
 9 X  sfp1                                   1500 00:00:00:00:00:00 enabled        
[*******@********] > inter eth   
[*******@********] /interface ethernet> set 0 mac-address=33:10:C6:72:29:EB
failure: invalid mac address
[*******@********] /interface ethernet> 
I intentionally hid my MAC address

Re: I can't change the MAC address

Posted: Mon Aug 30, 2021 10:33 pm
by sindy
What is the second symbol from the left (xX:xx:xx:xx:xx:xx) of the address you are trying to set?

Re: I can't change the MAC address

Posted: Tue Aug 31, 2021 10:05 am
by Sahafi2001
What is the second symbol from the left (xX:xx:xx:xx:xx:xx) of the address you are trying to set?
Number 3

Re: I can't change the MAC address

Posted: Tue Aug 31, 2021 10:19 am
by ConnyMercier
33:XX:XX:XX:XX:XX Isn't a valib MAC-Address ..
48-bit MAC addresses in the range 33-33-00-00-00-00 to 33-33-FF-FF-FF-FF are used for IPv6 multicast.

For Exemple : 34:XX:XX:XX:XX:XX will work

Re: I can't change the MAC address

Posted: Tue Aug 31, 2021 10:42 am
by sindy
Number 3
At this position, only even digits (0,2,4,6,8,a,c,e) are possible for an own MAC address of a device. If the least significant bit of this digit is 1, i.e. when the digit is odd, it indicates a group address that can only be used as a broadcast or multicast destination one, never as an own address.