网络拓扑:
昌宁ssl适用于网站、小程序/APP、API接口等需要进行数据传输应用场景,ssl证书未来市场广阔!成为创新互联公司的ssl证书销售渠道,可以享受市场价格4-6折优惠!如果有意向欢迎电话联系或者加微信:13518219792(备注:SSL证书合作)期待与您的合作!R1:
ipv6 unicast-routing ===========开启ipv6
int f0/0
ip address 192.168.12.1 255.255.255.0
no shutdown
interface Loopback0
ipv6 address 2012:2012::1/64
ip route 192.168.23.0 255.255.255.0 192.168.12.2 ============配置静态路由
R2:
interface FastEthernet0/0
ip address 192.168.12.2 255.255.255.0
interface FastEthernet0/1
ip address 192.168.23.2 255.255.255.0
R3:
ipv6 unicast-routing ===============开启ipv6
interface FastEthernet0/1
ip address 192.168.23.3 255.255.255.0
interface Loopback0
ipv6 address 2014:2014::3/64
ip route 192.168.12.0 255.255.255.0 192.168.23.2 =============配置静态路由
测试:
R1#ping 192.168.23.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.23.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/56/76 ms
R1#
R3#ping 192.168.12.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.12.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 36/65/132 ms
R3#
配置tunnel隧道
R1:
ipv6 router ospf 1 ==========启用OSPFV3
router-id 1.1.1.1 ==========必须手动配置router-id
interface Tunnel1
no ip address
ipv6 address 2001::1/64
ipv6 ospf 1 area 0
tunnel source 192.168.12.1
tunnel destination 192.168.23.3
tunnel mode ipv6ip
!
interface Loopback0
ipv6 ospf 1 area 0
R3:
ipv6 router ospf 1
router-id 3.3.3.3
interface Tunnel1
no ip address
ipv6 address 2001::2/64
ipv6 ospf 1 area 0
tunnel source 192.168.23.3
tunnel destination 192.168.12.1
tunnel mode ipv6ip
!
interface Loopback0
ipv6 ospf 1 area 0
测试:
R1#ping 2014:2014::3 source 2012:2012::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2014:2014::3, timeout is 2 seconds:
Packet sent with a source address of 2012:2012::1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/64/100 ms
R1#
R3#ping 2012:2012::1 source 2014:2014::3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2012:2012::1, timeout is 2 seconds:
Packet sent with a source address of 2014:2014::3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 36/59/104 ms
R3#
另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。