Solved

VoIP dhcp option

Posted on 2014-01-08
7
5,152 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 25

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 25

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
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 
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 25

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 25

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Stuck in INIT/DROTHER 2 49
Application timeout question 2 47
IPv6 NAT to IPv4 28 66
Cisco ASA 5512-X Active/Standby HA 4 25
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
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…
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…

839 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