Home > Networking Tips > > DHCP for VoIP
Networking Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


DHCP for VoIP


Tom Lancaster
09.04.2003
Rating: -3.90- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


One of the more annoying attributes of IP Phones is that most of the common brands seem to share a reliance on DHCP and TFTP that can't easily be configured from the handset itself. This is particularly annoying in today's extremely security-conscious network environment, as TFTP isn't exactly a well-regarded protocol. So while the users may appreciate the fact that they don't have to configure their phones like their PCs, administrators may be less thrilled about the incompatibilities that often arise.

As old as DHCP and TFTP are, you wouldn't think these protocols would be problematic. These two protocols must interact in VoIP environments because IP Phones typically get their IP address dynamically from a DHCP server, and then request an "image" from a TFTP server. In the old days, TFTP was used like FTP for downloading, but it didn't require a username or password and the clients could send broadcasts to find the server. This was useful because the clients were often in an unconfigured boot-up state and needed to get their configuration from a TFTP server without knowing the IP address of the server.

IP Phones still do this, but because the phones usually aren't on the same subnet as the TFTP server, the phones will learn the IP address of the TFTP server from the DHCP server. They get this information in the form of a DHCP "Option", specifically, Option 150.

The rub is that several popular DHCP servers implement only the more common options, like Default Gateway, DNS Server, and NetBIOS Name Server. While you might be able to jump through some hoops to make these servers support Option 150, save yourself some grief by implementing DHCP servers on an IOS-based router.

The sample config below creates a pool of addresses named "voice" for DHCP clients from 192.168.1.220 to 192.168.1.230 and specifies their default gateway and tells them to send TFTP requests to the server on 192.168.2.6.

!
ip dhcp excluded-address 192.168.1.1 192.168.1.219
ip dhcp excluded-address 192.168.1.231 192.168.1.255
!
ip dhcp pool voice
  network 192.168.1.0 255.255.255.0
  default-router 192.168.1.1
  option 150 ip 192.168.2.6
!

Thomas Alexander Lancaster IV is a consultant and author with over ten years experience in the networking industry, focused on Internet infrastructure.


Rate this Tip
To rate tips, you must be a member of SearchNetworking.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Voice/data Convergence
Networking Products of the Year 2004
The best of 2004
Elements of VoIP QoS
Telephony 'just another IP application' according to FCC
A significant VoIP benefit - Unified messaging
IP telephony development tools
SPIT, or Spam over Internet Telephony
First Wi-Fi handset makes its debut
Duties of an IP telephony gateway when integrating VoIP and the PSTN
VoIP and NAT

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Networking Solutions for Business

Alcatel-Lucent Network Business Communications Solutions

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts