IPV4和IPV6之间相互通信


网络拓扑:R1:
ipv6 unicast-routing ===========开启ipv6int 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.0R3:ipv6 unicast-routing ===============开启ipv6
interface FastEthernet0/1
ip address 192.168.23.3 255.255.255.0
interface Loopback0
ipv6 address 2014:2014::3/64ip route 192.168.12.0 255.255.255.0 192.168.23.2 =============配置静态路由测试:R1#ping 192.168.23.3Type 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.1Type 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-idinterface 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 0R3:
ipv6 router ospf 1
router-id 3.3.3.3interface 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::1Type 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::3Type 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#

相关推荐: 解析HTTP协议六种请求方法,get,head,put,delete,post有什么区别

标准Http协议支持六种请求方法,即: 1、GET 2、POST 3、PUT 4、Delete 5、HEAD 6、Options 但其实我们大部分情况下只用到了GET和POST。如果想设计一个符合RESTful规范的web应用程序,则这六种方法都会用到。不过即…

免责声明:本站发布的图片视频文字,以转载和分享为主,文章观点不代表本站立场,本站不承担相关法律责任;如果涉及侵权请联系邮箱:360163164@qq.com举报,并提供相关证据,经查实将立刻删除涉嫌侵权内容。

(0)
打赏 微信扫一扫 微信扫一扫
上一篇 02/01 18:31
下一篇 02/01 18:31