1、过渡技术
1)dual stack 在同1个设oIPV4及IPV6 2)静态6to4隧道 R3(config)#ipv6 unicast-routing int lo 0 ipv6 ospf 1 ar 0 interface Tunnel32 no ip address ipv6 address 2001::3/64 ipv6 ospf 1 area 0 tunnel source 13.1.1.3 tunnel destination 12.1.1.2 tunnel mode ipv6ip ipv6 router ospf 1 router-id 3.3.3.3R2(config)#ipv6 unicast-routing
interface Tunnel23 no ip address ipv6 address 2001::2/64 ipv6 ospf 1 area 0 tunnel source 12.1.1.2 tunnel destination 13.1.1.3 tunnel mode ipv6ip ipv6 router ospf 1 router-id 2.2.2.2 如果连接点很多,那就需要建立很多隧道。扩展性有问题。 3)动态6to4隧道 int lo 0 ipv6 add 2002::c01:0102::2/48 R2(config-if)#tunnel mode ipv6ip 6to4 R2(config)#ipv6 route 2002::/16 tunn 23int lo 0
ipv add 2002:d01:0103::3/48 R3(config-if)#no tunnel mode ipv6ip R3(config-if)#no tunnel destination 12.1.1.2 R3(config-if)#tunnel mode ipv6ip 6to4 R3(config)#ipv6 route 2002::/16 tunnel 32 思路 R2--->R3 目标IP2002:d01:0103::3---->推出IPV4的地址是13.1.1.3---->根据13.1.1.3进行路由查找--->进行IPV6 6to4封装 4)NAT-PT --------------------------实验14:NAT-PT------------ ipv6 unicast-routing interface Serial1/0 ipv6 enable ipv6 ospf 1 area 0 interface Serial1/1 ip address 13.1.1.1 255.255.255.0 router ospf 1 network 13.1.1.0 0.0.0.255 area 0 ipv6 router ospf 1 router-id 1.1.1.1 -- R1(config)#ipv6 nat prefix 3ffe:b00:ffff::1:0:0/96 R1(config)#ipv6 router ospf 1 R1(config-rtr)#redistribute connected R1(config)#int s1/0 R1(config-if)#ipv6 nat R1(config-if)#int s1/1 R1(config-if)#ipv6 nat ipv6————》IPV4 R1(config)#ipv6 nat v6v4 source 2::2 13.1.1.10 R2(config)#line vty 0 4 R2(config-line)#no login R3 telnet 13.1.1.10 ipv4————》IPV6 R1(config)#ipv6 nat v4v6 source 3.3.3.3 3ffe:b00:ffff:0:0:1:0303:0303 R3(config)#line vty 0 4 R3(config-line)#no login R2#telnet 3ffe:b00:ffff:0:0:1:0303:0303