Solved

VoIP dhcp option

Posted on 2014-01-08
7
4,865 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
New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

 
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

Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

Question has a verified solution.

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

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

911 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

20 Experts available now in Live!

Get 1:1 Help Now