IP8540 Lync phones - Problem getting VLan IP

We have IP8540 connected to lync server.  I'm trying to put the phones in a different vlan.  I have seem to configured everything properly but cannot get the dhcp to pass the VLAN Id to the phones.  I have also configured our Netgear switches with the proper Vlan's and created a Vlan in our Sonicwall firewall.  Here is the setup.

Default Vlan 'Data' - Vlan ID 1 - 10.2.1.0 - DC & DHCP server plus PC's

2nd Vlan 'Voice' - Vlan Id 100 - 10.1.1.0 - Lync Server

Phones pick the default ip 10.2.x.x and they never recieve the Voice VLan ip from dhcp server.  I have setup Option 10 with CPE-OCPHONE.  Please see the attached picutre and let me know what might the problem be.

Thanks.

May 12th, 2012 6:33am

You need to use option 43 to be able to use VLAN's http://technet.microsoft.com/en-us/library/gg412828.aspx

The Technet docs are not clear and this blog explains it in more detail http://blog.schertz.name/2011/01/manual-vlan-configuration-for-lync-phone-edition/

Free Windows Admin Tool Kit Click here and download it now
May 12th, 2012 11:26am

Sorry misread your post. Looks like you have followed the process to get it setup. Can you span the port for the phone and run wireshark to check that the phone is definitely not tagging its packets correctly?
May 12th, 2012 12:45pm

Chris thank for your help.  I ran a wireshark last night on the server to see if it was receiving the reqeust correctly.  I do see the phone sending out a DHCP request with Option 60 CPE-OCPHONE.  But the server just replies back with native data vlan ip address. According to Jeff's blog when it provides native vlan ip along with it provides the voice vlan id which in turn makes the phone request a new ip from that vlan.  The 2nd part does not seem to be happening.  I will try to run the wireshark again to see if I see  anything different and post my results.

Thanks.

Free Windows Admin Tool Kit Click here and download it now
May 12th, 2012 5:13pm

Hi,Arvinder,

Seems you have set the value of MSCPEClient wrong format,the value that needs to be defined is option 10 (0a in Hex) and a length of 2 (02 in Hex),would you please try to use 0a020x64 to see if it works?

Here is a blog post for your reference.

http://victorucblog.wordpress.com/2011/04/04/configuring-dhcp-for-lync-voice-vlan/ 

B/R

Sharon

May 14th, 2012 12:57pm

Sharon,

I went back to the Set Predefined Option and it is set at 10 with the WORD of 100. But it is still not working.

Any other settings I might be missing?

Thanks,

Arvinder

Free Windows Admin Tool Kit Click here and download it now
May 15th, 2012 2:30am

Hi,Arvinder,

So what is the value of your Microsoft Lync Vlan?You should use the hex format of your vlan ID 100,in your case it should be 64,so the value should be showed as 0a020x64,would you please verify this?

Here is another great blog post written by Elan Shudnow explained how to configure the DHCP options

http://www.shudnow.net/2011/05/02/configuring-lync-dhcp-using-cisco-dhcp-servers-vlan-and-pin-auth/ 

B/R

Sharon

May 15th, 2012 4:41am

Sharon,

Thanks for your help again.  We are still confused even though we have followed all the steps properly in Jeff Schertz blog. We Defined the vendor class (CPE-OCPHONE).  We set the predefined option 10.  Then under our scope we configure advance options and enter vlan 100 which converts to hex automatically.  It then shows up as only 0x64.  Are you saying under scope options it should display the whole 0a020x64.  If that is the case then how do we do that.  Can you provide me step by instruction and tell us what step we are missing.  Attached pic show how we are creating Option10.

Thank you.



Free Windows Admin Tool Kit Click here and download it now
May 24th, 2012 3:39am

Hi Arvinder

Did you manage to get this working and if so what did you do? I have the same issue

February 20th, 2013 10:27pm

I am having the same issue with a PolyCom CX600 using Lync 2013.  I have the DHCP Configured and I can tell the phones switch to the other Vlan (as it shows in their System information) but they never seem to ask DHCP for a new address for the voice Vlan.  They seem to switch to the Voice Vlan but they continue to try to use the IP address from the default Data Vlan.  I have verified that I have DHCP setup ok for the Voice Lan. If I set the switch port to Static Vlan with the Voice Vlan then it gets a IP ok for the Voice subnet and works but obviously it defeats the purpose if I have to set the Port to a static Vlan. 


Free Windows Admin Tool Kit Click here and download it now
July 5th, 2013 4:00pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics