(This case uses two cisco2500 routers, IOS (tm) 2500 Software (C2500-IS-L), Version 12.2 (15) T9, the interconnection between two remote ipv6 subnets can be achieved by using the ipv6 v4 trunk and ipv6 6to4 tunnel combined with ipv6 Static Routing.
Topology Description: Use the e0 interface of the two routers to interconnect and simulate the ipv4 trunk. Use loopback0 to simulate the two remote ipv6 subnets, 6to4tunnel must use the standard ipv6 address prefix (2002:/16) in all ipv6 subnets.
When creating a tunnel between two endpoints, you must use the IP address of the ipv4 interface of the local router in combination with the 2002 prefix to address the tunnel interface of the local router. for example, in R1 e0: 192.168.1.1, the ipv6 address of the R1 tunnel interface must contain the hexadecimal format of this address, that is, 2002: C0A8: 101 :..., C0A8: 101 is the hexadecimal IP address of the e0 interface.
The configuration and test results are as follows:
R1 # sh run
Hostname R1
Ipv6 unicast-routing
Interface Loopback0
No ip address
Ipv6 address 2002: C0A8: 101: 1: 1/64
Interface Tunnel0
No ip address
No ip redirects
Ipv6 address 2002: C0A8: 101: 13: 1/64
Tunnel source Ethernet0
Tunnel mode ipv6ip 6to4
Interface Ethernet0
Ip address 192.168.1.1 255.255.255.0
Ipv6 route 2002:/16 Tunnel0
R1 # sh ipv6 int brief
Ethernet0 [up/up]
Unassigned
Loopback0 [up/up]
FE80: 210: 7BFF: fe36: 491
2002: C0A8: 101: 1: 1
Tunnel0 [up/up]
FE80: C0A8: 101
2002: C0A8: 101: 13: 1
Virtual-Access1 [up/up]
Unassigned
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
Ipv6 route 2002:/16 Tunnel0
R3 # sh ipv6 int brief
Ethernet0 [up/up]
Unassigned
Loopback0 [up/up]
FE80: 200: CFF: FE0A: 26BC
2002: C0A8: 103: 3: 3
Serial0 [administratively
Down/down]
Unassigned
Serial1 [administratively
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
Test the ipv6 tunnel interface for direct connection on R1:
R1 # ping IPv6. 2002: c0a8: 103: 13: 3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos
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
Test the ipv6 loopback0 interface to R3 on R1 (non-direct connection ):
R1 # ping IPv6. 2002: c0a8: 103: 3: 3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos
2002: C0A8: 103: 3: 3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip
Min/avg/max = 8/12/16 MS
Article entry: csh responsible editor: csh