[index] AT-AR3050S/AT-AR4050S/AT-AR4050S-5G コマンドリファレンス 5.5.4
WAN側物理インターフェース | eth1 |
WAN側(eth1)IPv6アドレス | リンクローカルアドレス |
LAN側(vlan1)IPv6アドレス | RAで受信したプレフィックス |
ユーザー名 | userA |
パスワード | passwdA |
Note(注1) 本設定例では例示用IPアドレス、URL等を使用しており、実際に設定する値とは異なります。実際の設定時には、ユーザーごとに通知される各種情報をご使用ください。
NoteNDプロキシー機能は本構成に特化した機能です。本構成以外での動作はサポート対象外です。
no spanning-tree rstp enable
interface eth1 ipv6 enable no ipv6 nd accept-ra-pinfo ipv6 nd proxy interface vlan1
interface vlan1 ip address 192.168.10.1/24 ipv6 address autoconfig eth1 no ipv6 nd suppress-ra ipv6 nd dns-server vlan1
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 provisioned upstream-interface vlan1 tunnel provisioned authentication any username userA password passwdA tunnel mode provisioned ip tcp adjust-mss pmtu
ip route 0.0.0.0/0 tunnel0
zone ipv4-internal network dhcp ip subnet 0.0.0.0/0 interface vlan1 network lan ip subnet 192.168.10.0/24 interface vlan1
zone ipv4-internet network wan ip subnet 0.0.0.0/0 interface tunnel0 host nat ip address dynamic interface tunnel0
zone ipv6-internal network lan ipv6 subnet ::/0 interface vlan1 host vlan1 ipv6 address dynamic interface vlan1
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 ipv4-internal.dhcp to ipv4-internal.dhcp rule 20 permit any from ipv4-internal.lan to ipv4-internal.lan rule 30 permit any from ipv4-internal.lan to ipv4-internet rule 40 permit any from ipv4-internet.wan.nat to ipv4-internet rule 100 permit any from ipv6-internal to ipv6-internal rule 110 permit any from ipv6-internal to ipv6-internet rule 120 permit any from ipv6-internal.lan.vlan1 to ipv6-internet rule 130 permit any from ipv6-internet.wan.eth1 to ipv6-internet rule 140 permit icmpv6 from ipv6-internet to ipv6-internal.lan.vlan1 rule 150 permit dhcpv6 from ipv6-internet to ipv6-internet.wan.eth1 protect
nat rule 10 masq any from ipv4-internal to ipv4-internet enable
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 ↓
! no spanning-tree rstp enable ! interface eth1 ipv6 enable no ipv6 nd accept-ra-pinfo ipv6 nd proxy interface vlan1 ! interface vlan1 ip address 192.168.10.1/24 ipv6 address autoconfig eth1 no ipv6 nd suppress-ra ipv6 nd dns-server vlan1 ! 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 provisioned upstream-interface vlan1 tunnel provisioned authentication any username userA password passwdA tunnel mode provisioned ip tcp adjust-mss pmtu ! ip route 0.0.0.0/0 tunnel0 ! zone ipv4-internal network dhcp ip subnet 0.0.0.0/0 interface vlan1 network lan ip subnet 192.168.10.0/24 interface vlan1 ! zone ipv4-internet network wan ip subnet 0.0.0.0/0 interface tunnel0 host nat ip address dynamic interface tunnel0 ! zone ipv6-internal network lan ipv6 subnet ::/0 interface vlan1 host vlan1 ipv6 address dynamic interface vlan1 ! 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 ipv4-internal.dhcp to ipv4-internal.dhcp rule 20 permit any from ipv4-internal.lan to ipv4-internal.lan rule 30 permit any from ipv4-internal.lan to ipv4-internet rule 40 permit any from ipv4-internet.wan.nat to ipv4-internet rule 100 permit any from ipv6-internal to ipv6-internal rule 110 permit any from ipv6-internal to ipv6-internet rule 120 permit any from ipv6-internal.lan.vlan1 to ipv6-internet rule 130 permit any from ipv6-internet.wan.eth1 to ipv6-internet rule 140 permit icmpv6 from ipv6-internet to ipv6-internal.lan.vlan1 rule 150 permit dhcpv6 from ipv6-internet to ipv6-internet.wan.eth1 protect ! nat rule 10 masq any from ipv4-internal to ipv4-internet enable ! ip dns forwarding ! end
(C) 2015 - 2024 アライドテレシスホールディングス株式会社
PN: 613-002107 Rev.BD