Learn how to set up DHCP for Voice over IP (VoIP) in this article.

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 to and specifies their default gateway and tells them to send TFTP requests to the server on

ip dhcp excluded-address
ip dhcp excluded-address
ip dhcp pool voice
  option 150 ip

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


Dig Deeper on Unified Communications Resources