dhcpcd-discuss

Re: RFC 3315 17.1.3. Receipt of Advertise Messages

Roy Marples

Fri Feb 17 17:19:24 2017

On 14/02/17 23:51, Neal P. Murphy wrote:
>> Making dhcpcd react to a more preferred server right away would be
>> quite easy. Storing the adverts for a period of time and then
>> choosing the more preferred one to bind to would be trickier. Right
>> now, I'm not sure which is the better solution.
> 
> Or maybe something in the middle. Save the first advert received.
> Then for 2-5 seconds, receive an advert, compare it with the saved
> advert, and save the 'better' one. At timeout, use the saved advert.
> Of course, determining 'better' may be the real challenge.

You just described the latter of the two options, so it's not really in
the middle :)

> Does it make sense to choose a route now, then later change if a
> better offer comes along?

I have no problem with choosing a route now and changing it later as
this is kind of a grey area and dhcpcd has a history of changing parts
of how it works if something proves better.

However, providing an option to control this is needed, and I'm rapidly
running out of option space in the current design.

Roy

Follow-Ups:
Re: RFC 3315 17.1.3. Receipt of Advertise MessagesNeal P. Murphy
References:
RFC 3315 17.1.3. Receipt of Advertise MessagesShahid Mahmood
Re: RFC 3315 17.1.3. Receipt of Advertise MessagesRoy Marples
Re: RFC 3315 17.1.3. Receipt of Advertise MessagesShahid Mahmood
Re: RFC 3315 17.1.3. Receipt of Advertise MessagesRoy Marples
Re: RFC 3315 17.1.3. Receipt of Advertise MessagesNeal P. Murphy
Archive administrator: postmaster@marples.name