[index] AT-AR2010V コマンドリファレンス 5.4.6
(本社) |
(支社) |
|
ISP接続用ユーザー名 | user@ispA | user@ispB |
ISP接続用パスワード | isppasswdA | isppasswdB |
PPPoEサービス名 | 指定なし | 指定なし |
WAN側IPアドレス | 10.1.1.1/32 | 10.1.1.2/32 |
WAN側物理インターフェース | eth1 | eth1 |
WAN側(ppp0)IPアドレス | 10.1.1.1/32 | 10.1.1.2/32 |
interface eth1 encapsulation ppp 0 |
interface ppp0 keepalive ip address negotiated ppp username userA@isp ppp password isppasswdA ip tcp adjust-mss pmtu |
interface eth2 encapsulation dot1q 2 encapsulation dot1q 3 |
bridge 2 bridge 3 |
crypto isakmp key secret address 10.1.1.2 |
interface tunnel0 encapsulation dot1q 2 encapsulation dot1q 3 tunnel source ppp0 tunnel destination 10.1.1.2 tunnel local id 1 tunnel remote id 2 tunnel mode l2tp v3 tunnel protection ipsec mtu 1500 |
interface tunnel0.2 mtu 1500 bridge-group 2 |
interface tunnel0.3 mtu 1500 bridge-group 3 |
interface eth2.2 bridge-group 2 |
interface eth2.3 bridge-group 3 |
zone private network lan ip subnet 192.168.2.0/24 ip subnet 192.168.3.0/24 |
zone public network wan ip subnet 0.0.0.0/0 interface ppp0 host ppp0 ip address dynamic interface ppp0 |
application esp protocol 50 |
application isakmp protocol udp sport 500 dport 500 |
firewall rule 10 permit any from private to private rule 20 permit any from private to public rule 30 permit isakmp from public.wan.ppp0 to public.wan rule 40 permit isakmp from public.wan to public.wan.ppp0 rule 50 permit esp from public.wan.ppp0 to public.wan rule 60 permit esp from public.wan to public.wan.ppp0 rule 70 permit l2tp from public.wan.ppp0 to public.wan rule 80 permit l2tp from public.wan to public.wan.ppp0 protect |
ip route 0.0.0.0/0 ppp0 |
end |
interface eth1 encapsulation ppp 0 |
interface ppp0 keepalive ip address negotiated ppp username userB@isp ppp password isppasswdB ip tcp adjust-mss pmtu |
interface eth2 encapsulation dot1q 2 encapsulation dot1q 3 |
bridge 2 bridge 3 |
crypto isakmp key secret address 10.1.1.1 |
interface tunnel0 encapsulation dot1q 2 encapsulation dot1q 3 tunnel source ppp0 tunnel destination 10.1.1.1 tunnel local id 2 tunnel remote id 1 tunnel mode l2tp v3 tunnel protection ipsec mtu 1500 |
interface tunnel0.2 mtu 1500 bridge-group 2 |
interface tunnel0.3 mtu 1500 bridge-group 3 |
interface eth2.2 bridge-group 2 |
interface eth2.3 bridge-group 3 |
zone private network lan ip subnet 192.168.2.0/24 ip subnet 192.168.3.0/24 |
zone public network wan ip subnet 0.0.0.0/0 interface ppp0 host ppp0 ip address dynamic interface ppp0 |
application esp protocol 50 |
application isakmp protocol udp sport 500 dport 500 |
firewall rule 10 permit any from private to private rule 20 permit any from private to public rule 30 permit isakmp from public.wan.ppp0 to public.wan rule 40 permit isakmp from public.wan to public.wan.ppp0 rule 50 permit esp from public.wan.ppp0 to public.wan rule 60 permit esp from public.wan to public.wan.ppp0 rule 70 permit l2tp from public.wan.ppp0 to public.wan rule 80 permit l2tp from public.wan to public.wan.ppp0 protect |
ip route 0.0.0.0/0 ppp0 |
end |
awplus# copy running-config startup-config ↓ Building configuration... [OK] |
awplus# write memory ↓ Building configuration... [OK] |
awplus(config)# log buffered level informational program kernel msgtext Firewall ↓ |
awplus# show log | include firewall ↓ |
! interface eth1 encapsulation ppp 0 ! interface ppp0 keepalive ip address negotiated ppp username userA@isp ppp password isppasswdA ip tcp adjust-mss pmtu ! interface eth2 encapsulation dot1q 2 encapsulation dot1q 3 ! bridge 2 bridge 3 ! crypto isakmp key secret address 10.1.1.2 ! interface tunnel0 encapsulation dot1q 2 encapsulation dot1q 3 tunnel source ppp0 tunnel destination 10.1.1.2 tunnel local id 1 tunnel remote id 2 tunnel mode l2tp v3 tunnel protection ipsec mtu 1500 ! interface tunnel0.2 mtu 1500 bridge-group 2 ! interface tunnel0.3 mtu 1500 bridge-group 3 ! interface eth2.2 bridge-group 2 ! interface eth2.3 bridge-group 3 ! zone private network lan ip subnet 192.168.2.0/24 ip subnet 192.168.3.0/24 ! zone public network wan ip subnet 0.0.0.0/0 interface ppp0 host ppp0 ip address dynamic interface ppp0 ! application esp protocol 50 ! application isakmp protocol udp sport 500 dport 500 ! firewall rule 10 permit any from private to private rule 20 permit any from private to public rule 30 permit isakmp from public.wan.ppp0 to public.wan rule 40 permit isakmp from public.wan to public.wan.ppp0 rule 50 permit esp from public.wan.ppp0 to public.wan rule 60 permit esp from public.wan to public.wan.ppp0 rule 70 permit l2tp from public.wan.ppp0 to public.wan rule 80 permit l2tp from public.wan to public.wan.ppp0 protect ! ip route 0.0.0.0/0 ppp0 ! end |
! interface eth1 encapsulation ppp 0 ! interface ppp0 keepalive ip address negotiated ppp username userB@isp ppp password isppasswdB ip tcp adjust-mss pmtu ! interface eth2 encapsulation dot1q 2 encapsulation dot1q 3 ! bridge 2 bridge 3 ! crypto isakmp key secret address 10.1.1.1 ! interface tunnel0 encapsulation dot1q 2 encapsulation dot1q 3 tunnel source ppp0 tunnel destination 10.1.1.1 tunnel local id 2 tunnel remote id 1 tunnel mode l2tp v3 tunnel protection ipsec mtu 1500 ! interface tunnel0.2 mtu 1500 bridge-group 2 ! interface tunnel0.3 mtu 1500 bridge-group 3 ! interface eth2.2 bridge-group 2 ! interface eth2.3 bridge-group 3 ! zone private network lan ip subnet 192.168.2.0/24 ip subnet 192.168.3.0/24 ! zone public network wan ip subnet 0.0.0.0/0 interface ppp0 host ppp0 ip address dynamic interface ppp0 ! application esp protocol 50 ! application isakmp protocol udp sport 500 dport 500 ! firewall rule 10 permit any from private to private rule 20 permit any from private to public rule 30 permit isakmp from public.wan.ppp0 to public.wan rule 40 permit isakmp from public.wan to public.wan.ppp0 rule 50 permit esp from public.wan.ppp0 to public.wan rule 60 permit esp from public.wan to public.wan.ppp0 rule 70 permit l2tp from public.wan.ppp0 to public.wan rule 80 permit l2tp from public.wan to public.wan.ppp0 protect ! ip route 0.0.0.0/0 ppp0 ! end |
(C) 2016 アライドテレシスホールディングス株式会社
PN: 613-002311 Rev.B