From e471707ccff74c1bf500a43b5dfc47ffcf944644 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Sat, 24 Dec 2022 11:30:05 +0000 Subject: T4893: Add ppp-options ipv6-interface-id for L2TP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add ppp-options IPv6 interface id for vpn L2TP - fixed or random interface identifier for IPv6 - peer interface identifier for IPv6 - whether to accept peer’s interface identifier 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' --- .../include/accel-ppp/ppp-options-ipv6-interface-id.xml.i | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'interface-definitions/include/accel-ppp') diff --git a/interface-definitions/include/accel-ppp/ppp-options-ipv6-interface-id.xml.i b/interface-definitions/include/accel-ppp/ppp-options-ipv6-interface-id.xml.i index 9f5710fe4..265f7f97c 100644 --- a/interface-definitions/include/accel-ppp/ppp-options-ipv6-interface-id.xml.i +++ b/interface-definitions/include/accel-ppp/ppp-options-ipv6-interface-id.xml.i @@ -13,6 +13,9 @@ x:x:x:x specify interface identifier for IPv6 + + (random|((\d+){1,4}:){3}(\d+){1,4}) + @@ -37,12 +40,15 @@ calling-sid Calculate interface identifier from calling-station-id + + (random|calling-sid|ipv4|((\d+){1,4}:){3}(\d+){1,4}) + Accept peer interface identifier - + -- cgit v1.2.3