argument for tftp server
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: 22.214.171.124; VDF:
126.96.36.199; host: pimes.com.ph)
>X-ecartis-version: Ecartis v1.0.0
>X-original-sender: jeisma at pimes.com.ph
>List-software: Ecartis version 1.0.0
>what is the argument to specify the tftp server address?
There are two different options that can do this. The one you probably
want is "next-server".
The next-server statement
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
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:
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.
More information about the dhcp-users