diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-05-03 16:55:11 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-05-03 16:55:11 +0200 |
commit | 70fab17837dbb4c5848681e4c6b9b90891891130 (patch) | |
tree | dbb9bbd89407c03e552bec34933441582c0eec85 /doc | |
parent | 23b079043bea5899b49a750c4616aff5b332c50d (diff) |
Babel: Add option to randomize router ID
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.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bird.sgml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml index 1191fa03..ae308d4c 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -1691,6 +1691,7 @@ supports the following per-interface configuration options: protocol babel [<name>] { ipv4 { <channel config> }; ipv6 [sadr] { <channel config> }; + randomize router id <switch>; interface <interface pattern> { type <wired|wireless>; rxcost <number>; @@ -1713,6 +1714,15 @@ protocol babel [<name>] { <tag><label id="babel-channel">ipv4 | ipv6 [sadr] <m/channel config/</tag> The supported channels are IPv4, IPv6, and IPv6 SADR. + <tag><label id="babel-random-router-id">randomize router id <m/switch/</tag> + If enabled, Bird will randomize the top 32 bits of its router ID whenever + the protocol instance starts up. If 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). Enabling this option causes Bird to pick a random + router ID every time it starts up, which avoids this problem at the cost + of not having stable router IDs in the network. Default: no. + <tag><label id="babel-type">type wired|wireless </tag> This option specifies the interface type: Wired or wireless. On wired interfaces a neighbor is considered unreachable after a small number of |