Message ID | AANLkTimhKtb+p6-4bG7QXBmUZ5YX=m5u1ZkxEb94e1K1@mail.gmail.com |
---|---|
State | Rejected, archived |
Delegated to: | David Miller |
Headers | show |
On Wed, 15 Dec 2010 20:40:38 +0200 David Shwatrz <dshwatrz@gmail.com> wrote: > Hi, > > This patch updates Documentation/networking/l2tp.txt. > Stephen Hemminger (maintainer of iproute2) rejected patches for > iproute2 which enable > "ip l2tp" commands. There is a utility called l2tpv3tun which > has commands to doing the same (managing static L2TPv3 tunnel). > see: > http://www.spinics.net/lists/netdev/msg142037.html > > > Regards, > David Shwartz > > Signed-off-by: David Shwartz <dshwatrz@gmail.com> I wish you would stop whining about it and just reimplement without using libnl as requested.
From: Stephen Hemminger <shemminger@vyatta.com> Date: Wed, 15 Dec 2010 10:52:07 -0800 > I wish you would stop whining about it and just reimplement > without using libnl as requested. Seriously. David, I'm not applying a patch where you complain about a problem which you have self-inflicted upon yourself. Stephen's request was beyond reasonable, and you're just being unnecessarily difficult. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi, My intention was just to fix the documentation so it will reflect the current situation, where you cannot use "ip l2tp", but there is an alternative (though temporary probably). It could take time till this will be available in iproute2. That's all. DS On Wed, Dec 15, 2010 at 9:14 PM, David Miller <davem@davemloft.net> wrote: > From: Stephen Hemminger <shemminger@vyatta.com> > Date: Wed, 15 Dec 2010 10:52:07 -0800 > >> I wish you would stop whining about it and just reimplement >> without using libnl as requested. > > Seriously. > > David, I'm not applying a patch where you complain about > a problem which you have self-inflicted upon yourself. > > Stephen's request was beyond reasonable, and you're just > being unnecessarily difficult. > -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Documentation/networking/l2tp.txt b/Documentation/networking/l2tp.txt index e7bf397..eb6510e 100644 --- a/Documentation/networking/l2tp.txt +++ b/Documentation/networking/l2tp.txt @@ -165,6 +165,10 @@ case -- the tunnel socket is created by the kernel and configured using parameters sent in the L2TP_CMD_TUNNEL_CREATE netlink request. The "ip" utility of iproute2 has commands for managing static L2TPv3 tunnels; do "ip l2tp help" for more information. +The "l2tpv3tun" utility has commands for managing static +L2TPv3 tunnels; do "l2tpv3tun help" for more information. +l2tpv3tun can be download from: hftp://ftp.openl2tp.org/releases + Debugging ========= @@ -216,9 +220,9 @@ tunnel endpoints:- # modprobe l2tp_eth # modprobe l2tp_netlink -# ip l2tp add tunnel tunnel_id 1 peer_tunnel_id 1 udp_sport 5000 \ +# l2tpv3tun 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 +# l2tpv3tun add session tunnel_id 1 session_id 1 peer_session_id 1 # ifconfig -a # ip addr add 10.5.1.2/32 peer 10.5.1.1/32 dev l2tpeth0 # ifconfig l2tpeth0 up
Hi, This patch updates Documentation/networking/l2tp.txt. Stephen Hemminger (maintainer of iproute2) rejected patches for iproute2 which enable "ip l2tp" commands. There is a utility called l2tpv3tun which has commands to doing the same (managing static L2TPv3 tunnel). see: http://www.spinics.net/lists/netdev/msg142037.html Regards, David Shwartz Signed-off-by: David Shwartz <dshwatrz@gmail.com>