summaryrefslogtreecommitdiff
path: root/doc/bird.sgml
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2016-04-08 15:10:57 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2016-04-08 15:11:21 +0200
commite90dd656cc9126e1fbcc45fb77a10bf1baa2a1b5 (patch)
tree5383de73050fdc1d3c87b3c28b218126bb4d2244 /doc/bird.sgml
parentf2ae2badff37c008ba8217a12f8ee6dc6a3c5a39 (diff)
Direct: Implement check link for direct protocol
When enabled, direct protocol generates routes only if the underlying link state is up.
Diffstat (limited to 'doc/bird.sgml')
-rw-r--r--doc/bird.sgml8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml
index 5e943d7c..829b148a 100644
--- a/doc/bird.sgml
+++ b/doc/bird.sgml
@@ -2155,7 +2155,7 @@ conditions, because a lower priority IGP route for the same network is not
exported to the kernel routing table. This is an issue on BSD systems only, as
on Linux systems BIRD cannot change non-BIRD route in the kernel routing table.
-<p>The only configurable thing about direct is what interfaces it watches:
+<p>There are just few configuration options for the Direct protocol:
<p><descrip>
<tag>interface <m/pattern [, ...]/</tag>
@@ -2166,6 +2166,12 @@ on Linux systems BIRD cannot change non-BIRD route in the kernel routing table.
interfaces), just use this clause. See <ref id="dsc-iface" name="interface">
common option for detailed description. The Direct protocol uses
extended interface clauses.
+
+ <tag>check link <m/switch/</tag>
+ If enabled, a hardware link state (reported by OS) is taken into
+ consideration. Routes for directly connected networks are generated only
+ if link up is reported and they are withdrawn when link disappears
+ (e.g., an ethernet cable is unplugged). Default value is no.
</descrip>
<p>Direct device routes don't contain any specific attributes.