Re: Detecting duplicate address (ipv4)
Shahid Mahmood
Mon Jun 20 16:56:33 2016
On Mon, Jun 20, 2016 at 12:19 PM, Roy Marples <roy@xxxxxxxxxxxx> wrote:
> Hi
>
> On 20/06/2016 17:13, Shahid Mahmood wrote:
> > Hi
> > How is duplicate address handled by dhcpcd?
> > e.g
> > 1) dhcpcd sends arp probe after getting an address from dhcp server and
> > finds that this address is duplicate.
> >
> > 2) dhcpcd has acquired and assigned an address but later some other host
> > tries to claim it and sends arp probes.
> >
> > How can we detect the above conditions? (in hook script or otherwise).
>
> Currently these events are not sent to the hook script directly.
>
Is there a way to detect it indirectly?
> 2) is only triggered if it's an extended last lease and even then it's
> just given the EXPIRE reason.
>
> How can we distinguish this EXPIRE from the regular one?
> Roy
>
Thanks
Archive administrator: postmaster@marples.name