Please, help me in my problem. I want to get a BRIDGE of two VLANs (of the one interface).

I have two vlans of eth0: eth0.1 and eth0.2.
Then i add bridge br0.

brctl addbr br0
brctl addif br0 eth0.1
brctl addif br0 eth0.2
ifconfig br0 up

But this bridge is not working.
If i use vlans of different interfaces (eth0.1, eth1.1), it works fine.

May be this is because eth0.1 and eth0.2 have the same MAC (MAC of eth0).

How can i do it?