James, Thanks for your swift response.
>> Mick Hosegood wrote:
>> I'm trying to fathom the mechanics of the
>> PARAM_REQUEST_LIST entry in the DHCP client's
>> /etc/default/dhcpagent file.
>> Apparently it "Specifies a list of comma-separated
>>  integer  values
>> of options for which the client would
>>  like values" 
>> How does the server (dhcpd) obtain the requested
>>  values to pass back to the client?
> They're in the DHCPDISCOVER and DHCPREQUEST messages.
OK, so if I add 42 (NTPservs) to the PARAM_REQUEST_LIST values, where would the 
server source that info? If it's part of the appropriate network macro on the 
server, or a directly associated macro, the client gets the value, requested or 
not. It also gets all the other values in the macros, requested or not.
If not present in the macros, the value comes back as null.
So it appears the PARAM_REQUEST_LIST is completely ignored.
> 
>> It does not seem to be anything to do with the
>> server dhcp macros, and the documentation is vague.
> 
> Not all DHCP servers and clients have the same
> features, and the DHCP
> server that comes with OpenSolaris is independent
> from the client.
> 
> I believe that the server on OpenSolaris always tries
> to return the data
> that you configure into the macros for a given
> client, regardless of
> what the client might or might not ask for.  (If the
> packet grows too
> large, it might prefer to keep the ones requested and
> discard
> unrequested options, but I'm not sure on that.)
If that was the case the client would be mis-configured (or rather 
under-configured) and you wouldn't want to use DHCP in the first place to pass 
the values. Surely all the values must be passed to the client?
> 
It does indeed seem that the client requests are ignored, and that the values 
in the associated macro
> Other servers are different, and are able to return
> data conditionally,
> based on requested options.  ISC's dhcpd is like
> this; see dhcp-eval(5)
> on a system with that server installed.
> 
> -- 
> James Carlson         42.703N 71.076W
>         <carls...@workingcode.com>
> _______________________________________
> networking-discuss mailing list
> networking-discuss@opensolaris.org
>
Mick Hosegood
-- 
This message posted from opensolaris.org
_______________________________________________
networking-discuss mailing list
networking-discuss@opensolaris.org

Reply via email to