VoIP VLAN assigned by DHCP
-
I know there are vendor specific options for DHCP to tell phones what VLAN to use but I have 4 brands of phones (Panasonic, Polycom, VTech, and Grandstream) and can't get it to work. I've made it work with Mitel phones on a Windows DHCP server but never with pfSense. I've grabbed the DHCP DORA packets and looked them over to find the options being requested by the phones. I set all the options I see but they don't ever go to the new VLAN to pull their IP and set up. Maybe it's the type? I'm using "Unsigned 32-bit integer" with a value of 100. Wireshark shows the option being sent as 000064 so it seems like it's being converted to hexadecimal. The switch is a Cisco CBS250. I've turned off CDP and LLDP. Any advice?
-
Can you see what options the phones are requesting coming into pfSense?
Seems like they would try to use VLAN 64 if it was expecting decimal value like that.
This is not something I've seen before. I assume with the Windows server the phones don't get an IP in the untagged subnet also?
Steve
-
@stephenw10 The value I've put in is 100. 0x64 would be the hexidecimal value for 100 decimal. This particular instance is new so there is no Windows server involved. In the instance that is working for me it is a Windows server with Mitel phones (in the past) and Yealink phones (replaced the Mitel phones).
What should happen is:
- The phone pulls a provisional IP from the DHCP server on the untagged VLAN from the switch port
- Read the VLAN option received from the DHCP server
- Release the provisional IP
- Switch to the assigned VLAN
- Pull an IP on the new VLAN
I've set every option I've found for the phones. That's why I looked at the DHCP DORA packets to see what options are being requested. I've tried every option I can find for different brands:
43
128
129
132
133
142
144
157
160
176
191
I'm hoping someone with a working setup can chime in. Maybe I'm using the wrong type for the option? Something in the switch perhaps? I'm a bit lost as to why it isn't working this time but since this is the first time I've tried this with pfSense as the DHCP server I thought this would be the place to start. -
Yup, someone probably has this working. Unfortunately I don't think I have any way to test it here.