[index] AT-AR2050V/AT-AR3050S/AT-AR4050S コマンドリファレンス 5.4.6
Note - ファームウェアバージョン5.4.5-0.4までの本製品と5.4.5-1.1以降の本製品との間ではIPsec接続ができません。GREトンネルインターフェースをトランスポートモードIPsecで保護する場合はファームウェアのバージョンを揃えてください。

awplus(config)# interface tunnel0 ↓ |
awplus(config-if)# tunnel mode gre ↓ |
awplus(config-if)# tunnel source 10.1.1.1 ↓ awplus(config-if)# tunnel destination 10.2.2.2 ↓ |
awplus(config-if)# ipv6 enable ↓ |
Note - IPv6パケットをルーティング(転送)するだけであれば、トンネルインターフェースのIPv6アドレスはこの例のようにリンクローカルアドレス(ipv6 enable)だけでかまいませんが、BGPを使用する場合などグローバルアドレスが必要な場合はipv6 addressコマンドで適切なIPv6アドレスを設定してください。
awplus(config-if)# exit ↓ awplus(config)# ipv6 route 2001:db8:10:20::/64 tunnel0 ↓ |
awplus(config)# crypto isakmp key ouR4ecret address 10.2.2.2 ↓ |
awplus(config)# interface tunnel0 ↓ awplus(config-if)# tunnel protection ipsec ↓ |

awplus(config)# interface tunnel0 ↓ |
awplus(config-if)# tunnel mode gre 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 tunnel10 ↓
Interface tunnel10
Link is UP, administrative state is UP
Hardware is Tunnel
IPv6 address 2001:db8:10:10::1/64
IPv6 address fe80::21a:ebff:fe92:a4bc/64
index 27 metric 1 mtu 1476
<UP,POINTOPOINT,RUNNING,MULTICAST>
SNMP link-status traps: Disabled
Tunnel source 10.1.1.1, destination 10.2.2.2
Tunnel name local 10.1.1.1, remote 10.2.2.2
Tunnel ID local (not set), remote (not set)
Tunnel protocol/transport gre, 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 8, bytes 480, multicast packets 0 broadcast packets 0
Time since last state change: 0 days 00:01:29
|
(C) 2015 - 2016 アライドテレシスホールディングス株式会社
PN: 613-002107 Rev.J