65、IPv6配置实验之6to4Tunnel-创新互联
1、6to4 Tunnel解析
天台网站建设公司创新互联,天台网站设计制作,有大型网站制作公司丰富经验。已为天台上1000+提供企业网站建设服务。企业网站搭建\成都外贸网站建设公司要多少钱,请找那个售后服务好的天台做网站的公司定做!E0接口的网络号2002:c0a8:6301::/48的得来:
192.168.99.1转为16进制表示的话为c0a8:6301,在其前面加上20002:即可得到2002:c0a8:6301::/48的网络号。E0接口的IP地址可以手动配置,也可以通过eui-64自动生成。
2、实验拓扑
3、实验配置
R1配置
ipv6 unicast-routing
interface FastEthernet1/0
ipv6 address 2002:202:202::1/64
ipv6 ospf 110 area 0
interface FastEthernet2/0
ipv6 address 2002:202:202:15::1/64
ipv6 ospf 110 area 0
ipv6 router ospf 110
router-id 1.1.1.1
R2配置
ipv6 unicast-routing
interface Loopback0
ip address 2.2.2.2 255.255.255.0
interface Tunnel2
ipv6 unnumbered FastEthernet1/0
tunnel source Loopback0
tunnel mode ipv6ip 6to4
interface FastEthernet1/0
ipv6 address 2002:202:202::2/64
ipv6 ospf 110 area 0
interface FastEthernet2/0
ip address 23.1.1.2 255.255.255.0
ip route 3.3.3.0 255.255.255.0 23.1.1.3
ipv6 route 2002::/16 Tunnel2
ipv6 router ospf 110
router-id 2.2.2.2
redistribute static
R3配置
ipv6 unicast-routing
interface Loopback0
ip address 3.3.3.3 255.255.255.0
interface Tunnel3
ipv6 unnumbered FastEthernet1/0
tunnel source Loopback0
tunnel mode ipv6ip 6to4
interface FastEthernet1/0
ipv6 address 2002:303:303::3/64
ipv6 ospf 110 area 0
interface FastEthernet2/0
ip address 23.1.1.3 255.255.255.0
ip route 2.2.2.0 255.255.255.0 23.1.1.2
ipv6 route 2002::/16 Tunnel3
ipv6 router ospf 110
router-id 3.3.3.3
redistribute static
R4配置
ipv6 unicast-routing
interface FastEthernet1/0
ipv6 address 2002:303:303::4/64
ipv6 ospf 110 area 0
interface FastEthernet2/0
ipv6 address 2002:303:303:46::4/64
ipv6 ospf 110 area 0
ipv6 router ospf 110
router-id 4.4.4.4
R5配置
ipv6 unicast-routing
interface FastEthernet2/0
ipv6 address 2002:202:202:15::5/64
ipv6 ospf 110 area 0
ipv6 router ospf 110
router-id 5.5.5.5
R6配置
ipv6 unicast-routing
interface FastEthernet2/0
ipv6 address 2002:303:303:46::6/64
ipv6 ospf 110 area 0
ipv6 router ospf 110
router-id 6.6.6.6
4、实验测试
另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
文章名称:65、IPv6配置实验之6to4Tunnel-创新互联
文章源于:http://azwzsj.com/article/dseocp.html