Vlan by MAC Address?

Is it possible to assign specific mac addresses to a certain vlan?

Basically I want all new clients who do not have a specified mac address to default to one vlan. Then I want to set up rules where if the mac address is known it is assigned to a different Vlan. It is not possible to do this with different ports on the board because we have a mixture of pc’s which will need to go to either vlan in different buildings.

Hope it can be done!

Use MAC-based vlans on your switch to do this…

Thanks. Can this be done on the RB751G and where do I find the info?

Yes, see this wiki article on how switch chip works with vlans. (user ROS v6)
http://wiki.mikrotik.com/wiki/Manual:Switch_Chip_Features#Example_-_802.1Q_Trunking_with_Atheros_switch_chip_in_RouterOS_v6

After you have the VLANs setup and working, use the rule table to add desired MACs to desired VLANs.

/interface ethernet switch rule add switch=$switchName src-mac-address=$mac new-vlan-id=$vlanID

Thanks! Will read up and see how I go.