当前位置:网站首页>HCIP 重发布实验
HCIP 重发布实验
2022-06-23 03:54:00 【空丶白灬】

IP如图
一、配置静态
[r4]ip route-static 10.5.5.5 32 10.1.16.2
[r5]ip route-static 0.0.0.0 0 10.1.16.1
二、配置RIP
[r1]rip
[r1-rip-1]v 2
[r1-rip-1]undo su
[r1-rip-1]undo summary
[r1-rip-1]net 10.0.0.0
R2 R3 同理
三、配置OSPF
[r2]ospf 1 r
[r2]ospf 1 router-id 2.2.2.2
[r2-ospf-1]a 0
[r2-ospf-1-area-0.0.0.0]net 10.1.14.0 0.0.0.255
其他同理
四、重发布
[r2-ospf-1]import-route rip
[r2]rip
[r2-rip-1]import-route ospf
[r3-ospf-1]import-route rip
[r3]rip
[r3-rip-1]import-route ospf
[r4]ospf 1
[r4-ospf-1]import-route static
5指向1 出问题
一、 使用filter-policy 在RIP侧过滤10.5.5.5的路由
[r2]acl 2000
[r2-acl-basic-2000]rule deny source 10.5.5.5 0
[r2-acl-basic-2000]rule permit
[r2]ip ip-prefix 1 deny 10.5.5.5 32
[r2]ip ip
[r2]ip ip-prefix 1 permit 0.0.0.0 0 less-equal
[r2]rip
[r2-rip-1]filter-policy ip-prefix 1 import 
R3同理
二、使用 preference 加 route-policy 精确修改优先级
[r3]ip ip-prefix p index 10 permit 10.5.5.5 32
[r3]route-policy p permit node 10
[r3-route-policy]if-match ip-prefix p
[r3-route-policy]apply preference 160
[r3]rip 1
[r3-rip-1]preference route-policy p
R2同理
边栏推荐
- 当SBAS遇上rtklib
- ZK has a node reporting it is possible not running and the log has no obvious error
- 1183. electricity
- Composer by installation laravel
- How to use data to tell a wonderful story?
- 传统意义上的互联网式的平台或将不复存在,一个融合的产业特质和互联网特质的全新产业
- 微信小程序:全新趣味测试
- Official download and installation of QT and QT vs tools plug-ins
- Parameter passing of 18 generator function
- 微信小程序:爱情保证书制作生成
猜你喜欢

With the arrival of intelligent voice era, who is defining AI in the new era?

Win10 view my Ini path

Less than a year after development, I dared to ask for 20k in the interview, but I didn't even want to give 8K after the interview~

【OFDM通信】基于matlab OFDM多用户资源分配仿真【含Matlab源码 1902期】

dolphinscheduler 2.0.5 任务测试(spark task)报错:Container exited with a non-zero exit code 1

微信小程序:全新趣味测试

ICer技能03Design Compile

元数据管理Apache Atlas编译(内嵌式)部署及遇到各种错误记录

Separate use of alertmanager alarms and use of Prometheus configuration alarm rules

入行软件测试5年,跳槽3次,我摸透了软件测试这一行
随机推荐
ICer技能03Design Compile
微信小程序:微信也可以发闪照了闪照制作生成微信小程序源码下载,自定义闪照时间
Brief ideas and simple cases of JVM tuning - why do you need JVM tuning?
"Wechat applet - Basics" takes you to understand the routing system of the applet (2)
Less than a year after development, I dared to ask for 20k in the interview, but I didn't even want to give 8K after the interview~
How to better organize the minimum web api code structure
The technological advance of new employees? Journey
Dsp7 environment
【图像融合】基于非凸罚分的稀疏正则化实现图像融合附matlab代码
SwiftUI 2.0 课程笔记 Chapter 4
Li Kou today's question 513 Find the value in the lower left corner of the tree
Talk about the composite pattern in C #
Automatically add watermark to screenshot
ICer技能02makefile脚本自跑vcs仿真
centos7部署docker,安装mysql
单行或多行文本溢出,省略号代替
Go learning record II (window)
使用PX4的ECL进行多传感器数据融合的后处理
强推,软件测试快速入门,一看就会
The solution to prompt "this dictionary creation could be rewritten as a dictionary literal" when updating the dictionary key value in pychart