中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

IPV4和IPV6之間相互通信

發布時間:2020-09-09 18:11:45 來源:網絡 閱讀:486 作者:gouzhongxing 欄目:安全技術

網絡拓撲:

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#

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

阆中市| 华坪县| 遂平县| 永仁县| 禄劝| 汝城县| 岳阳市| 虹口区| 台安县| 壤塘县| 宜阳县| 务川| 栖霞市| 志丹县| 德惠市| 兖州市| 敖汉旗| 湖口县| 西华县| 三台县| 宾川县| 房产| 怀柔区| 棋牌| 马关县| 两当县| 屏山县| 博罗县| 东至县| 清涧县| 玉林市| 襄城县| 凌海市| 贺兰县| 唐河县| 密云县| 夏津县| 时尚| 六安市| 南开区| 德保县|