Curious what a TFTP server is, why it might be important to VoIP products and how to setup a TFTP server? Great, this article is for you then.
A TFTP (Trivial File Transfer Protocol) Server is a simple form of your basic FTP Server. Due to its simplicity a TFTP client can be implemented with a very small amount of memory hence why its embedded in so many VoIP Devices. A good portion of current VoIP Devices and next generation devices rely on TFTP Servers to deliver their configuration files and settings to the devices. Ever see a VoIP Phone System that “auto configures” it’s phones, well most likely that is just a TFTP Server running in the Phone System.
Why do I need to know about TFTP Servers in a VoIP Deployment?
A TFTP server is often used as the back end to standardize configuration templates for VoIP Devices. Traditionally you would edit settings on a device physically which can especially be difficult for those resellers who need to drive 50+ miles to a clients location. A TFTP Server can eliminate this since you can log into your TFTP server, and edit a text file all while never stepping foot onto the customer premise. Do you have 50 phones, all pointing to 192.168.1.2 as their registration server and now the IP address of the system has changed? If you were running a TFTP server this may be a simple 15 second find/replace. This form of configuration is often referred to as “Mass Provisioning”, as you can configure a vast number of devices very quickly with very little human interaction (which we all know equates to less errors) with the devices themselves. To make Mass Provisioning even simpler, you can use Option 66 in your router to provide the TFTP address to all of your devices with the DHCP information.
What is Option 66?
Option 66 is a method of providing a bit more provisioning data to your devices. Hopefully you are already familiar with DHCP, but option 66 adds another value sent with DHCP, which can be for example “192.168.1.1″ or “http://www.mydata.com/data”. Your phones are all getting a LAN IP from your DHCP server, but with Option 66, they can also receive the LAN IP of your TFTP Server. Option 66 can be configured within most business class routers as a setting. If you want to use it to provide your TFTP servers address, simply put the IP address of the server into the Option 66 field. With this method, your phones will receive a LAN IP, then your TFTP Server IP. After they receive the TFTP Server IP Address they will attempt to contact that server, if a valid configuration file is there (and a running server) it will download this to the phone automagically and provision itself to work with your phone system.
As we can see a TFTP Server is a powerful tool in VoIP Deployments, and often a necessary one.
How to setup and configure a TFTP Server:
Hopefully this will be a good starting point for those of you unfamiliar with TFTP Servers. Please check back as I have a few follow up articles coming out, showing how to use a TFTP server to configure Polycom Phones, Aastra Phones, Linksys Analog Adapters, and some other VoIP Devices.