dhcpcd-discuss

Re: IPV4LL and EXPIRE

Roy Marples

Tue Oct 21 19:10:35 2014

On 21/10/2014 19:46, David Hauck wrote:
>>> As an aside, what is the expiry timeout associated with a normally
>>> (i.e.,
>> initially) configured IPV4LL lease/address?
>>
>> No timeout. When dhcpcd gets one it will attempt to discover a DHCP
>> leave every 64 + -1/+1 seconds.
> 
> What is meant by "When dhcpcd gets one"? Do you mean gets an IPV4LL address?

Yes

> If so, do you mean dhcpcd will attempt to contact a DHCP server every 64 +/- 1 seconds?

Yes.
On a reboot or carrier up it's after the ARP announcement has finished +
a small random delay. If it's not that's a bug.

>> What I decribed about is fully described in RFC3927 sections 2.2.1,
>> 2.2.4 and 2.2.5
> 
> I believe the last two references should be for 2.4 and 2.5(?). 

Yes, sorry.

> I think there may be some reading between the lines in these sections. For example, there isn't anything in section 2.2.1 that specifically indicates another connected host should indicate they *own* the address if they have a *stale* ARP cache. Indeed, it is only the ARP ANNOUNCE state that will guarantee this - from section 2.4:
> 
> "The purpose of these ARP announcements is to make sure that other hosts on the link do not have stale ARP cache entries left over from some other host that may previously have been using the same address."

However, your kernel is not clearing it's stale ARP cache on these
announcements, it's actually saying they are duplicates via ARP
Would you like me to provide a human readable output from your trace?

Or too see for yourself, install wireshark and open it. Filter on
arp || bootp
to see all the relevant transactions.

Roy

Follow-Ups:
RE: IPV4LL and EXPIREDavid Hauck
References:
IPV4LL and EXPIREDavid Hauck
RE: IPV4LL and EXPIRERoy Marples
RE: IPV4LL and EXPIREDavid Hauck
RE: IPV4LL and EXPIREDavid Hauck
RE: IPV4LL and EXPIRERoy Marples
RE: IPV4LL and EXPIREDavid Hauck
RE: IPV4LL and EXPIREDavid Hauck
RE: IPV4LL and EXPIRERoy Marples
RE: IPV4LL and EXPIREDavid Hauck
RE: IPV4LL and EXPIRERoy Marples
RE: IPV4LL and EXPIRERoy Marples
RE: IPV4LL and EXPIREDavid Hauck
Re: IPV4LL and EXPIRERoy Marples
RE: IPV4LL and EXPIREDavid Hauck
Re: IPV4LL and EXPIRERoy Marples
RE: IPV4LL and EXPIREDavid Hauck
Archive administrator: postmaster@marples.name