## CentreCOM AR550S 設定例集 2.9 ## 168 PPPoEによる端末型インターネット接続 WAN回線バックアップ構成 ## ルーターのコンフィグ CREATE PPP=0 OVER=eth0-ANY SET PPP=0 OVER=eth0-ANY BAP=OFF IPREQUEST=ON USER=user@ispA PASSWORD=isppasswdA LQR=OFF ECHO=ON CREATE PPP=1 OVER=eth1-ANY SET PPP=1 OVER=eth1-ANY BAP=OFF IPREQUEST=ON USER=user@ispB PASSWORD=isppasswdB LQR=OFF ECHO=ON DISABLE PPP=1 ENABLE IP ENABLE IP REMOTEASSIGN ADD IP INT=vlan1 IP=192.168.10.1 MASK=255.255.255.0 ADD IP INT=ppp0 IP=0.0.0.0 ADD IP INT=ppp1 IP=0.0.0.0 ADD IP ROUTE=0.0.0.0 INT=ppp0 NEXTHOP=0.0.0.0 ENABLE IP DNSRELAY SET IP DNSRELAY INTERFACE=ppp0 ENABLE FIREWALL CREATE FIREWALL POLICY=net ENABLE FIREWALL POLICY=net ICMP_F=PING,UNREACH DISABLE FIREWALL POLICY=net IDENTPROXY ADD FIREWALL POLICY=net INT=vlan1 TYPE=PRIVATE ADD FIREWALL POLICY=net INT=ppp0 TYPE=PUBLIC ADD FIREWALL POLICY=net INT=ppp1 TYPE=PUBLIC ADD FIREWALL POLICY=net NAT=ENHANCED INT=vlan1 GBLINT=ppp0 ADD FIREWALL POLICY=net NAT=ENHANCED INT=vlan1 GBLINT=ppp1 ENABLE DHCP CREATE DHCP POLICY=BASE LEASETIME=7200 ADD DHCP POLICY=BASE SUBNET=255.255.255.0 ROUTER=192.168.10.1 DNSSERVER=192.168.10.1 CREATE DHCP RANGE=LOCAL POLICY=BASE IP=192.168.10.100 NUMBER=32 PROBE=ARP ENABLE TRIGGER CREATE TRIGGER=1 INTERFACE=ppp0 CP=IPCP EVENT=DOWN SCRIPT=ppp0down.scp CREATE TRIGGER=2 INTERFACE=ppp0 CP=IPCP EVENT=UP SCRIPT=ppp0up.scp