Draytek Vigor: separate voice and data with VLANs
Putting phones on their own VLAN keeps voice traffic away from large downloads and gives you a clean way to prioritise calls. It also makes troubleshooting easier, because you can see exactly which devices are phones.
What you need first
- A Vigor router that supports VLANs, such as most 2762, 2765, 2862, 2865 and 2927 models.
- A switch that understands VLAN tags, if phones and computers share one switch.
- Phones that support VLAN tagging. Yealink, Snom, Cisco and Fanvil phones all do, usually under Network → VLAN in the phone web interface.
On the router
- Log in as administrator and go to LAN → VLAN Configuration. On some models this is LAN → VLAN or under VLAN Tagging.
- Enable VLAN configuration.
- Create a VLAN for voice, for example VLAN 10, and a separate one for data, for example VLAN 20.
- Set the voice VLAN to tag traffic on the ports used by phones.
- If phones and computers share a port, configure the phone port as tagged for voice and untagged for data so the PC downstream of the phone stays on the data VLAN.
On each phone
- Open the phone web interface and go to Network → VLAN or Advanced Network.
- Enable VLAN, set the Voice VLAN ID to 10, and set the priority to 6 for voice.
- Save and let the phone reboot. It will take a new address on the voice VLAN.
Watch out for
- If the voice VLAN has its own DHCP scope, make sure it hands out a gateway and DNS server.
- Get the VLAN working before adding QoS rules, otherwise you will not know which change caused a problem.