dhcpcd-discuss

Re: Configure local link at same time as DHCP

Roy Marples

Fri Jul 17 17:50:35 2020

On 17/07/2020 17:33, Davesh Patel wrote:
Just to make sure I understand, I would use the --reboot option set to, say, 1s. Then the following would happen:

(Assuming no IP currently set)
- DHCP discover would be sent out (immediately or after reboot seconds?)
- If no response to discover within 1s (in this example), the IPv4LL would start (meaning ARP probe, etc). - If at some point later a DHCP server does respond to one of the discover messages, this would supersede the IPv4LL address.

Is the above correct?

Yes


If there is already a IPv4LL address and I use --reboot, I assume the process is still the same as above?

Yes, although it would use the already existing address.
At least the latest version does.

Finally, could you please clarify what setting this to 0s would do? Would it send discover immediately AND at the same time start the IPv4LL?

It would discover forever without fallback or ipv4ll.

Roy

References:
Configure local link at same time as DHCPDavesh Patel
Re: Configure local link at same time as DHCPRoy Marples
Re: Configure local link at same time as DHCPDavesh Patel
Archive administrator: postmaster@marples.name