# # 電話帳サーバーで内線VoIPネットワークの電話番号を一括管理 : YSL-V810 Web GUI設定 + ルーター コマンド設定 # # # センター ルーター # # # ゲートウェイの設定 # ip route (172.16.0.0/24) gateway pp 1 ip route 192.168.101.0/24 gateway tunnel 1 ip route 192.168.102.0/24 gateway tunnel 2 # # LANインターフェースの設定 (LAN1ポートを使用) # ip lan1 address 192.168.100.1/24 # # WANインターフェースの設定 (LAN2ポートを使用) # pp select 1 pp always-on on pppoe use lan2 pppoe auto disconnect off pp auth accept pap chap pp auth myname (フレッツ・VPNワイドに接続するID) (フレッツ・VPNワイドに接続するパスワード) ppp lcp mru on 1454 ip pp address (172.16.0.1/32) ip pp secure filter in 2001 2002 3000 ip pp secure filter out 1001 1002 3000 pp enable 1 # # 拠点1に対する IPIPトンネルの設定 # tunnel select 1 tunnel encapsulation ipip tunnel endpoint address (172.16.0.1) (172.16.0.2) ip tunnel tcp mss limit auto tunnel enable 1 # # 拠点2に対する IPIPトンネルの設定 # tunnel select 2 tunnel encapsulation ipip tunnel endpoint address (172.16.0.1) (172.16.0.3) ip tunnel tcp mss limit auto tunnel enable 2 # # フィルターの設定 # ip filter 1001 pass (172.16.0.1) (172.16.0.2) * * * ip filter 1002 pass (172.16.0.1) (172.16.0.3) * * * ip filter 2001 pass (172.16.0.2) (172.16.0.1) * * * ip filter 2002 pass (172.16.0.3) (172.16.0.1) * * * ip filter 3000 reject * * * * * # # DHCPの設定 # dhcp service server dhcp server rfc2131 compliant except remain-silent dhcp scope 1 192.168.100.10-192.168.100.191/24