argument for tftp server

Glenn Satchell Glenn.Satchell at uniq.com.au
Fri Jul 7 03:47:22 UTC 2006


>X-Original-To: dhcp-users at webster.isc.org
>Date: Fri, 07 Jul 2006 09:49:07 +0800
>From: "Joey S. Eisma" <jeisma at pimes.com.ph>
>To: dhcp-users at isc.org
>Subject: argument for tftp server
>X-AntiVirus: checked by AntiVir MailGate (version: 2.0.4-7; AVE: 7.1.0.21; VDF: 
6.35.0.170; host: pimes.com.ph)
>X-archive-position: 1089
>X-ecartis-version: Ecartis v1.0.0
>X-original-sender: jeisma at pimes.com.ph
>List-software: Ecartis version 1.0.0
>X-List-ID: <dhcp-users.isc.org>
>X-list: dhcp-users
>
>hi!
>
>what is the argument to specify the tftp server address?
>
>
>thanks!
>
>
>joey
>
Hi Joey

There are two different options that can do this. The one you probably
want is "next-server".

man dhcpd.conf
...
     The next-server statement

       next-server server-name;

       The next-server statement is  used  to  specify  the  host
       address  of  the  server  from which the initial boot file
       (specified in the filename statement)  is  to  be  loaded.
       Server-name  should  be  a  numeric IP address or a domain
       name.

man dhcp-options
...
     option tftp-server-name text;

       This option is used to identify a TFTP server and, if sup-
       ported  by  the client, should have the same effect as the
       server-name declaration.   BOOTP clients are  unlikely  to
       support  this  option.  Some DHCP clients will support it,
       and others actually require it.

There are examples of usage in the man pages and the archives, eg:

next-server tftp.example.com;
next-server 192.168.1.1;

option tftp-server-name "tftpserver.example.com";
option tftp-server-name "192.168.1.1";

Note that next-server takes a server name or IP address as the
parameter. A name is resolved by dhcp and the IP address
forwarded in the response.

option tftp-server takes a text string, so it should be
enclosed in quotes and be in a form that the client will be able to
understand. If you use a hostname it must be able to be resolved by the
tftp client at boottime.

regards,
-glenn



More information about the dhcp-users mailing list