How to properly 802.1Q-tag DHCPDISCOVERs ?

Hello,

I’m working on a remote setup that involves a 6.44.2 hEX box.
This box has an ether1 uplink to another switch and an ether2 downlink to an IP camera.
My setup involves a VLAN2 network.

I’m trying to configure this box to act as a casual VLAN-enabled switch (routing is done elsewhere).

By "casual VLAN-enabled switch ", I mean:
I want ether1 to be a tagged member of VLAN2 and untagged member of VLAN1.
I want ether2 to be an untagged member of VLAN2.

When this camera is booting, it broadcast a DHCPDISCOVER frame that comes in through ether2 should leaves through ether1 with a VLAN2 tag and without being repeated on VLAN1.

How can I do that ?

Best regards

Not quite sure but I imagine all etherports are on the same bridge.
Then define the vlans
Then apply bridge port and bridge vlan rules
Then turn on vlan filtering on the bridge.

This article should give you some good advice.
http://forum.mikrotik.com/t/using-routeros-to-vlan-your-network/126489/1