naccyde / rpms / iproute

Forked from rpms/iproute 8 months ago
Clone

Blame SOURCES/0038-man-ip-route.8-Document-nexthop-limit.patch

7e752c
From b99d3fd8b5a7dd140a2b4c7a7e70aea7478634f7 Mon Sep 17 00:00:00 2001
7e752c
From: Phil Sutter <psutter@redhat.com>
7e752c
Date: Mon, 26 Nov 2018 19:11:55 +0100
7e752c
Subject: [PATCH] man: ip-route.8: Document nexthop limit
7e752c
7e752c
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1625358
7e752c
Upstream Status: iproute2.git commit 6cd959bb125c5
7e752c
7e752c
commit 6cd959bb125c50a04ab6671645fa38c5b07426f4
7e752c
Author: Phil Sutter <phil@nwl.cc>
7e752c
Date:   Tue Nov 13 16:55:13 2018 +0100
7e752c
7e752c
    man: ip-route.8: Document nexthop limit
7e752c
7e752c
    Add a note to 'nexthop' description stating the maximum number of
7e752c
    nexthops per command and pointing at 'append' command as a workaround.
7e752c
7e752c
    Signed-off-by: Phil Sutter <phil@nwl.cc>
7e752c
    Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
7e752c
---
7e752c
 man/man8/ip-route.8.in | 9 +++++++++
7e752c
 1 file changed, 9 insertions(+)
7e752c
7e752c
diff --git a/man/man8/ip-route.8.in b/man/man8/ip-route.8.in
7e752c
index b21a847..e464353 100644
7e752c
--- a/man/man8/ip-route.8.in
7e752c
+++ b/man/man8/ip-route.8.in
7e752c
@@ -589,6 +589,15 @@ argument lists:
7e752c
 route reflecting its relative bandwidth or quality.
7e752c
 .in -8
7e752c
 
7e752c
+The internal buffer used in iproute2 limits the maximum number of nexthops that
7e752c
+may be specified in one go. If only
7e752c
+.I ADDRESS
7e752c
+is given, the current buffer size allows for 144 IPv6 nexthops and 253 IPv4
7e752c
+ones. For IPv4, this effectively limits the number of nexthops possible per
7e752c
+route. With IPv6, further nexthops may be appended to the same route via
7e752c
+.B "ip route append"
7e752c
+command.
7e752c
+
7e752c
 .TP
7e752c
 .BI scope " SCOPE_VAL"
7e752c
 the scope of the destinations covered by the route prefix.
7e752c
-- 
7e752c
1.8.3.1
7e752c