VLAN on CRS125 with a RB951G

Hi
I want to create two VLAN’s on the switch one for the Office and one for VOIP phones, then both VLAN’s should be able to break out to the internet via the RB951G.
I have spend hours trying to get the VLAN’s to pickup the DHCP from the router, I dont know what is wrong.

Both is setup with minimal configured on them

The code on the RB

 /interface vlan
add interface=ether2 name=vlan10 vlan-id=10
add interface=ether2 name=vlan20 vlan-id=20
/ip pool
add name=dhcp_pool1 ranges=10.0.0.101-10.0.0.130
add name=dhcp_pool2 ranges=10.0.8.101-10.0.8.105
/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=vlan10 name=dhcp1
add address-pool=dhcp_pool2 disabled=no interface=vlan20 name=dhcp2
/ip address
add address=10.0.0.100/24 interface=vlan10 network=10.0.0.0
add address=10.0.8.100/24 interface=vlan20 network=10.0.8.0
/ip dhcp-server network
add address=10.0.0.0/24 dns-server=10.0.0.100 gateway=10.0.0.100
add address=10.0.8.0/24 dns-server=10.0.8.100 gateway=10.0.8.100
/system leds
set 0 interface=wlan1
/system routerboard settings

then on the CRS

 /interface ethernet
set [ find default-name=ether17 ] name=ether17-management
set [ find default-name=ether24 ] name=ether24-trunk
set [ find default-name=ether1 ] master-port=ether24-trunk
set [ find default-name=ether2 ] master-port=ether24-trunk
set [ find default-name=ether3 ] master-port=ether24-trunk
set [ find default-name=ether4 ] master-port=ether24-trunk
set [ find default-name=ether5 ] master-port=ether24-trunk
set [ find default-name=ether6 ] master-port=ether24-trunk
set [ find default-name=ether7 ] master-port=ether24-trunk
set [ find default-name=ether8 ] master-port=ether24-trunk
set [ find default-name=ether9 ] master-port=ether24-trunk
set [ find default-name=ether10 ] master-port=ether24-trunk
set [ find default-name=ether11 ] master-port=ether24-trunk
set [ find default-name=ether12 ] master-port=ether24-trunk
set [ find default-name=ether13 ] master-port=ether24-trunk
set [ find default-name=ether14 ] master-port=ether24-trunk
set [ find default-name=ether15 ] master-port=ether24-trunk
set [ find default-name=ether16 ] master-port=ether24-trunk
set [ find default-name=ether18 ] master-port=ether24-trunk
set [ find default-name=ether19 ] master-port=ether24-trunk
set [ find default-name=ether20 ] master-port=ether24-trunk
set [ find default-name=ether21 ] master-port=ether24-trunk
set [ find default-name=ether22 ] master-port=ether24-trunk
set [ find default-name=ether23 ] master-port=ether24-trunk
/interface ethernet switch egress-vlan-tag
add tagged-ports=ether24-trunk vlan-id=10
add tagged-ports=ether24-trunk vlan-id=20
/interface ethernet switch ingress-vlan-translation
add new-customer-vid=20 ports=ether18,ether19,ether20,ether21,ether22,ether23
add new-customer-vid=10 ports=ether1,ether2,ether3,ether4,ether5,ether6,ether7,ether8,ether9,ether10,ether11,ether12,ether13,ether14,ether15,ether16
/interface ethernet switch vlan
add ports=ether18,ether19,ether20,ether21,ether22,ether23 vlan-id=20
add ports=ether1,ether2,ether3,ether4,ether5,ether6,ether7,ether8,ether9,ether10,ether11,ether12,ether13,ether14,ether15,ether16 vlan-id=10
/ip address
add address=10.0.0.98/24 interface=ether17-management network=10.0.0.0
add address=10.0.0.1 interface=ether24-trunk network=10.0.0.1

First, are you using the switch cheap feature of the RB951G? If so, did you add the VLAN to the switch chip menu on the RB951G? If you did that did you ensure the VLAN is tagged for the switch chip CPU as well as the master port (I assume ether2).

Second, the CRS125. I believe you need to add your master-port to /interface ethernet switch vlan for both VLANs.

Note: In the latest version of RouterOS, 6.41rc, the way VLANs are configured has been standardized into a new bridge implementation that automatically manages HW offloading features. The CRS1xx products are still being worked on. When that product is squared away I suggest you look at this new method for VLANs. It is far less confusing but draws several parallels to the switch chip style.

“First, are you using the switch cheap feature of the RB951G”
I am not sure I will have to check

"RouterOS, 6.41rc, the way VLANs are configured has been standardized into a new bridge "

I did upgrade to this version before I tried to do the setup so the CRS is on 6.41 but the RB 951 is on 6.3 version. Is there documentation on the new method or should i rather downgrade to a older version?