R1#sh ipv6 route IPv6 Routing Table - 8 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 O - OSPF intra, OI - OSPF inter, OE1 - OSPF
ext 1, OE2 - OSPF ext 2 S 2002::/16 [1/0] via ::, Tunnel0 C 2002:C0A8:101:1::/64 [0/0] via ::, Loopback0 L 2002:C0A8:101:1::1/128 [0/0] via ::, Loopback0 C 2002:C0A8:101:13::/64 [0/0] via ::, Tunnel0 L 2002:C0A8:101:13::1/128 [0/0] via ::, Tunnel0 L FE80::/10 [0/0] via ::, Null0 L FF00::/8 [0/0] via ::, Null0
r3#sh run hostname r3 ipv6 unicast-routing interface Loopback0 no ip address ipv6 address 2002:C0A8:103:3::3/64 interface Tunnel0 no ip address no ip redirects ipv6 address 2002:C0A8:103:13::3/64 tunnel source Ethernet0 tunnel mode ipv6ip 6to4
interface Ethernet0 ip address 192.168.1.3 255.255.255.0
down/down] unassigned Tunnel0 [up/up] FE80::C0A8:103 2002:C0A8:103:13::3 Virtual-Access1 [up/up] unassigned r3#sh ipv6 route IPv6 Routing Table - 7 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 O - OSPF intra, OI - OSPF inter, OE1 - OSPF
ext 1, OE2 - OSPF ext 2 S 2002::/16 [1/0] via ::, Tunnel0 C 2002:C0A8:103:3::/64 [0/0] via : :, Loopback0 L 2002:C0A8:103:3::3/128 [0/0] via ::, Loopback0 C 2002:C0A8:103:13::/64 [0/0] via ::, Tunnel0 L 2002:C0A8:103:13::3/128 [0/0] via ::, Tunnel0 L FE80::/10 [0/0] via ::, Null0 L FF00::/8 [0/0] via ::, Null0
在R1上测试直连的ipv6 tunnel接口: R1#ping ipv6 2002:c0a8:103:13::3 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to
2002:C0A8:103:13::3, timeout is 2 seconds: !!!!! SUCcess rate is 100 percent (5/5), round-trip
min/avg/max = 8/10/16 ms
在R1上测试到R3的ipv6 loopback0接口(非直连): R1#ping ipv6 2002:c0a8:103:3::3 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to
2002:C0A8:103:3::3, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip