TFTP server is an important service for Network engineers, because they will be using this TFTP server for coping big IOS(Inter networking Operating System)files to routers, So as a Linux administrators we have to install and configure tftp server.
So why these network guys uses TFTP server for coping IOS images? why not ftp, scp, rcp etc?
Ans : Because TFTP user use UDP protocal for sending data, so its bit faster due to its unrelaiable way of sending data. So in early days one a serial port is connected between router and server so the data transmission is very slow, so they started using TFTP server as file server to copy images.
Here are the steps to configure TFTP server
Step1 : Install TFTP server
#yum install tftp-server
or
#rpm -ivh tftp-server*
Here we have to make a note that TFTP, telnet, rsync, talk services are run under one single service Xinted.
Step2 : Configuring tfpt server
#cd /etc/xinetd.d
#vi tftp
Edit the tftp configuration file as follows, save it and exit.
[root@test xinetd.d]# vi tftp
# default: off
# description: The tftp server serves files using the trivial file transfer \
# protocol. The tftp protocol is often used to boot diskless \
# workstations, download configuration files to network-aware printers, \
# and to start the installation process for some operating systems.
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
In the above file what we have specified was please use protocol as UDP and server command, then tftp dump location(/tftpboot), its like ftp server dump(/var/ftp/pub)location then disable=no means TFTP service should be enabled other things no need to edit.
Step3 : Give full permissions to /tftpboot
#chmod 777 /tftpboot
Step4 : Restart the xinetd serive, so that the tftp server configs will be updated
#service xinetd restart
Step5 : Permanently on Xinetd service
#chkconfig xinetd on
TFTP Implementaion In Linux
0 comments 6/09/2008 12:36:00 AM Posted by Surendra Kumar AnneLabels: Basic-Servers
Subscribe to:
Posts (Atom)