Tunnel L2TPv3
U
SER
G
UIDE
258
set l2tpv3 pseth0 on
set vlan add vid 40 interface eth1
set bridge addbr br0
set bridge addif br0 eth1.40
set bridge addif br0 pseth0.40
set bridge br0 on
Router B:
set l2tpv3 pseth0 tunnel-source 7.10.100.100
set l2tpv3 pseth0 tunnel-destination 10.10.7.11
set l2tpv3 pseth0 tunnel-address 0.0.0./0
set l2tpv3 pseth0 description Tunnel-L2TPv3-Dynamic-VLAN
set l2tpv3 pseth0 force-vlan-id 30
set l2tpv3 pseth0 pseudowire-id 300
set l2tpv3 pseth0 dynamic-mode
set l2tpv3 pseth0 reponder-only
set l2tpv3 pseth0 on
set vlan add vid 30 interface eth1
set bridge addbr br0
set bridge addif br0 eth1.30
set bridge addif br0 pseth0.30
set bridge br0 on
L2TP
V
3
ON
IPS
EC ON
LTE
CONFIGURATION
Like the GRE tunnels, even the L2TPv3 tunnel can be configured into another IPSec tunnel in order
to ensure the confidentiality and the safety of the data. Below is an example of general use, which
creates an L2TPv3 tunnel on a LTE mobile connection to a Cisco router:
set gprs apn ibox.tim.it
set gprs login gprslogin password gprspaswd
set gprs rx-idle 1800
set gprs lte
set gprs lte-band auto
set gprs selrat auto
set gprs on
set trigger gprs up set ipsec on
set trigger gprs up set l2tpv3 pseth0 on
set trigger gprs down set ipsec off
set trigger gprs down set l2tpv3 pseth0 off
set ipsec phase1 PHASE1 remote-end 85.34.166.20