Community discussions

MikroTik App
cwflying
刚刚加入了
Topic Author
Posts: 12
Joined: Tue Nov 01, 2005 5:14 pm
Location:shanghai, China

Could I change the MAC address of vlan interface?

Thu Nov 24, 2005 11:29 am

Now, I created several vlan interfaces based on one ether interface and the MAC addresses of these vlan interfaces were the same with ether interface, could I assign differenet MAC address for each vlan interface?

[admin@MikroTik] > interface vlan print detail
Flags: X - disabled, R - running
0 R name="vlan201" mtu=1500 mac-address=00:04:76:72:24:C8 arp=enabled
vlan-id=201 interface=ether1

1 R name="vlan202" mtu=1500 mac-address=00:04:76:72:24:C8 arp=enabled
vlan-id=202 interface=ether1

2 R name="vlan203" mtu=1500 mac-address=00:04:76:72:24:C8 arp=enabled
vlan-id=203 interface=ether1

3 R name="vlan204" mtu=1500 mac-address=00:04:76:72:24:C8 arp=enabled
vlan-id=204 interface=ether1


[admin@MikroTik] > interface ethernet print
Flags: X - disabled, R - running
# NAME MTU MAC-ADDRESS ARP
0 R ether2 1500 00:04:76:72:22:04 enabled
1 R ether1 1500 00:04:76:72:24:C8 enabled
2 R ether3 1500 00:B0:D0:8F:9A:E7 enabled

Now only the ether interface's MAC address could be changed, I tried to change the vlan interface's MAC address through "filter" , but failed, anyone could help me?

谢谢s a lot!
Last edited bycwflyingon Fri Nov 25, 2005 7:11 am, edited 1 time in total.
Top
User avatar
lastguru
Trainer
Trainer
Posts: 432
Joined: Fri May 28, 2004 9:04 pm
Location:Certified Trainer/Consultant in Riga, Latvia
Contact:

Thu Nov 24, 2005 1:55 pm

VLAN is just a tag for a packet, not a full-fledged tunnes, so it does not contain any MAC address information. In other words, it cannot be changed on individual VLANs.

However I believe there is a workaround, though: the bridge firewall is able to change MAC addresses depending on VLAN ID (in "/interface bridge nat") - this method should word
Top

Who is online

Users browsing this forum:vlahrtand 10 guests