Subject: dhclient
To: None <>
From: Patrick Welche <>
List: tech-net
Date: 12/04/1999 15:46:05
In /etc/dhcpd.conf of the dhcp-server of a tiny 3 machine test network, I have

  host compaq {
    hardware ethernet 00:00:b4:84:13:49;
    option tftp-server-name "tftp-var";

and I am trying to extract the variable tftp-var from the compaq. On the
compaq, I have

if [ x$tftp_server_name != x ]; then
  echo tftp server name: $tftp_server_name

in /etc/dhclient-exit-hooks, on the offchance that dhclient might export
that variable. The reason I think something is up is that, if I put

require tftp-server-name;

in /etc/dhclient.conf, I get

Dec  4 15:15:08 compaq dhclient: DHCPOFFER from
Dec  4 15:15:08 compaq dhclient: DHCPOFFER isn't satisfactory.
Dec  4 15:15:22 compaq dhclient: DHCPDISCOVER on ne1 to port 67 

so it would seem that although being recognised as a valid option by dhcpd
(ie., no error when parsing), tftp-server-name isn't being returned. Is
this a valid conclusion, or am I missing something?