Ricardo Carrillo Cruz wrote:
>>Not that it answers your question, but did you try server-name or:
>>
>> option tftp-server-name text;
>>
>> This option is used to identify a TFTP server and,
>>if supported by
>> the client, should have the same effect as the server-name
>>declaraâ
>> tion. BOOTP clients are unlikely to support this option.
>>Some
>> DHCP clients will support it, and others actually require it.
>>
>>^Carl
>>
>
> Mmmmm,interesting,where do i put the directive you suggest me?
> What is the exact syntax?
There are 2 you can pick from - not sure if there is any difference:
$ 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. If no next-server parameter
applies to a given client, the DHCP serverâs IP address is used.
Not to be confused with:
$ man dhcpd.conf
The server-name statement
server-name name ;
The server-name statement can be used to inform the client of the
name of the server from which it is booting. Name should be the
name that will be provided to the client.
In dhcpd.conf:
# /etc/dhcp3/dhcpd.conf
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.254 ;
}
server-name=192.168.1.1;
filename="pxelinux.0" ;
# eof: /etc/dhcp3/dhcpd.conf
I think that is all you need for pxe (you may need other things like "option
domain-name-servers" for other things, but you probably already have that in place.)
^C
|