# # IPv6ネットワークを介したIPv4通信 # # # 拠点2 ルーター(2) # # # ゲートウェイの設定 # ip route 192.168.1.0/24 gateway tunnel 1 ip route 192.168.3.0/24 gateway tunnel 2 ipv6 route default gateway dhcp lan2 # # LANインターフェースの設定 # ip lan1 address 192.168.2.1/24 # # WANインターフェースの設定 # ipv6 lan2 address dhcp ipv6 lan2 secure filter in 1010 1011 1012 1013 2000 ipv6 lan2 dhcp service client ngn type lan2 ntt # # 拠点1に対するVPN(IPIP)の設定 # tunnel select 1 tunnel encapsulation ipip tunnel endpoint address (拠点1のグローバルIPv6アドレス) ip tunnel tcp mss limit auto tunnel enable 1 # # 拠点3に対するVPN(IPIP)の設定 # tunnel select 2 tunnel encapsulation ipip tunnel endpoint address (拠点3のグローバルIPv6アドレス) ip tunnel tcp mss limit auto tunnel enable 2 # # フィルターの設定 # ipv6 filter 1010 pass * * icmp6 * * ipv6 filter 1011 pass * * udp * 546 ipv6 filter 1012 pass (拠点1のグローバルIPv6アドレス) * 4 * * ipv6 filter 1013 pass (拠点3のグローバルIPv6アドレス) * 4 * * ipv6 filter 2000 reject * * * * * # # DHCPの設定 # dhcp service server dhcp server rfc2131 compliant except remain-silent dhcp scope 1 192.168.2.2-192.168.2.191/24