当前位置:网站首页>在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 查看
如图:
边栏推荐
- 【sciter】: 基于 sciter 封装通知栏组件
- Search element topic (DFS)
- 解决项目跨域问题
- 2500个常用中文字符 + 130常用中英文字符
- [leetcode daily clock in] 1020 Number of enclaves
- Seata聚合 AT、TCC、SAGA 、 XA事务模式打造一站式的分布式事务解决方案
- 保存和检索字符串
- Oracle Performance Analysis 3: introduction to tkprof
- [Digital IC hand tearing code] Verilog burr free clock switching circuit | topic | principle | design | simulation
- Attack and defense world miscall
猜你喜欢

Barcodex (ActiveX print control) v5.3.0.80 free version

PVL EDI project case
![[linear algebra] determinant of order 1.3 n](/img/6e/54f3a994fc4c2c10c1036bee6715e8.gif)
[linear algebra] determinant of order 1.3 n

C # realizes crystal report binding data and printing 4-bar code

Powerful domestic API management tool

Spatial domain and frequency domain image compression of images

二分图判定
![[10:00 public class]: basis and practice of video quality evaluation](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
[10:00 public class]: basis and practice of video quality evaluation

2022年6月国产数据库大事记-墨天轮

0 basic learning C language - interrupt
随机推荐
PVL EDI project case
What a new company needs to practice and pay attention to
图像的spatial domain 和 frequency domain 图像压缩
Seata aggregates at, TCC, Saga and XA transaction modes to create a one-stop distributed transaction solution
经纪xx系统节点VIP案例介绍和深入分析异常
Four data streams of grpc
Force deduction question 500, keyboard line, JS implementation
The nearest common ancestor of binary (search) tree ●●
2500 common Chinese characters + 130 common Chinese and English characters
(十八)LCD1602实验
GPS from getting started to giving up (XI), differential GPS
Chapter 3: detailed explanation of class loading process (class life cycle)
AI enterprise multi cloud storage architecture practice | Shenzhen potential technology sharing
OpenCV VideoCapture. Get() parameter details
[sdx62] wcn685x will bdwlan Bin and bdwlan Txt mutual conversion operation method
第4章:再谈类的加载器
Management background --4, delete classification
Save and retrieve strings
【sciter Bug篇】多行隐藏
保存和检索字符串