mirror of
https://git.FreeBSD.org/src.git
synced 2026-06-02 11:24:32 +00:00
route.8: Describe weight modifier
Describe `-weight` argument in the route manual. Reviewed by: glebius, ziaee Differential Revision: https://reviews.freebsd.org/D56246
This commit is contained in:
+12
-1
@@ -25,7 +25,7 @@
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd November 12, 2024
|
||||
.Dd May 16, 2026
|
||||
.Dt ROUTE 8
|
||||
.Os
|
||||
.Sh NAME
|
||||
@@ -297,6 +297,17 @@ Note that the qualifier works only for
|
||||
.Dv AF_INET6
|
||||
address family.
|
||||
.Pp
|
||||
For
|
||||
.Li ECMP
|
||||
routes, the
|
||||
.Fl weight
|
||||
modifier can be used to influence nexthop selection.
|
||||
For example, a destination with two nexthops defined as
|
||||
.Dq Fl gateway Ar 3fff::1 Fl weight Ar 100
|
||||
and
|
||||
.Dq Fl gateway Ar 3fff::2 Fl weight Ar 200
|
||||
will make the nexthop 3fff::2 twice as likely to be chosen as 3fff::1.
|
||||
.Pp
|
||||
Routes have associated flags which influence operation of the protocols
|
||||
when sending to destinations matched by the routes.
|
||||
These flags may be set (or sometimes cleared)
|
||||
|
||||
Reference in New Issue
Block a user