RTシリーズとCISCOルータの相互接続のための設定例集
IPv6 over IPv4トンネリング機能の使用
新規作成日 | 2002/Jun/21 |
最終変更日 | 2002/Jun/21 |
文書サイズ | 7kB |
IPv6 over IPv4トンネリング機能の使用
[ IPv6 over IPv4トンネリング機能の使用 ]
PC2 | ------+------ 2001:3::/64 2001:3::1 | +---------+ |Cisco3640| IOS 12.2(8)T +---------+ 10.1.1.2 : ‖ : ‖ 専用線(64kbit/s) ‖IPv6 over IPv4トンネリング : ‖ 10.1.1.1 : ‖ +---------------+ | RT105i/RTA55i | Rev6.03.08/Rev4.06.16 +---------------+ 2001:1::1 | ------+------ 2001:1::/64 | PC1 |
console prompt RT105i: ipv6 lan1 address 2001:1::1/64 line type bri1 l64 pp select 1 pp bind bri1 ip pp address 10.1.1.1/24 pp enable 1 tunnel select 1 tunnel encapsulation ipip ............................. *1 tunnel endpoint address 10.1.1.1 10.1.1.2 ............. *2 tunnel enable 1 ipv6 route 2001:3::/64 gateway tunnel 1 ............... *3 |
console prompt RTA55i pp line l64 ipv6 route 2001:3::/64 gateway tunnel 1 ............... *3 ipv6 lan1 address 2001:1::1/64 pp select leased ip pp local address 10.1.1.1/24 pp enable leased tunnel select 1 tunnel endpoint address 10.1.1.1 10.1.1.2 ............. *2 tunnel enable 1 |
*1 | IPカプセル化を使用する設定をします(RTA55iの場合、デフォルトで設定されています)。 |
*2 | IPカプセル化時に使用するIPアドレスを設定します。 |
*3 | IPv6通信はトンネル経由とする設定をします。 |
hostname Cisco3640 ! ip subnet-zero no ip domain-lookup ! ipv6 unicast-routing ! isdn switch-type ntt isdn leased-line BRI3/0 ! interface Tunnel1 ip unnumbered BRI3/0:1 ipv6 unnumbered FastEthernet0/0 tunnel source BRI3/0:1 .............................. *4 tunnel destination 10.1.1.1 ......................... *4 tunnel mode ipv6ip .................................. *5 ! interface FastEthernet0/0 no ip address ipv6 address 2001:3::1/64 ipv6 enable ! interface BRI3/0 no ip address shutdown ! interface BRI3/0:1 ip address 10.1.1.2 255.255.255.0 encapsulation ppp ! interface BRI3/0:2 no ip address shutdown ! ipv6 route 2001:1::/64 Tunnel1 ....................... *6 |
*4 | IPカプセル化時に使用するIPアドレスを設定します。 |
*5 | IPカプセル化を使用する設定をします。 |
*6 | IPv6通信はトンネル経由とする設定をします。 |
|