# # transixのIPv4接続(DS-Lite)でインターネット接続 # # # ルーターの設定:ひかり電話契約ありの場合 # # # ゲートウェイの設定 # ip route default gateway tunnel 1 ipv6 route default gateway dhcp lan2 # # LANインターフェースの設定 (LAN1ポートを使用) # ip lan1 address 192.168.100.1/24 # # WANインターフェースの設定 (LAN2ポートを使用) # ipv6 prefix 1 dhcp-prefix@lan2::/64 ipv6 lan1 address dhcp-prefix@lan2::1/64 ipv6 lan1 rtadv send 1 o_flag=on ipv6 lan1 dhcp service server ipv6 lan2 dhcp service client ipv6 lan2 address dhcp ipv6 lan2 secure filter in 1010 1011 1012 ipv6 lan2 secure filter out 3000 dynamic 100 101 102 103 104 105 118 119 ip lan2 address dhcp ngn type lan2 ntt # # トンネルの設定 # tunnel select 1 tunnel encapsulation ipip tunnel endpoint name (AFTRのFQDN) ip tunnel mtu 1460 tunnel enable 1 # # フィルター設定 # ipv6 filter 1010 pass * * icmp6 * * ipv6 filter 1011 pass * * tcp * ident ipv6 filter 1012 pass * * udp * 546 ipv6 filter 3000 pass * * * * * ipv6 filter dynamic 100 * * ftp ipv6 filter dynamic 101 * * domain ipv6 filter dynamic 102 * * www ipv6 filter dynamic 103 * * smtp ipv6 filter dynamic 104 * * pop3 ipv6 filter dynamic 105 * * submission ipv6 filter dynamic 118 * * tcp ipv6 filter dynamic 119 * * udp # # DHCPの設定 # dhcp service server dhcp server rfc2131 compliant except remain-silent dhcp scope 1 192.168.100.2-192.168.100.191/24 # # DNSの設定 # dns host lan1 dns service fallback on dns server dhcp lan2 # # 電話の設定 # sip use on