James Carlson wrote:

>> In order to use the domain 
>> name to determine what to do next we would need this. But are DHCP 
>> servers required to include it in the offer, or can they wait to supply 
>> it until the second packet (the ack in DHCPv4)?
> 
> That's the "Reply" in DHCPv6 (which is both ACK and NAK, depending on
> the options contained inside).
> 
> Yes, they can wait until the Reply if they choose.  They can also
> avoid sending it at all.

Does this mean it would be wise from an interoperability perspective to 
extend and evolve the dhcpagent interface so that dhcpagent doesn't do 
any SIOCS* ioctls?

That way NWAM could let the DHCP client state machine run through the 4 
packet exchange, and then choose which lease it might like to use, and 
then tell dhcpagent to release the others?

We could do this and have
        ifconfig xx0 dhcp start
work the same; means ifconfig would need to get the address, netmask, 
broadcast address, default route(?) from dhcpagent and do the SIOCS* ioctls.

The alternative (which is less work) is to hope that all DHCP servers 
that matter will provide the domain name in the offer/advertise message.

    Eril



Reply via email to