From f1c43478fde03fd69103741fae9ffc06a765f112 Mon Sep 17 00:00:00 2001 From: Ryan Thomas McBride Date: Mon, 16 Oct 2006 08:44:57 +0000 Subject: More details on multipath. ok henning + style suggestions from jmc --- sbin/route/route.8 | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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. -- cgit v1.2.3