Page MenuHomeVyOS Platform

l2tp add ppp-options IPv6 interface identifier
Closed, ResolvedPublicFEATURE REQUEST

Description

Add IPv6 interface identifier ppp-options
Such options exist for PPPoE-server but not for L2TP

vyos@r1# set service pppoe-server ppp-options 
Possible completions:
...
   ipv6-accept-peer-intf-id
                        Accept peer interface identifier
   ipv6-intf-id         Fixed or random interface identifier for IPv6
   ipv6-peer-intf-id    Peer interface identifier for IPv6

Lt2p expected config options:

ipv6-intf-id=xxx
ipv6-peer-intf-id=xxx
ipv6-accept-peer-intf-id=xxx

Details

Difficulty level
Normal (likely a few hours)
Version
1.4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Event Timeline

Viacheslav changed the task status from Open to In progress.Dec 24 2022, 8:12 AM
Viacheslav claimed this task.
Viacheslav created this task.
Viacheslav changed Difficulty level from Unknown (require assessment) to Normal (likely a few hours).
Viacheslav changed Version from - to 1.4.
Viacheslav changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.

PR https://github.com/vyos/vyos-1x/pull/1725

set vpn l2tp remote-access authentication local-users username mia password 'secretpass'
set vpn l2tp remote-access authentication mode 'local'
set vpn l2tp remote-access client-ip-pool subnet '100.64.27.0/24'
set vpn l2tp remote-access client-ipv6-pool prefix 2001:db8:a::/48
set vpn l2tp remote-access ppp-options ipv6-accept-peer-intf-id
set vpn l2tp remote-access ppp-options ipv6-intf-id 'random'
set vpn l2tp remote-access ppp-options ipv6-peer-intf-id 'calling-sid'

config

vyos@r1# cat /run/accel-pppd/l2tp.conf | grep ^ipv6-
ipv6-intf-id=random
ipv6-peer-intf-id=calling-sid
ipv6-accept-peer-intf-id=1
[edit]
vyos@r1#
Viacheslav moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.