TFTP Server

There are plenty of TFTP (Trivial File Transfer Protocol) servers out there and even more ways to deploy them and use them, but in this post I will go over my favorite choice TFTPd32. To begin I will explain the uses of a TFTP server, as some of you maybe asking, “Andy, why is a TFTP server even used for?” I’ll tell you! It is used for transferring files using nothing, but UDP connectionless setup. This can be extremely useful for networking equipment to transfer new IOS images or just doing configuration backups for when you have a curious college student that messes with the router a little too much during peak traffic hours, oops! Well the point of the story is if you goof up the running configuration you can easily copy from your previously setup TFTP server to your router or switch to save the day.

Alright now that we know the importance of a TFTP server in your arsenal of tools lets go over the setup and features of TFTPd32. To begin this is the site for downloading: http://tftpd32.jounin.net/tftpd32_download.html. Pick the newest, most stable, and compatible version for you and start that download. Pick the newest, most stable, and compatible version for you and start that download. Pick the newest, most stable, and compatible version for you and start that download. After it finish the download, depending on your version (either .zip or .exe), unzip it and then install it. Very basic setup and now we need to get to configuring it.

Configuring:
A quick note is to make sure that Server Interface drop down is set to your computer’s interface that you wish. Sometimes if you are running this program on a laptop or a server with multiple interfaces you need to have the TFTPd32 server listening on the correct interface for it to operate correctly. The settings button in the bottom middle is where we do the most configurations at. Under the TFTP tab there is a key change that needs to be made. You can see a base directory option, you change this to a more reasonable folder on your computer. There also a ton of other options to change such as the listening port, max retransmits, and creating MD5 hashes to verify the integrity of the file transfered. This is pretty much the basics of the configurations, but there is always more if you decide to tinker with.

Using TFTPd32:
Sending a IOS from your computer to a Cisco router-

Router#copy tftp flash
Address or name of remote host []? (The server interface’s IP)
Source filename []? (File Name)
***TIP: In the GUI for TFTPd32 there is button labeled Show Dir, this will show all the files in your base directory. You can select your file and click copy, then paste it your telnet session to make it easier.

Sending a running-configuration from the router to your computer-

Router#copy running-config tftp
Address or name of remote host []? (The server interface’s IP)
Destination filename [2811-cme-confg]? (File Name)

This concludes the post on TFTPd32. Thank you for your time.

Leave a Reply

Your email address will not be published. Required fields are marked *