Retaining information between DHCP requests
Bill Shirley
Bill at Henagar.PolymerIndustries.biz
Fri Oct 10 00:57:45 UTC 2014
On 10/9/2014 7:23 PM, CLOSE Dave wrote:
> Bill Shirley wrote:
>
>> Does kickstart send the hostname every time?
> Actually, it doesn't seem to send hostname ever. The only potentially
> useful field unique to kickstart in any of the messages is the
> vendor-class-identifer. And that appears only in the first DISCOVER/REQUEST.
>
> However, following up on Sten's suggestion, I find that the initrd does
> contain a dhclient.conf file. All it contains now is,
>
> > request subnet-mask, broadcast-address, time-offset, routers,
> > domain-name, domain-name-servers, domain-search, host-name,
> > root-path, interface-mtu;
>
> Perhaps I can add something to this file.
According to the above request list, it should be asking for a host-name from the server. You didn't see one in the tcpdump?
Something like:
Parameter-Request Option 55, length 20:
Subnet-Mask, BR, Time-Zone, Default-Gateway
Domain-Name, Domain-Name-Server, Option 119, Hostname
Netbios-Name-Server, Netbios-Scope, MTU, Classless-Static-Route
NTP, MDHCP, PRTR, Option 192
Option 202, Option 203, Option 137, Option 191
Also, is there a send section in dhclient.conf?
send { [ option declaration ]
[, ... option declaration ]}
The send statement causes the client to send the specified options to
the server with the specified values. These are full option
declarations as described in dhcp-options(5). Options that are
always sent in the DHCP protocol should not be specified here, except
that the client can specify a requested dhcp-lease-time option other
than the default requested lease time, which is two hours. The other
obvious use for this statement is to send information to the server
that will allow it to differentiate between this client and other
clients or kinds of clients.
Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20141009/9db0a3a0/attachment-0001.html>
More information about the dhcp-users
mailing list