naccyde / rpms / iproute

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