naccyde / rpms / iproute

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