Solved

VoIP dhcp option

Posted on 2014-01-08
7
4,744 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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Security is one of the biggest concerns when moving and migrating your data from your on-premise location to the Public Cloud.  Where is your data? Who can access it? Will it be safe from accidental deletion?  All of these questions and more are imp…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

744 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now