From: Tom Herbert <therbert@google.com>
To: stephen@networkplumber.org, netdev@vger.kernel.org
Subject: [PATCH iproute2 4/4] iproute: Descriptions of fou and gue options in ip-link man pages
Date: Thu, 29 Jan 2015 08:52:01 -0800 [thread overview]
Message-ID: <1422550321-30901-5-git-send-email-therbert@google.com> (raw)
In-Reply-To: <1422550321-30901-1-git-send-email-therbert@google.com>
Add section for additional arguments to GRE, IPIP, and SIT types
that are related to Foo-over-UDP and Generic UDP Encapsulation.
Also, added an example GUE configuration in the examples section.
Signed-off-by: Tom Herbert <therbert@google.com>
---
man/man8/ip-link.8.in | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 67 insertions(+), 1 deletion(-)
diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in
index a0be895..2634590 100644
--- a/man/man8/ip-link.8.in
+++ b/man/man8/ip-link.8.in
@@ -369,6 +369,63 @@ are entered into the VXLAN device forwarding database.
.in -8
.TP
+GRE, IPIP, SIT Type Support
+For a link of types
+.I GRE/IPIP/SIT
+the following additional arguments are supported:
+
+.BI "ip link add " DEVICE
+.BR type " { gre | ipip | sit } "
+.BI " remote " ADDR " local " ADDR
+.R " [ "
+.BR encap " { fou | gue | none } "
+.R " ] [ "
+.BI "encap-sport { " PORT " | auto } "
+.R " ] [ "
+.BI "encap-dport " PORT
+.R " ] [ "
+.I " [no]encap-csum "
+.R " ] [ "
+.I " [no]encap-remcsum "
+.R " ]"
+
+.in +8
+.sp
+.BI remote " ADDR "
+- specifies the remote address of the tunnel.
+
+.sp
+.BI local " ADDR "
+- specifies the fixed local address for tunneled packets.
+It must be an address on another interface on this host.
+
+.sp
+.BR encap " { fou | gue | none } "
+- specifies type of secondary UDP encapsulation. "fou" indicates
+Foo-Over-UDP, "gue" indicates Generic UDP Encapsulation.
+
+.sp
+.BI "encap-sport { " PORT " | auto } "
+- specifies the source port in UDP encapsulation.
+.IR PORT
+indicates the port by number, "auto"
+indicates that the port number should be chosen automatically
+(the kernel picks a flow based on the flow hash of the
+encapsulated packet).
+
+.sp
+.I [no]encap-csum
+- specifies if UDP checksums are enabled in the secondary
+encapsulation.
+
+.sp
+.I [no]encap-remcsum
+- specifies if Remote Checksum Offload is enabled. This is only
+applicable for Generic UDP Encapsulation.
+
+.in -8
+
+.TP
IP6GRE/IP6GRETAP Type Support
For a link of type
.I IP6GRE/IP6GRETAP
@@ -404,7 +461,7 @@ the following additional arguments are supported:
.sp
.BI local " ADDR "
- specifies the fixed local IPv6 address for tunneled packets.
-It must be and address on another interface on this host.
+It must be an address on another interface on this host.
.sp
.BI [i|o]seq
@@ -781,6 +838,15 @@ ip link help gre
.RS 4
Display help for the gre link type.
.RE
+.PP
+ip link add name tun1 type ipip remote 192.168.1.1
+local 192.168.1.2 ttl 225 encap gue encap-sport auto
+encap-dport 5555 encap-csum encap-remcsum
+.RS 4
+Creates an IPIP that is encapsulated with Generic UDP Encapsulation,
+and the outer UDP checksum and remote checksum offload are enabled.
+
+.RE
.SH SEE ALSO
.br
--
2.2.0.rc0.207.ga3a616c
next prev parent reply other threads:[~2015-01-29 16:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-29 16:51 [PATCH iproute2 0/4] iproute: Support for remote checksum offload Tom Herbert
2015-01-29 16:51 ` [PATCH iproute2 1/4] ip link: Add support for remote checksum offload to IP tunnels Tom Herbert
2015-02-05 18:51 ` Stephen Hemminger
2015-01-29 16:51 ` [PATCH iproute2 2/4] vxlan: Add support for remote checksum offload Tom Herbert
2015-02-05 18:54 ` Stephen Hemminger
2015-01-29 16:52 ` [PATCH iproute2 3/4] iproute: Description of new options for VXLAN in ip-link man pages Tom Herbert
2015-01-29 17:20 ` Nikolay Aleksandrov
2015-02-05 18:55 ` Stephen Hemminger
2015-01-29 16:52 ` Tom Herbert [this message]
2015-02-05 18:56 ` [PATCH iproute2 4/4] iproute: Descriptions of fou and gue options " Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1422550321-30901-5-git-send-email-therbert@google.com \
--to=therbert@google.com \
--cc=netdev@vger.kernel.org \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).