当前位置:网站首页>在IPv6中 链路本地地址的优势
在IPv6中 链路本地地址的优势
2022-07-06 14:29:00 【GRQ。】
更换双方路由器G0/0/0接口的IPv6地址,但是两边业务不中断
拓扑图如下
R1的G0/0/0接口IPv6地址为2003::1 LoopBack 0 IPv6地址为2001::1
R2的G0/0/0接口IPv6地址为2003::2 LoopBack 0 IPv6地址为2002::1
配置命令如下:
R1
[Huawei]ipv6
[Huawei]int LoopBack 0
[Huawei-LoopBack0]ipv6 enable
[Huawei-LoopBack0]ipv6 address 2001::1 128(配置环回口地址)
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ipv6 enable
[Huawei-GigabitEthernet0/0/0]ipv6 address 2003::1 64
[Huawei]ripng
[Huawei]int lo 0
[Huawei-LoopBack0]ripng 1 enable (启用ripng协议)
[Huawei-LoopBack0]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ripng 1 enable
R2
[Huawei]ipv6
[Huawei]int LoopBack 0
[Huawei-LoopBack0]ipv6 enable
[Huawei-LoopBack0]ipv6 address 2002::1 128
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ipv6 enable
[Huawei-GigabitEthernet0/0/0]ipv6 address 2003::2 64
[Huawei]ripng
[Huawei]int lo 0
[Huawei-LoopBack0]ripng 1 enable
[Huawei-LoopBack0]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ripng 1 enable
用ping ipv6 -a 2001::1 2002::1命令可以看到双边路由器是互通的
如果在IPv4网络中修改双方路由器的g0/0/0接口IP 网络连接肯定会中断
但是在IPv6网络中可以随意修改g0/0/0的接口IP
大家可以用ping ipv6 -c 10000 -a 2001::1 2002::1 这条命令持续ping包测试
原因就在于IPv6链路中下一跳地址是链路本地地址
路由协议是工作在链路本地地址之上的
大家可以用 dis ipv6 routing-table protocol ripng 查看
如图:
边栏推荐
- Barcodex (ActiveX print control) v5.3.0.80 free version
- [线性代数] 1.3 n阶行列式
- lora同步字设置
- 第4章:再谈类的加载器
- i. Mx6ull build boa server details and some of the problems encountered
- [sciter]: encapsulate the notification bar component based on sciter
- MariaDB database management system learning (I) installation diagram
- 0 basic learning C language - interrupt
- Oracle control file and log file management
- 十二、启动流程
猜你喜欢
GPS from getting started to giving up (19), precise ephemeris (SP3 format)
第4章:再谈类的加载器
图像的spatial domain 和 frequency domain 图像压缩
[leetcode daily clock in] 1020 Number of enclaves
0 basic learning C language - interrupt
Attack and defense world ditf Misc
GPS from getting started to giving up (12), Doppler constant speed
3DMAX assign face map
二分图判定
2500 common Chinese characters + 130 common Chinese and English characters
随机推荐
Embedded common computing artifact excel, welcome to recommend skills to keep the document constantly updated and provide convenience for others
Codeforces Round #274 (Div. 2) –A Expression
将MySQL的表数据纯净方式导出
GPS从入门到放弃(十二)、 多普勒定速
C#实现水晶报表绑定数据并实现打印4-条形码
GPS du début à l'abandon (XIII), surveillance autonome de l'intégrité du récepteur (raim)
Save and retrieve strings
Anaconda installs third-party packages
Oracle Performance Analysis 3: introduction to tkprof
Research and investment strategy report of China's VOCs catalyst industry (2022 Edition)
GPS from getting started to giving up (16), satellite clock error and satellite ephemeris error
HDU 2008 digital statistics
Learn the principle of database kernel from Oracle log parsing
第4章:再谈类的加载器
Memorabilia of domestic database in June 2022 - ink Sky Wheel
Data processing skills (7): MATLAB reads the data in the text file TXT with mixed digital strings
Chapter 3: detailed explanation of class loading process (class life cycle)
anaconda安装第三方包
C # réalise la liaison des données du rapport Crystal et l'impression du Code à barres 4
C # realizes crystal report binding data and printing 4-bar code