Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

n-acd: use separate seed state for each probe of the same acd #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 3, 2023

  1. n-acd: use separate seed state for each probe of the same acd

    Currently, all the probes of an acd instance share the same seed
    state. This means that the state is updated by all the probes, and as
    a consequence they get different jitters for the wait timeouts;
    therefore the order in which addresses become available (and can
    configured on the interface) is not deterministic.
    
    Keep a separate seed state for each probe, initialized from the acd
    seed. This ensures that all the probes use the same timeouts when
    sending probe requests, and that in case of no collision, addresses
    are available in the order of probe start.
    
    According to RFC 5227, the reason for the initial random delay is that
    
       "This initial random delay helps ensure that a large number of
       hosts powered on at the same time do not all send their initial
       probe packets simultaneously"
    
    There is no mention that different addresses on the same interface
    should have a different delay.
    bengal committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    a559d51 View commit details
    Browse the repository at this point in the history