Community discussions

MikroTik App
 
dsovereen
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 57
Joined: Fri Oct 22, 2004 7:54 pm
Location: Michigan, USA
Contact:

Can you set MAC address of Mikrotik on Bridge interface?

Fri May 19, 2006 5:39 pm

Hello,

I am building a bridged network using the new rstp-test package where a main Mikrotik will provide DHCP and PPPoE services to the rest of the network. On the other Mikrotik bridges, I am using a combination of filters and destination-nat based on the main Mikrotik's MAC address to contain broadcast traffic.

My concern is that I don't seem to be able to control/set/override the MAC address of the bridge interface or Ethernet interface in the main Mikrotik (the bridge interface is using the MAC address of the Ethernet interface which is in the bridge). If the main Mikrotik were to fail or if its Ethernet port failed, a replacement unit or port would have a different MAC address, and I would have to change all of the bridge filters on all of the other Mikrotiks in the network to be compatible with the new MAC address. I'd like to come up with a way now to set this so that should this situation occur, I can configure the new unit to have the MAC address of the old unit.

Does anyone know what the "Admin MAC Address" setting does? It doesn't seem to do this? Is there a way to do this? The main Mikrotik has Intel Gigabit Ethernet ports, if it matters.

Thanks in advance for any ideas,

Dave
 
cibernet
Long time Member
Long time Member
Posts: 610
Joined: Fri Jan 28, 2005 7:22 pm
Location: Marcos Juárez, Córdoba, Argentina
Contact:

Re: Can you set MAC address of Mikrotik on Bridge interface?

Sat May 20, 2006 3:27 am

Hello,

I am building a bridged network using the new rstp-test package where a main Mikrotik will provide DHCP and PPPoE services to the rest of the network. On the other Mikrotik bridges, I am using a combination of filters and destination-nat based on the main Mikrotik's MAC address to contain broadcast traffic.

My concern is that I don't seem to be able to control/set/override the MAC address of the bridge interface or Ethernet interface in the main Mikrotik (the bridge interface is using the MAC address of the Ethernet interface which is in the bridge). If the main Mikrotik were to fail or if its Ethernet port failed, a replacement unit or port would have a different MAC address, and I would have to change all of the bridge filters on all of the other Mikrotiks in the network to be compatible with the new MAC address. I'd like to come up with a way now to set this so that should this situation occur, I can configure the new unit to have the MAC address of the old unit.

Does anyone know what the "Admin MAC Address" setting does? It doesn't seem to do this? Is there a way to do this? The main Mikrotik has Intel Gigabit Ethernet ports, if it matters.

Thanks in advance for any ideas,

Dave
Set auto-mac=no and set the admin-mac to the mac you want to set

Regards
 
roland
newbie
Posts: 40
Joined: Sat Jan 22, 2005 12:03 pm
Location: Thailand

Sun Jun 04, 2006 2:45 pm

I'm using the standard bridge package with STP, and there is a pretty simple work-around:
The bridge always uses the lowest MAC address available from its ports.
I setup a (unused) EoIP interface, where I can set the MAC to something "lower", e.a. 00:00:5E:80:01:00
Adding this to the bridge doesn't do any harm, but the bridge will pick this one as its MAC because its lower than any other interface's MAC.
If you change the router, just take the EoIP with you 8)
 
User avatar
Alessio Garavano
Member
Member
Posts: 306
Joined: Sat May 29, 2004 12:49 am
Location: Corrientes, Argentina
Contact:

Fri Sep 29, 2006 8:31 am

I'm using the standard bridge package with STP, and there is a pretty simple work-around:
The bridge always uses the lowest MAC address available from its ports.
I setup a (unused) EoIP interface, where I can set the MAC to something "lower", e.a. 00:00:5E:80:01:00
Adding this to the bridge doesn't do any harm, but the bridge will pick this one as its MAC because its lower than any other interface's MAC.
If you change the router, just take the EoIP with you 8)
Because this problem i can´t connect again to a RB532 in the top of the tower, the ether1 was damaged and when change to ether2, all work perfectly throught the router... clients in 2.4G, other RB linked in 5G, but i can´t connect again to this main RB532...
Tryied by Telnet, SSH, Winbox, Web, MAC Telnet, etc etc from the IP Neighbors, here this inaccesible RB also it appears :)
What is the solution? only changing the Admin MAC Address by console?
Thanks and Regards!
Alessio
 
roland
newbie
Posts: 40
Joined: Sat Jan 22, 2005 12:03 pm
Location: Thailand

Fri Sep 29, 2006 3:42 pm

I had a similar problem (during migration from stp to rstp). Wrong admin-MAC or a MAC address from a disabled interface used as admin-mac ...
We had to connect by ethernet (PoE) with a laptop to fix it. One eithernet was damage, so we had to take the unit down. (Actually replacing was faster than 'work on tower', and after fix we re-use the old unit).