# ISDN CC configuration
add isdn call=test num=10 prec=out
set isdn call=test searchc=on
# L2TP configuration
enable l2tp
enable l2tp server=both
add l2tp call="aaa" rem="bbb" ip=192.168.1.1
ty=virtual prec=out
# PPP configuration
create ppp=0 idle=999999999 over=eth0-any
set ppp=0 bap=off username="test2@allied.com" password="testtest"
set ppp=0 over=eth0-any lqr=off echo=10
create ppp=1 idle=999999999 over=tnl-aaa
set ppp=1 over=tnl-aaa lqr=off bap=off
create ppp=2 idle=60 over=isdn-test
set ppp=2 over=isdn-test lqr=off bap=off
# IP configuration
enable ip
add ip int=vlan1 ip=192.168.2.1
add ip int=ppp0 ip=0.0.0.0
add ip int=ppp1 ip=0.0.0.0
add ip int=ppp2 ip=0.0.0.0
add ip rou=192.168.1.1 mask=255.255.255.255 int=ppp0 next=0.0.0.0
add ip rou=192.168.1.0 mask=255.255.255.0 int=ppp0 next=0.0.0.0
add ip rou=0.0.0.0 mask=0.0.0.0 int=ppp1 next=0.0.0.0
# PING configuration
add ping poll=1 ip=192.168.1.1 nor=10 upc=5 sam=10
enable ping poll=1