网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

IPV4和IPV6之间相互通信

网络拓扑:

在莘县等地区,都构建了全面的区域性战略布局,加强发展的系统性、市场前瞻性、产品创新能力,以专注、极致的服务理念,为客户提供成都网站制作、成都网站建设 网站设计制作定制制作,公司网站建设,企业网站建设,品牌网站制作,成都全网营销,成都外贸网站建设公司,莘县网站建设费用合理。

IPV4和IPV6之间相互通信 

 

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#


网站栏目:IPV4和IPV6之间相互通信
本文来源:http://bjjierui.cn/article/pgsepi.html

其他资讯