summaryrefslogtreecommitdiffstats
path: root/Documentation/networking/l2tp.txt
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2015-09-23 21:33:36 -0700
committerDavid S. Miller <davem@davemloft.net>2015-09-25 12:27:23 -0700
commit008aa6a4faac36fe623ff5a1ba753dc9b0d8102e (patch)
treeb81641e8c41818e90d56da947a66678863edbc2c /Documentation/networking/l2tp.txt
parent163c2e252fa658ac26edda78d2a9e3939f7d10e5 (diff)
downloadlinux-008aa6a4faac36fe623ff5a1ba753dc9b0d8102e.tar.bz2
l2tp: remove references to modprobe in documentation
No longer need explicit modprobe's and update to use ip instead of deprecated ifconfig command. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/l2tp.txt')
-rw-r--r--Documentation/networking/l2tp.txt7
1 files changed, 2 insertions, 5 deletions
diff --git a/Documentation/networking/l2tp.txt b/Documentation/networking/l2tp.txt
index c74434de2fa5..4650a00ed012 100644
--- a/Documentation/networking/l2tp.txt
+++ b/Documentation/networking/l2tp.txt
@@ -213,15 +213,12 @@ To create an L2TPv3 ethernet pseudowire between local host 192.168.1.1
and peer 192.168.1.2, using IP addresses 10.5.1.1 and 10.5.1.2 for the
tunnel endpoints:-
-# modprobe l2tp_eth
-# modprobe l2tp_netlink
-
# ip l2tp add tunnel tunnel_id 1 peer_tunnel_id 1 udp_sport 5000 \
udp_dport 5000 encap udp local 192.168.1.1 remote 192.168.1.2
# ip l2tp add session tunnel_id 1 session_id 1 peer_session_id 1
-# ifconfig -a
+# ip -s -d show dev l2tpeth0
# ip addr add 10.5.1.2/32 peer 10.5.1.1/32 dev l2tpeth0
-# ifconfig l2tpeth0 up
+# ip li set dev l2tpeth0 up
Choose IP addresses to be the address of a local IP interface and that
of the remote system. The IP addresses of the l2tpeth0 interface can be