■R3_3640A
conf t
!
ipv6 unicast-routing
!
interface Tunnel0
ipv6 unnumbered Loopback0
ipv6 rip RIPng enable
tunnel source 192.168.1.1
tunnel destination 192.168.1.2
tunnel mode ipv6ip
!
interface Loopback0
ipv6 address 2001:1:2:3::1/64
ipv6 rip RIPng enable
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
no shut
!
ipv6 router rip RIPng
!
end


■R4_3640
conf t
!
ipv6 unicast-routing
!
interface Tunnel0
ipv6 unnumbered Loopback0
ipv6 rip RIPng enable
tunnel source 192.168.1.2
tunnel destination 192.168.1.1
tunnel mode ipv6ip
!
interface Loopback0
ipv6 address 2001:100:200:300::2/64
ipv6 rip RIPng enable
!
interface FastEthernet0/0
ip address 192.168.1.2 255.255.255.0
no shut
!
ipv6 router rip RIPng
!
end


■トンネルを確認する
R3_3640A#sh int tunnel0
Tunnel0 is up, line protocol is up
Hardware is Tunnel
MTU 1514 bytes, BW 9 Kbit/sec, DLY 500000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation TUNNEL, loopback not set
Keepalive not set
Tunnel source 192.168.1.1, destination 192.168.1.2
Tunnel protocol/transport IPv6/IP
Tunnel TTL 255
Fast tunneling enabled
Tunnel transmit bandwidth 8000 (kbps)
Tunnel receive bandwidth 8000 (kbps)
Last input 00:00:29, output 00:00:03, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/0 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
116 packets input, 13008 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
124 packets output, 11440 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 unknown protocol drops
0 output buffer failures, 0 output buffers swapped out


■ルーティングテーブルを確認する
R3_3640A#sh ipv6 route
IPv6 Routing Table - 5 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
C 2001:1:2:3::/64 [0/0]
via ::, Loopback0
L 2001:1:2:3::1/128 [0/0]
via ::, Loopback0
R 2001:100:200:300::/64 [120/2]
via FE80::C0A8:102, Tunnel0
L FE80::/10 [0/0]
via ::, Null0
L FF00::/8 [0/0]
via ::, Null0


■対向ルータが周知している経路宛てにping
R3_3640A#ping 2001:100:200:300::2 source loopback0

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:100:200:300::2, timeout is 2 seconds:
Packet sent with a source address of 2001:1:2:3::1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/2/4 ms