#
#WAN回線の選択
#
wan type=manual
#
#LAN側IPアドレスの設定
#
interface ip lan addr=192.168.0.252,255.255.255.0
interface ip wan addr=192.168.100.2,255.255.255.0
#
#ルート情報の設定
#
ipripstatic add dst=0.0.0.0,0.0.0.0 nexthop=192.168.100.1 metric=2
ipripstatic add dst=0.0.0.0,0.0.0.0 nexthop=192.168.0.253 metric=3
#
#グループ化を行なう。グループIPアドレスの設定。
#(preferenceは数値が小さいほど優先度が高いことを示す)
#
rgrouping on preference=1 gipaddr=192.168.0.254
#
#Layer3監視の設定
#(Layer3監視を行う,監視先のアドレス,送信間隔,異常とみなすまでの時間,
# バックアップの対象とするネットワークなど)
#
pathchk on
pathchktable add pathchkipaddr=192.168.1.252 pathchkinterval=30
restchkinterval=30 pathchktimer=60 restchktimer=90
pathfiltering add pathchkipaddr=192.168.1.252 addr=192.168.1.0,255.255.255.0
#
#ユニキャストRIPを送信する
#
unicastrip on
unicastrip add seq=1 addr=192.168.1.252 if=hsd srcaddr=lanaddr
#
#RIP送信制御
#
rtcontrol ip lan send=rip1 recv=rip1rip2
rtcontrol ip wan send=rip1 recv=off
#
#設定を保存
#
exit
Configuration modified. save ok?(y/n):y
please reset#reset
Do you want to continue(y/n)?:y
|