[index] AT-AR1050V コマンドリファレンス 5.4.9
ISP接続用ユーザー名 | user@ispA | user@ispB |
ISP接続用パスワード | isppasswdA | isppasswdB |
PPPoEサービス名 | 指定なし | 指定なし |
WAN側IPアドレス | 動的割り当て(IPCP) | 動的割り当て(IPCP) |
DNSサーバー | 自動取得(IPCP) | 自動取得(IPCP) |
接続形態 | 端末型 | 端末型 |
CUG接続用ユーザー名 | userA | userB |
CUG接続用パスワード | passwdA | passwdB |
LAN側IPアドレス | 192.168.10.0/24 | 192.168.20.0/24 |
WAN側物理インターフェース | eth1 | eth1 |
WAN側(ppp0)IPアドレス | 接続時にISP-Aから取得 | 接続時にISP-Bから取得 |
WAN側(ppp1)IPアドレス | Unnumbered | Unnumbered |
LAN側(vlan1)IPアドレス | 192.168.10.1/24 | 192.168.20.1/24 |
DNSリレー機能 | 有効 | 有効 |
interface eth1 encapsulation ppp 0 encapsulation ppp 1
interface ppp0 ppp ipcp dns request keepalive ip address negotiated ppp username user@ispA ppp password isppasswdA ip tcp adjust-mss pmtu
interface ppp1 keepalive ppp ipcp ip-override ppp username userA ppp password passwdA ip unnumbered vlan1 ip tcp adjust-mss pmtu
interface vlan1 ip address 192.168.10.1/24
zone private network lan ip subnet 192.168.10.0/24 network cug ip subnet 192.168.20.0/24
zone public network wan ip subnet 0.0.0.0/0 interface ppp0 host ppp0 ip address dynamic interface ppp0
firewall rule 10 permit any from private to private rule 20 permit any from private to public rule 30 permit dns from public.wan.ppp0 to public protect
nat rule 10 masq any from private.lan to public enable
ip route 0.0.0.0/0 ppp0 ip route 192.168.20.0/24 ppp1
ip dns forwarding
end
interface eth1 encapsulation ppp 0 encapsulation ppp 1
interface ppp0 ppp ipcp dns request keepalive ip address negotiated ppp username user@ispB ppp password isppasswdB ip tcp adjust-mss pmtu
interface ppp1 keepalive ppp ipcp ip-override ppp username userB ppp password passwdB ip unnumbered vlan1 ip tcp adjust-mss pmtu
interface vlan1 ip address 192.168.20.1/24
zone private network lan ip subnet 192.168.20.0/24 network cug ip subnet 192.168.10.0/24
zone public network wan ip subnet 0.0.0.0/0 interface ppp0 host ppp0 ip address dynamic interface ppp0
firewall rule 10 permit any from private to private rule 20 permit any from private to public rule 30 permit dns from public.wan.ppp0 to public protect
nat rule 10 masq any from private.lan to public enable
ip route 0.0.0.0/0 ppp0 ip route 192.168.10.0/24 ppp1
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 kern msgtext Firewall ↓
awplus# show log | include Firewall ↓
! interface eth1 encapsulation ppp 0 encapsulation ppp 1 ! interface ppp0 ppp ipcp dns request keepalive ip address negotiated ppp username user@ispA ppp password isppasswdA ip tcp adjust-mss pmtu ! interface ppp1 keepalive ppp ipcp ip-override ppp username userA ppp password passwdA ip unnumbered vlan1 ip tcp adjust-mss pmtu ! interface vlan1 ip address 192.168.10.1/24 ! zone private network lan ip subnet 192.168.10.0/24 network cug ip subnet 192.168.20.0/24 ! zone public network wan ip subnet 0.0.0.0/0 interface ppp0 host ppp0 ip address dynamic interface ppp0 ! firewall rule 10 permit any from private to private rule 20 permit any from private to public rule 30 permit dns from public.wan.ppp0 to public protect ! nat rule 10 masq any from private.lan to public enable ! ip route 0.0.0.0/0 ppp0 ip route 192.168.20.0/24 ppp1 ! ip dns forwarding ! end
! interface eth1 encapsulation ppp 0 encapsulation ppp 1 ! interface ppp0 ppp ipcp dns request keepalive ip address negotiated ppp username user@ispB ppp password isppasswdB ip tcp adjust-mss pmtu ! interface ppp1 keepalive ppp ipcp ip-override ppp username userB ppp password passwdB ip unnumbered vlan1 ip tcp adjust-mss pmtu ! interface vlan1 ip address 192.168.20.1/24 ! zone private network lan ip subnet 192.168.20.0/24 network cug ip subnet 192.168.10.0/24 ! zone public network wan ip subnet 0.0.0.0/0 interface ppp0 host ppp0 ip address dynamic interface ppp0 ! firewall rule 10 permit any from private to private rule 20 permit any from private to public rule 30 permit dns from public.wan.ppp0 to public protect ! nat rule 10 masq any from private.lan to public enable ! ip route 0.0.0.0/0 ppp0 ip route 192.168.10.0/24 ppp1 ! ip dns forwarding ! end
(C) 2019 アライドテレシスホールディングス株式会社
PN: 613-002735 Rev.B