[index] AT-AR3050S/AT-AR4050S コマンドリファレンス 5.4.5
Note - ファームウェアバージョン5.4.5-0.4までの本製品と5.4.5-1.1以降の本製品との間ではIPsec接続ができません。IPv6トンネルインターフェースをトランスポートモードIPsecで保護する場合はファームウェアのバージョンを揃えてください。
awplus(config)# interface tunnel0 ↓ |
awplus(config-if)# tunnel mode ipv6 ↓ |
awplus(config-if)# tunnel source 2001:db8:1:1::1 ↓ awplus(config-if)# tunnel destination 2001:db8:2:2::2 ↓ |
awplus(config-if)# ip address 192.168.254.1/30 ↓ |
Note - トンネルインターフェースにIPアドレスを設定する場合のマスク長は30ビット以下を推奨します。トンネルインターフェースのIPアドレスを「ip address 192.168.254.1/32」のように32ビットマスクで設定することも可能ですが、トンネルインターフェース上でOSPFなどの経路制御プロトコルを動作させる場合は、ホストアドレスを複数取れる30ビット以下のサブネットマスクを設定する必要があるためです。
awplus(config-if)# exit ↓ awplus(config)# ip route 192.168.20.0/24 tunnel0 ↓ |
awplus(config)# crypto isakmp key ouR4ecret address 2001:db8:2:2::2 ↓ |
awplus(config)# interface tunnel0 ↓ awplus(config-if)# tunnel protection ipsec ↓ |
awplus> show interface tunnel1 ↓ Interface tunnel1 Link is UP, administrative state is UP Hardware is Tunnel IPv4 address 172.16.10.1/24 pointopoint 172.16.10.255 index 11 metric 1 mtu 1460 <UP,POINTOPOINT,RUNNING,MULTICAST> SNMP link-status traps: Disabled Tunnel source 2001:db8:1:1::1, destination 2001:db8:2:2::2 Tunnel name local 2001:db8:1:1::1, remote 2001:db8:2:2::2 Tunnel ID local (not set), remote (not set) Tunnel protocol/transport ipv6, key disabled, sequencing disabled Tunnel TTL 64 Checksumming of packets disabled, path MTU discovery disabled input packets 0, bytes 0, dropped 0, multicast packets 0 output packets 0, bytes 0, multicast packets 0 broadcast packets 0 Time since last state change: 0 days 00:17:23 |
(C) 2015 アライドテレシスホールディングス株式会社
PN: 613-002107 Rev.D