## CentreCOM AR550S 設定例集 2.9 ## 141 Pingポーリングによるメイン回線からISDNバックアップへの自動切り替え(ISP接続+フレッツグループアクセス〜L2TP編〜) ## ルーターBのコンフィグ ADD ISDN CALL=BACKUP NUMBER=0312341111 PRECEDENCE=OUT SET ISDN CALL=BACKUP SEARCHCLI=ON ENABLE L2TP ENABLE L2TP SERVER=BOTH ADD L2TP CALL=AAA REMOTECALL=BBB IP=192.168.10.1 TYPE=VIRTUAL PRECEDENCE=OUT CREATE PPP=0 IDLE=999999999 OVER=eth0-ANY SET PPP=0 BAP=OFF USERNAME=user2@fga PASSWORD=fgapasswd SET PPP=0 OVER=eth0-ANY LQR=OFF ECHO=ON CREATE PPP=1 OVER=TNL-AAA SET PPP=1 OVER=TNL-AAA IDLE=999999999 LQR=OFF BAP=OFF ECHO=ON CREATE PPP=2 IDLE=60 OVER=ISDN-BACKUP SET PPP=2 OVER=ISDN-BACKUP LQR=OFF BAP=OFF ENABLE IP ENABLE IP REMOTEASSIGN ADD IP INTERFACE=vlan1 IPADDRESS=192.168.20.1 MASK=255.255.255.0 ADD IP INTERFACE=ppp0 IPADDRESS=0.0.0.0 ADD IP INTERFACE=ppp1 IPADDRESS=0.0.0.0 ADD IP INTERFACE=ppp2 IPADDRESS=0.0.0.0 ADD IP ROUTE=192.168.10.1 MASK=255.255.255.255 INTERFACE=ppp0 NEXT=0.0.0.0 ADD IP ROUTE=192.168.10.0 MASK=255.255.255.0 INTERFACE=ppp1 NEXT=0.0.0.0 ADD IP ROUTE=0.0.0.0 MASK=0.0.0.0 INTERFACE=ppp1 NEXT=0.0.0.0 ADD PING POLL=1 IPADDRESS=192.168.10.1 NORMALINTERVAL=10 UPCOUNT=5 SAMPLESIZE=10 ENABLE PING POLL=1 ENABLE TRIGGER CREATE TRIGGER=1 MODULE=PING EVENT=DEVICEDOWN POLL=1 SCRIPT=pingd.scp CREATE TRIGGER=2 MODULE=PING EVENT=DEVICEUP POLL=1 SCRIPT=pingu.scp