[index] AT-AR4000S-Cloud リファレンスマニュアル 5.5.4
WAN側物理インターフェース | eth1 |
WAN側(eth1)IPv6アドレス | リンクローカルアドレス |
LAN側(eth0)IPv6アドレス | ルーター通知(RA)で取得したIPv6プレフィックスにもとづいて設定 |
NoteNDプロキシー機能は本構成に特化した機能です。本構成以外での動作はサポート対象外です。
eth0 | 192.168.10.1/24 | 管理用IPアドレス |
eth1 | 未設定 |
Note構成が異なる場合はインターフェース名などを適宜読み替えてください。
interface eth1 ipv6 enable no ipv6 nd accept-ra-pinfo ipv6 nd proxy interface eth0
interface eth0 ip address 192.168.10.1/24 ipv6 address autoconfig eth1 no ipv6 nd suppress-ra ipv6 nd dns-server eth0
ipv6 forwarding
ip dhcp pool pool10 network 192.168.10.0 255.255.255.0 range 192.168.10.100 192.168.10.131 dns-server 192.168.10.1 default-router 192.168.10.1 lease 0 2 0
service dhcp-server
interface tunnel0 tunnel source eth0 tunnel destination dgw.xpass.jp tunnel mode ds-lite ip address 192.0.0.2/29 ip tcp adjust-mss pmtu
ip route 0.0.0.0/0 tunnel0
zone all network ipv4 ip subnet 0.0.0.0/0 network ipv6 ipv6 subnet ::/0
zone ipv4-internal network lan ip subnet 192.168.10.0/24
zone ipv4-internet network wan ip subnet 0.0.0.0/0 interface tunnel0 host tunnel0 ip address 192.0.0.2
zone ipv6-internal network lan ipv6 subnet ::/0 interface eth0 host eth0 ipv6 address dynamic interface eth0
zone ipv6-internet network wan ipv6 subnet ::/0 interface eth1 host eth1 ipv6 address dynamic interface eth1
application dhcpv4 protocol udp dport 67 to 68
application dhcpv6 protocol udp dport 546 to 547
application icmpv6 protocol ipv6-icmp
firewall rule 10 permit dhcpv4 from all.ipv4 to all.ipv4 rule 20 permit any from ipv4-internal to ipv4-internal rule 30 permit any from ipv4-internal to ipv4-internet rule 40 permit any from ipv4-internet.wan.tunnel0 to ipv4-internet rule 50 permit dhcpv6 from all.ipv6 to all.ipv6 rule 60 permit icmpv6 from all.ipv6 to all.ipv6 rule 70 permit any from ipv6-internal to ipv6-internal rule 80 permit any from ipv6-internal to ipv6-internal.lan.eth0 rule 90 permit any from ipv6-internal to ipv6-internet rule 100 permit any from ipv6-internal.lan.eth0 to ipv6-internal rule 110 permit any from ipv6-internal.lan.eth0 to ipv6-internet rule 120 permit any from ipv6-internet.wan.eth1 to ipv6-internet protect
ip dns forwarding
end
copy running-config startup-config
」の書式で実行します。awplus# copy running-config startup-config ↓ Building configuration... [OK]
awplus# write memory ↓ Building configuration... [OK]
awplus(config)# log buffered level informational facility local5 ↓
awplus# show log | include Firewall ↓
! interface eth1 ipv6 enable no ipv6 nd accept-ra-pinfo ipv6 nd proxy interface eth0 ! interface eth0 ip address 192.168.10.1/24 ipv6 address autoconfig eth1 no ipv6 nd suppress-ra ipv6 nd dns-server eth0 ! ipv6 forwarding ! ip dhcp pool pool10 network 192.168.10.0 255.255.255.0 range 192.168.10.100 192.168.10.131 dns-server 192.168.10.1 default-router 192.168.10.1 lease 0 2 0 ! service dhcp-server ! interface tunnel0 tunnel source eth0 tunnel destination dgw.xpass.jp tunnel mode ds-lite ip address 192.0.0.2/29 ip tcp adjust-mss pmtu ! ip route 0.0.0.0/0 tunnel0 ! zone all network ipv4 ip subnet 0.0.0.0/0 network ipv6 ipv6 subnet ::/0 ! zone ipv4-internal network lan ip subnet 192.168.10.0/24 ! zone ipv4-internet network wan ip subnet 0.0.0.0/0 interface tunnel0 host tunnel0 ip address 192.0.0.2 ! zone ipv6-internal network lan ipv6 subnet ::/0 interface eth0 host eth0 ipv6 address dynamic interface eth0 ! zone ipv6-internet network wan ipv6 subnet ::/0 interface eth1 host eth1 ipv6 address dynamic interface eth1 ! application dhcpv4 protocol udp dport 67 to 68 ! application dhcpv6 protocol udp dport 546 to 547 ! application icmpv6 protocol ipv6-icmp ! firewall rule 10 permit dhcpv4 from all.ipv4 to all.ipv4 rule 20 permit any from ipv4-internal to ipv4-internal rule 30 permit any from ipv4-internal to ipv4-internet rule 40 permit any from ipv4-internet.wan.tunnel0 to ipv4-internet rule 50 permit dhcpv6 from all.ipv6 to all.ipv6 rule 60 permit icmpv6 from all.ipv6 to all.ipv6 rule 70 permit any from ipv6-internal to ipv6-internal rule 80 permit any from ipv6-internal to ipv6-internal.lan.eth0 rule 90 permit any from ipv6-internal to ipv6-internet rule 100 permit any from ipv6-internal.lan.eth0 to ipv6-internal rule 110 permit any from ipv6-internal.lan.eth0 to ipv6-internet rule 120 permit any from ipv6-internet.wan.eth1 to ipv6-internet protect ! ip dns forwarding ! end
(C) 2022 - 2024 アライドテレシスホールディングス株式会社
PN: 613-003066 Rev.J