From: James Chapman <jchapman@katalix.com>
To: netdev@vger.kernel.org
Cc: tlund@nxs.se, James Chapman <jchapman@katalix.com>
Subject: [PATCH 2/2] iproute2: update ip-l2tp man page
Date: Tue, 26 Mar 2013 16:49:23 +0000 [thread overview]
Message-ID: <1364316563-23303-2-git-send-email-jchapman@katalix.com> (raw)
In-Reply-To: <1364316563-23303-1-git-send-email-jchapman@katalix.com>
Add documentation about the new l2spec_type parameter for "ip l2tp add
session".
Signed-off-by: James Chapman <jchapman@katalix.com>
---
:100644 100644 2df7ce2... 463878f... M man/man8/ip-l2tp.8
man/man8/ip-l2tp.8 | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/man/man8/ip-l2tp.8 b/man/man8/ip-l2tp.8
index 2df7ce2..463878f 100644
--- a/man/man8/ip-l2tp.8
+++ b/man/man8/ip-l2tp.8
@@ -52,6 +52,8 @@ ip-l2tp - L2TPv3 static unmanaged tunnel configuration
.IR HEXSTR
.RB " ]"
.br
+.RB "[ " l2spec_type " { " none " | " default " } ]"
+.br
.RB "[ " offset
.IR OFFSET
.RB " ] [ " peer_offset
@@ -239,6 +241,12 @@ e.g. 014d3636deadbeef. The value must match the cookie value set at
the peer. It tells the local system what cookie value to expect to
find in received L2TP packets. Default is to use no cookie.
.TP
+.BI l2spec_type " L2SPECTYPE"
+set the layer2specific header type of the session.
+.br
+Valid values are:
+.BR none ", " udp "."
+.TP
.BI offset " OFFSET"
sets the byte offset from the L2TP header where user data starts in
transmitted L2TP data packets. This is hardly ever used. If set, the
@@ -368,6 +376,12 @@ tunnels. Hello messages are used by L2TP clients and servers to detect
link failures in order to automate tearing down and reestablishing
dynamic tunnels. If a non-Linux peer supports Hello messages in
unmanaged tunnels, it must be turned off to interoperate with Linux.
+.PP
+Linux defaults to use the Default Layer2SpecificHeader type as defined
+in the L2TPv3 protocol specification, RFC3931. This setting must be
+consistent with that configured at the peer. Some vendor
+implementations (e.g. Cisco) default to use a Layer2SpecificHeader
+type of None.
.SH SEE ALSO
.br
.BR ip (8)
--
1.7.9.5
next prev parent reply other threads:[~2013-03-26 16:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-26 16:49 [PATCH 1/2] iproute2: add l2spec_type param to l2tp add session James Chapman
2013-03-26 16:49 ` James Chapman [this message]
2013-03-27 20:22 ` [PATCH 2/2] iproute2: update ip-l2tp man page 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=1364316563-23303-2-git-send-email-jchapman@katalix.com \
--to=jchapman@katalix.com \
--cc=netdev@vger.kernel.org \
--cc=tlund@nxs.se \
/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