summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormcbride <mcbride@openbsd.org>2006-10-16 08:44:56 +0000
committermcbride <mcbride@openbsd.org>2006-10-16 08:44:56 +0000
commit3147be6e8c44c6cd322b06eaa0867ade1dbc7bef (patch)
tree7792a1b73a6993e426fb891bf20735fa0e49ac84
parenttab needed instead of space to format this correctly; (diff)
downloadwireguard-openbsd-3147be6e8c44c6cd322b06eaa0867ade1dbc7bef.tar.xz
wireguard-openbsd-3147be6e8c44c6cd322b06eaa0867ade1dbc7bef.zip
More details on multipath.
ok henning + style suggestions from jmc
-rw-r--r--sbin/route/route.816
1 files changed, 15 insertions, 1 deletions
diff --git a/sbin/route/route.8 b/sbin/route/route.8
index 1c210924eaa..c985a03dc73 100644
--- a/sbin/route/route.8
+++ b/sbin/route/route.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: route.8,v 1.44 2006/03/30 12:41:06 hshoexer Exp $
+.\" $OpenBSD: route.8,v 1.45 2006/10/16 08:44:56 mcbride Exp $
.\" $NetBSD: route.8,v 1.6 1995/03/18 15:00:13 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -302,6 +302,20 @@ modifier needs to be specified with the
.Cm add
command to be able to enter multiple gateways for the same destination address
(multipath).
+When multiple routes exist for a destination, one route is selected based
+on the source address of the packet.
+The
+.Xr sysctl 8
+variables
+.Va net.inet.ip.multipath
+and
+.Va net.inet6.ip6.multipath
+are used to control multipath routing.
+If set to 1,
+multiple routes are used equally;
+if set to 0,
+the first route selected will be used for subsequent packets to that
+destination regardless of source.
.Pp
Routes have associated flags which influence operation of the protocols
when sending to destinations matched by the routes.