当前位置:网站首页>【HCIP】重发布、重分布、重分发实验
【HCIP】重发布、重分布、重分发实验
2022-07-27 04:06:00 【韵晟】
1.实验拓扑图:

2.实验要求:
1.使用双点双向重发步
2.所有路由器进行最佳选路
3.存在备份路径,不得出现环路,和路由回馈
R1除本身环回外,外加几条环回
172.16.1.0/24 deny
172.16.2.0/24 type 1
172.16.3.0/24 cost 6
172.16.4.0/24 type 1 cost 9
更改如上参数
3.实验思路:
(1)先对于每台路由器进行IP配置
(2)起RIP,OSPF
(3)写策略,重发步
(4)查看路由表
4.配置命令:
配置IP,以(R1为例)

写入动态路由(RIP,OSPF)



对R2,R4写策略:


查看R3路由表:(判断是否达到实验要求)

注:
由于要实现备份的效果,也为了能够尽量的展示清楚:
小编在这里简述一下:
由于R1的环回接口2修改了度量值,所以在路由表只能看到一条路由,环回3,4,由于在R2,R4配置一样所以有两条路由,原因在与cost相同,还有由于修改了Type类型,(type1优先与Type2)
补充知识点:
重发布、重分布、重分发;
一台路由器同时工作在两种不同的路由协议中,或者相同协议的不同进程中;
由于算法和数据库的独立,故两种协议或进程默认不共享路由信息;
可以让该设备成为ASBR来实现路由共享,最终全网可达;
条件:
必须存在ASBR(自治系统边界路由器、协议边界路由器)
必须考虑种子度量--- A协议发布B协议时,由于两种协议的度量计算规则不同,故不会共享A协议的度量,而是ASBR将路由发布到B协议时,添加一个数字来作为B协议的起始度量;
名词注解:
单点单向重发布
单点双向重发布
多点单向重发布
多点双向重发布
规则:
将A协议发布到B协议时(A协议的路由共享到B协议),在ASBR上的B协议中进行配置
将A协议发布到B协议时,是将ASBR上所有通过A协议学习的路由条目,以及ASBR直连工作在A协议的路由全部共享到B协议;
配置命令:
3方面
AàB 一种动态路由协议发布到另一种动态路由协议中
静态àB 将ASBR上的静态路由条目重发布到一种动态路由协议中
直连àB 将ASBR上未宣告在B协议中的直连路由重发布到B协议
即便要拒绝一个流量,在抓取时也必须使用允许,之后在路由策略来拒绝;
至上而下逐一匹配,上条匹配按上条执行,不再查看下条,末尾隐含拒绝所有
在一条规则中,若没有进行流量匹配那就是匹配所有;若没有应用那么仅对匹配流量进行当前大动作;
因此大动作为允许的空表代表允许所有;
或 与 关系
或关系为每个站点(每个序号)间为或关系;
序号10没匹配到流量,再序号20;
边栏推荐
- Oracle数据库字段date怎么才能走索引?
- els_ Rectangle drawing, code planning and backup
- Understand kingbasees V9 in one picture
- [leetcode] day104 no overlapping interval
- People don't talk much, engineers don't talk much
- [machine learning network] BP neural network and deep learning-6 deep neural networks (DNN)
- Plato Farm全新玩法,套利ePLATO稳获超高收益
- spark练习案例(升级版)
- [day02] Introduction to data type conversion, operators and methods
- Hash (hash)
猜你喜欢

无有线网络下安装并配置debian

e. The difference between target and e.currenttarget

【C语言】递归详解汉诺塔问题

Head detached from origin/... Causes push failure

Easy to use shell shortcuts
![[Code] sword finger offer 04 search in two-dimensional array](/img/7d/a6693bfd24af9d9587539dda458d27.png)
[Code] sword finger offer 04 search in two-dimensional array

第二轮Okaleido Tiger即将登录Binance NFT,或持续创造销售神绩

Okaleido tiger will log in to binance NFT in the second round, or continue to create sales achievements

Spark practice case (upgraded version)

匿名命名管道, 共享内存的进程间通信理解与使用
随机推荐
js修改对象数组的key值
Detailed explanation of TCP protocol knowledge
Plato farm has a new way of playing, and the arbitrage eplato has secured super high returns
Easy to use shell shortcuts
Playwright web crawler actual battle case sharing
项目参数做成可配置项,@ConfigurationProperties注解的使用
C get UUID
JVM调优中的一些常见指令
Do you know about wechat merchant billing?
第二轮Okaleido Tiger即将登录Binance NFT,或持续创造销售神绩
Navicat exports Mysql to table structure and field description
Hash table questions (Part 2)
[final review of software engineering] knowledge points + detailed explanation of major problems (E-R diagram, data flow diagram, N-S box diagram, state diagram, activity diagram, use case diagram...)
HEAD detached from origin/...导致push失败
The project parameters are made into configurable items, and the @configurationproperties annotation is used
Eureka service registry
数据分析师岗位分析
Overview of communication protocols
e. The difference between target and e.currenttarget
Some common instructions in JVM tuning