change MAC Address interface vlan

can you add the feature to change mac-address on the VLAN interface in the ROS, such as change mac-address ethernet on the next version?

thanks

why do you need it? vlan is not ethernet, and vlan packets are received by ethernet interfaces, so in this scenario ethernet interface should have several mac-addresses…

when using the services of a cable or ADSL Internet, ISPs see the mac-address from the pc, when I plug in to mikrotik then I must have more than one ethernet if you have more than one cable or ADSL

VLAN functions can not work because the mac-address VLAN always follow the mac-address from the source ethernet card and it can not be changed

if I have a 10-line, then I must have 10 ethernet card in my router and is not efficient

agree with kadhol,
I need that feature , because if i want to use more than 10 DHCP Client, i must use 10 ethernet card
:frowning:

yes, i have more than 5 connection in use, so i must using also 5 ethernet card. its very uneficient i think. i using internet cable. how about just using 1 ethernetcard for several connection. so it like vlan but it change the mac address, several mac address on 1 ethernet. i think my idea is the same with kadhol.

NB: excuse my english not so good

i’m certainly agree with the request from kadhol…

If mikrotik can have this feature as well, this would add more meat to mikrotik’s level of flexibility on network implementation.

yes, i’m agree with kadhol too

ive wanted to do this as well. is it possible to layer a bridge and vlan together so you can set the admin-mac on the port, and then use a managed switch to unwrap that and hand it off to a modem ?

someone from mikrotik please kindly provide responses :slight_smile:

i think you could add cisco catalyst before the modem. the config would be :

mikrotik - catalyst - ADSL.

It should help.

try changing mac-address for specified vlan with bridge nat feature.

Maybe someone will need it =)

http://wiki.mikrotik.com/wiki/Change_MAC_address_of_VLAN_interface

2MT Staff: please read ‘warning’ section of that page and fix it in v3.25 =)
2Normis: maybe, the link should be added to http://wiki.mikrotik.com/wiki/Assorted_examples ? :slight_smile:

Normis? =)

sure, you can add it there. it’s not a protected page :slight_smile:

Oh, really, didn’t noticed ))

I think you should add the physical interface to the bridge.
And looks like this only add a new MAC to the VLAN because the original interface MAC still exist.

from the link:

From now, other devices will see de:ad:00:be:ef:00 MAC-address for the IP address of VLAN interface

so, now that IP will have two MAC addresses? O_o

Doesnt work with HEX Poe Lite, RouterOS 6.30.4 I have a HEX Poe Lite with two bridge connections to the same site. I have VLAN10 and VLAN11 VLAN11 is direct VLAN10 is the sole member of a bridge, with admin-mac set arp still responds with regular ethernet interface MAC Even tried rebooting Hex POE, didnt fix problem.

/interface bridge
add admin-mac=E2:8D:8C:D4:FE:CC name=bvlan10
add name=loopback
/interface bridge port
add bridge=bvlan10 interface=vlan10
/ip address
add address=192.168.99.250 interface=loopback network=192.168.99.250
add address=192.168.3.254/24 interface=vlan11 network=192.168.3.0
add address=192.168.99.12/29 interface=bvlan10 network=192.168.99.8

From server on the other end:

arping -I eth0.5 192.168.3.254

ARPING 192.168.3.254 from 192.168.3.1 eth0.5
Unicast reply from 192.168.3.254 [E4:8D:8C:D4:FE:CD] 3.334ms
^CSent 1 probes (1 broadcast(s))
Received 1 response(s)

arping -I eth0.5 192.168.99.12

ARPING 192.168.99.12 from 192.168.99.9 eth0.5
Unicast reply from 192.168.99.12 [E4:8D:8C:D4:FE:CD] 2.769ms
^CSent 1 probes (1 broadcast(s))
Received 1 response(s)

Because there`s a switch in the middle without independent learning, its forwarding table keeps alternating between the 2 vlans, resulting in high packet loss and unusability of setup.

follow the instructions fully:

/interface bridge set bvlan10 auto-mac=no

Thanks Chupaka, it indeed was my fault.