From ee9964d4b4104d36bf90b538590857e4ca13a3fd Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Fri, 28 Nov 2014 08:39:46 +0100 Subject: [PATCH] doc: add dst-src static route commands Signed-off-by: David Lamparter --- doc/main.texi | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.39.5