From: Justin Iurman Date: Fri, 20 Mar 2026 14:08:47 +0000 (+0100) Subject: man8: update seg6 encap documentation X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7d6709dc732bb9a7ada2a86314f3286ccc0460ba;p=thirdparty%2Fiproute2.git man8: update seg6 encap documentation Include "tunsrc" in the man page. Signed-off-by: Justin Iurman Signed-off-by: David Ahern --- diff --git a/man/man8/ip-route.8.in b/man/man8/ip-route.8.in index aafa6d98..9f29fd43 100644 --- a/man/man8/ip-route.8.in +++ b/man/man8/ip-route.8.in @@ -240,7 +240,9 @@ throw " | " unreachable " | " prohibit " | " blackhole " | " nat " ]" .IR ENCAP_SEG6 " := " .B seg6 .BR mode " [ " -.BR encap " | " encap.red " | " inline " | " l2encap " | " l2encap.red " ] " +.BR encap " | " encap.red " | " inline " | " l2encap " | " l2encap.red " ] [" +.B tunsrc +.IR ADDRESS " ]" .B segs .IR SEGMENTS " [ " .B hmac @@ -893,6 +895,15 @@ applying the reduced segment list. When there is only one segment and the HMAC is not present, the SRH is omitted. .sp +.B tunsrc +.I ADDRESS +- IPv6 address of the tunnel source (outer header), not used with inline mode. +It is optional: if not provided, the tunnel source address is chosen based on +the per-netns configuration ("ip sr tunsrc set ADDRESS") or, if not configured, +it is dynamically resolved. If provided, it takes priority over the per-netns +configuration and dynamic resolution. +.sp + .I SEGMENTS - List of comma-separated IPv6 addresses .sp