Modify

Opened 4 years ago

Last modified 4 years ago

#17285 new defect

l2tpv3tun interface does not get configured with barrier-breaker netifd

Reported by: terom@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: l2tp Cc:

Description

Using the following uci network configuration:

config interface 'public'

option type 'bridge'
option ifname 'eth1.10'
option proto 'l2tp'
option tunnel_id 3
option localaddr 10.255.3.4
option peeraddr 10.255.3.3
option session_id 3
option mtu 1500

I would expect to get a br-public with an l2tp-public tunnel. On trunk 41836, only the br-public bridges comes up, with no l2tp-public interface.

I suspect this is due to the l2tpv3tun package shipping a obsolete /lib/network/l2tp.sh that no longer functions with netifd?

I had a go at writing a custom netifd proto for l2tp, see attached. I have no idea how netifd works though, so getting the link-mtu/bridge-iface stuff working is a hack, and I don't know how to get it to support the style of proto-static style option ipaddr ... interface configuration options as supported by the older l2tp proto.

Attachments (1)

l2tp.sh (1.8 KB) - added by terom@… 4 years ago.
experimental netifd l2tp proto

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by terom@…

experimental netifd l2tp proto

comment:1 Changed 4 years ago by blogic

i think you need option proto 'l2tpv3'

comment:2 Changed 4 years ago by anonymous

I can't find any reference to l2tpv3 anywhere. Nor does changing the above to option proto 'l2tpv3' have any effect - I still only get a br-public with eth0.10 (and wlan0) attached and no IP configuration or l2tp interface bridged.

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.