summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2014-11-28 08:39:46 +0100
committerChristian Franke <chris@opensourcerouting.org>2017-01-30 13:54:47 +0100
commitee9964d4b4104d36bf90b538590857e4ca13a3fd (patch)
tree7b1da381ce83902e14418c5300651b79a6e09c4f
parentc423229b54f01bbc7522a2d5c73221db8ebbecf0 (diff)
doc: add dst-src static route commands
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
-rw-r--r--doc/main.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/main.texi b/doc/main.texi
index 2e50457628..dfe02e1b5d 100644
--- a/doc/main.texi
+++ b/doc/main.texi
@@ -239,6 +239,16 @@ Routing entry for 10.0.0.0/8
These behave similarly to their ipv4 counterparts.
@end deffn
+@deffn Command {ipv6 route @var{network} from @var{srcprefix} @var{gateway}} {}
+@deffnx Command {ipv6 route @var{network} from @var{srcprefix} @var{gateway} @var{distance}} {}
+Install a static source-specific route. These routes are currently supported
+on Linux operating systems only, and perform AND matching on packet's
+destination and source addresses in the kernel's forwarding path. Note that
+destination longest-prefix match is "more important" than source LPM, e.g.
+@command{"2001:db8:1::/64 from 2001:db8::/48"} will win over
+@command{"2001:db8::/48 from 2001:db8:1::/64"} if both match.
+@end deffn
+
@deffn Command {table @var{tableno}} {}
Select the primary kernel routing table to be used. This only works