• Ondřej Zajíček's avatar
    Babel: Add option to randomize router ID · 70fab178
    Ondřej Zajíček authored
    When a Babel node restarts, it loses its sequence number, which can cause
    its routes to be rejected by peers until the state is cleared out by other
    nodes in the network (which can take on the order of minutes).
    
    There are two ways to fix this: Having stable storage to keep the sequence
    number across restarts, or picking a different router ID each time.
    
    This implements the latter, by introducing a new option that will cause
    BIRD to randomize a high 32 bits of router ID every time it starts up.
    This avoids the problem at the cost of not having stable router IDs in
    the network.
    
    Thanks to Toke Hoiland-Jorgensen for the patch.
    70fab178