It's common practice to tag the ports on the switch, but then your authorized DHCP server also has to hand out the correct VLAN ID through a dhcp server option. Most often it's based on option 43, but some will have an array of other options that must be used.

The typical method for DHCP addressing is:
1. Connect phone to switch
2. Phone powers on and reaches out for information through default VLAN (unless you already manually tagged it on the phone)
3. Phone either sees DHCP specific vendor settings on default VLAN and gets correctly tagged with a VLAN ID. It then is passed to the correct VLAN and is assigned the correct network address.
4. If no vendor ID/specific option was found or if the phone was not programmed a VLAN ID, it will keep trying.

Polycom instructions are below in one of the answer thread. If you want to assign VLAN ID through DHCP Discovery, you'll need to specify vendor class, set predefined options, specifically option 129, and then give it the VLAN formatted string.

Unfortunately, I didn't find anything for automating the tagging process through DHCP discovery for toshiba ip-5000. Of course, I wasn't searching very hard. If you look through the Toshiba documentation though, you can still manually assign a VLAN. If you do that for the voice vlan # (and the port that the phone is plugged in is also tagged 200, it should go to the correct VLAN on the switch and gets the correct address assignment from the DHCP server.

Polycom: https://community.polycom.com/t5/VoIP-SIP-Phones/dhcp-and-VLANs/td-p/30516
Toshiba: https://atsco.com.au/public_downloads/IP5000%20User%20Guide.pdf

A couple of things to also note - let's say voice vlan is 200, and default is 1. On vlan 1, the switch should have a default ip/gateway address for vlan 1 - say 192.168.1.1. Vlan 200 should have it's own ip/gateway, say 192.168.200.1. There should be two scopes in the DHCP server. One for 192.168.1.0/24 and one for 192.168.200.1/24. Under the scope for 192.168.1.0/24 - you should have an option 129, specifying a string value of: VLAN-A=200; -- this will allow DHCP to pass VLAN ID 200 to the phone on boot, the phone should then traverse to the correct gateway address and grab it's assigned VLAN network address.


Hope that helps.

Last edited by wkit; 07/21/18 02:54 AM.