I want to configure the voice vlan implementation through option 132 in DHCP, but for some reason it doesn't work.
I have two hap ac devices, one configured as a router, the other as a switch.
Here is a router settings:
Code: Select all
/interface vlan
add interface=ether2 name=vlan30 vlan-id=30
/ip address
add address=10.30.30.1/24 interface=vlan30 network=10.30.30.0
/ip dhcp-server
add address-pool=voip-pool disabled=no interface=vlan30 name=vlan30-dhcp
/ip dhcp-server option
add code=132 name=option132 value="s'30'"
/ip dhcp-server network
add address=10.30.30.0/24 comment=vlan30 dhcp-option=option132 dns-server=10.30.30.1 gateway=10.30.30.1
Code: Select all
/interface bridge
add name=bridge1 vlan-filtering=yes
/ip dhcp-client
add disabled=no interface=bridge1
/interface bridge port
add bridge=bridge1 interface=ether1
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=ether5
/interface bridge vlan
add bridge=bridge1 tagged=ether1,ether2,ether3,ether4,ether5 vlan-ids=30
Does anyone have any idea what I'm doing wrong and why this way of getting the vlan for voip doesn't work?