Vlan, Is this possible? Yes it is. Solved!

Hi guys,

I have the following situation:
I have an FTTH connection wher the fibre is connected to an ONT from there it connects to a home router that has voice analog ports (vlan 6) and Internet (Vlan2).
What I am trying to do (and can do in a cisco switch) is connect the ethernet port of the ont to 1 port of a RB1100 and the ethernet port of the router to another port of the RB.

I create a switch between the 2 port and everything works fine. I get internet and voice on the router (mikrotik acts like a wire).
What I now need to do is create a pppoe interface and connect it to vlan 2. The configuration I did on a cisco (that works) is create 2 trunk ports and then an access port to vlan 2 and I connect ether1 of the RB and associate the pppoe to that ethernet port and pppoe works (I have the credentials).

I just cant get this to work all in the RB. I get the trunk ok but how do I get the pppoe interface to connect up to vlan 2?
I dont need to get vlan 2 to the router as I want the RB to use it.

Got this working..

this is the config:

/interface ethernet
set [ find default-name=ether10 ] master-port=ether9

/interface vlan
add interface=ether9 loop-protect-disable-time=0s loop-protect-send-interval=0s name=vlan2 vlan-id=2

/interface pppoe-client
add add-default-route=yes disabled=no interface=vlan2 name=pppoe-out1 password=XXXXX service-name=XXXXXXX use-peer-dns=yes user=XXXXXXXXXXX

/interface ethernet switch vlan
add independent-learning=no ports=ether9,ether10 switch=switch1 vlan-id=2
add independent-learning=no ports=ether9,ether10 switch=switch1 vlan-id=6