Static L2TPv3 tunnels "ip l2tp add" command not working

Hi all,

I'm trying to set and setup and use unmanaged L2TPv3 tunnels but having some issues with it.
My target is Meraki AP MR16 on Linux 4.14.241 #0 Thu Jul 29 19:50:28 2021 mips - OpenWrt 19.07.8 r11364-ef56c85848.
I have updated and installed "opkg install kmod-l2tp-eth" and followed and [2] :

ip l2tp add tunnel tunnel_id 1 peer_tunnel_id 1 udp_sport 5000 udp_dport 5000 encap udp local 10.11.12.10 remote 10.11.12.11

But it's failing on the first line with:

BusyBox v1.30.1 () multi-call binary.

Usage: ip [OPTIONS] address|route|link|neigh|rule [ARGS]

OPTIONS := -f[amily] inet|inet6|link | -o[neline]

ip addr add|del IFADDR dev IFACE | show|flush [dev IFACE] [to PREFIX]
ip route list|flush|add|del|change|append|replace|test ROUTE
ip link set IFACE [up|down] [arp on|off] [multicast on|off]
	[promisc on|off] [mtu NUM] [name NAME] [qlen NUM] [address MAC]
	[master IFACE | nomaster]
ip neigh show|flush [to PREFIX] [dev DEV] [nud STATE]
ip rule [list] | add|del SELECTOR ACTION

I did checked if the kernel modules are loaded and they are, also did try rebooting after install, but still the same, logs does not provide anything useful to trobuleshoot.

l2tp_core              13392  4 l2tp_ip6,l2tp_ip,l2tp_eth,l2tp_netlink
l2tp_eth                2848  0 
l2tp_ip                 5584  1 l2tp_ip6
l2tp_ip6                7376  0 
l2tp_netlink            8432  1 l2tp_eth

I did look around but could not find anythone reporting issues with exception of sagar_jain, it seems like BusyBox does not have an idea how to handle "ip l2tp ..." notation or my targed is not fully supported by l2tpv3? Do I need any additional packages installed, it's a standard install?

If anyone have a slightest idea what it could be, would be much appreciated :wink:

Kind regards,
Martin

You need to install ip-full to replace the busybox applet.

3 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.