Solved

VoIP dhcp option

Posted on 2014-01-08
7
5,052 Views
Last Modified: 2014-01-24
Can sombody help me to understand the option feature in the dhcp pool configuration for VoIP (see sample below)?

ip dhcp pool Data
   network x.x.x.x 255.255.255.0
   default-router x.x.x.1
   dns-server x.x.x.x y.y.y.y.y
   option 242 ascii L2Q=1,L2QVLAN=5
   option 176 ascii L2Q=1,L2QVLAN=5
!
ip dhcp pool VoIP
   network x.x.x.x 255.255.255.0
   default-router x.x.x.1
   option 242 ascii MCIPADD=x.x.x.x,x,x,x,x,MCPORT=1719,HTTPSRVR=x.x.x.x,TFTPSRVR=x.x.x.x,VLANTEST=0
   option 176 ascii MCIPADD=x.x.x.x,x,x,x,x,MCPORT=1719,HTTPSRVR=x.x.x.x,TFTPSRVR=x.x.x.x,VLANTEST=0
0
Comment
Question by:leblanc
  • 4
  • 3
7 Comments
 
LVL 24

Accepted Solution

by:
Ken Boone earned 500 total points
ID: 39767110
ok so these options 242 and  176 do the same thing but for different types of phones.  The way  it works is that the phone boots up natively in the data vlan.   Avaya 46xx phones use option 176 and 96xx phones use option 242.  

 L2Q=1 is the setting that tells the phone to operate as an 802.1q trunk.  L2QVLAN =5 tells the phone that it should be in vlan 5.  So basically the phone boots up in the data vlan, receives a data IP address, and then looks at these options.  The phone then resets and boots up in the vlan defined by L2QVLAN.  In your case it is vlan 5.  The phone now receives an IP address on vlan 5 and the additional option.  
The difference now is that option has different information for the phone

In your case:
   option 242 ascii MCIPADD=x.x.x.x,x,x,x,x,MCPORT=1719,HTTPSRVR=x.x.x.x,TFTPSRVR=x.x.x.x,

MCIPADD is the ip address of the call server, MCPORT is the port that it will use to communicate on.   HTTPSRVR is the HTTP server that the phone can pull down http files from and TFTPSRVR is the ip address of the tftp server that holds the phone config files.

So basically these additional options tell the phone where to pull down its config from and what call server to register with.

Hope that helps..

Oh btw.. These options are probably used on many other phones.  Here is a doc that will help you maybe:

http://downloads.avaya.com/css/P8/documents/100057468
0
 
LVL 1

Author Comment

by:leblanc
ID: 39767148
But those options can be configured on the DHCP server like Windows Server for example. Correct?
I will have to specify those options if I configure my router as a DHCP server. Correct?

I will be using NEC VoIP phones itl-8ld-1 dt730. Do you know if they mark the traffic automatically. I could not find any document on how to configure the Cisco switch with NEC VoIP phones. Thanks
0
 
LVL 24

Assisted Solution

by:Ken Boone
Ken Boone earned 500 total points
ID: 39768023
Yes you can configure those options on the windows DHCP server.  

Are you moving to NEC from Avaya?  The DHCP settings are specific to the phone manufacturer.  They all do different things.  You will need to contact your NEC provider to get the details of how DHCP needs to be setup.

Also, some phones have different methods of getting their vlan.  DHCP with the phone booting up in the data vlan, getting its vlan from DHCP and then resetting itself in the voice vlan and then getting DHCP is kind of an old way of doing it.  Cisco using CDP but this only works with Cisco phones.  Many manufacturers are using LLDP now, which is similar to CDP.  So you will really need to find out from NEC the specifics for how the phone gets its information.   If you can use LLDP the phone only needs to boot up in the voice vlan.  So some information it gets from LLDP and some from DHCP.

It all depends on the phone.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 1

Author Comment

by:leblanc
ID: 39769192
NEC phones use 802.1q trunking. But I am not sure if they mark the packet with dscp or cos.
0
 
LVL 24

Expert Comment

by:Ken Boone
ID: 39769300
That would be a question for NEC, however, you could have the switch mark the traffic on the ingress port.
0
 
LVL 1

Author Comment

by:leblanc
ID: 39769621
I assume that the phone marks the packet and my switch just trust dscp or cos. That's how the Cisco phone works.
0
 
LVL 24

Expert Comment

by:Ken Boone
ID: 39769863
I would assume the same thing..  I do know several years ago that one of the manufacturers did not have their stuff marked but that was a long time ago.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
adding a printer to QAD 10 65
Cisco 5508 controller parsing error 4 63
Wired Network vs Wireless 12 58
DNS Server 7 26
Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question