当前位置:网站首页>Multipoint bidirectional republication and routing strategy topology experiment
Multipoint bidirectional republication and routing strategy topology experiment
2022-07-27 02:31:00 【m0_ seventy-two million five hundred and eighty-six thousand an】
Catalog
Two 、 The experimental requirements
3、 ... and 、 The experimental steps
One 、 The experiment purpose
The topology environment shown in the figure below meets the experimental requirements through the use of multi-point bidirectional republishing and routing strategies 
Two 、 The experimental requirements
1. Use multipoint bidirectional republishing
2. All routers choose the best route
3. There is a backup path , No loop and route feedback
4.R1 Except for self loopback , Plus 4 Strip loop , And change the following parameters
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、 ... and 、 The experimental steps
1. Change device name
With R1 For example :
[Huawei]sysname r1
[r1]

2. RIP and OSPF Declare
1)R1
[R1]rip 1
[R1-rip-1]version 2
[R1-rip-1]network 1.0.0.0
[R1-rip-1]network 12.0.0.0
[R1-rip-1]network 14.0.0.0
[R1-rip-1]network 172.16.0.0
2)R2
[R2]rip 1
[R2-rip-1]version 2
[R2-rip-1]network 12.0.0.0
[R2-rip-1]network 2.0.0.0
[R2]ospf 1 router-id 2.2.2.2
[R2-ospf-1]area 0.0.0.0
[R2-ospf-1-area-0.0.0.0]network 23.1.1.0 0.0.0.255 3)R3
[R3]ospf 1
[R3-ospf-1]ospf 1 router-id 3.3.3.3
[R3-ospf-1-area-0.0.0.0]network 34.1.1.0 0.0.0.255
[R3-ospf-1-area-0.0.0.0]network 3.3.3.0 0.0.0.255
[R3-ospf-1-area-0.0.0.0]network 23.1.1.0 0.0.0.255
4)R4
[R4]rip 1
[R4-rip-1]version 2
[R4-rip-1]network 14.0.0.0
[R4]ospf 1 router-id 4.4.4.4
[R4-ospf-1]area 0.0.0.0
[R4-ospf-1-area-0.0.0.0]network 4.4.4.0 0.0.0.255
[R4-ospf-1-area-0.0.0.0]network 34.1.1.0 0.0.0.255 3. Two way republication
stay R2 and R4 Two way republishing on , With R2 For example
[R2]rip 1
[R2-rip-1]import-route ospf 1
[R2]ospf 1
[R2-ospf-1]import-route rip 1
4. Routing interference
because ospf When the protocol passes the local loopback interface network segment , by 32 Bit host routing ; However, if the local loopback is imported into other routes through republication , Based on the direct route in the local route table ; If the local direct route is of other length , This will make the network appear two different ways of mask transmission in the whole network ;
Therefore, it is necessary to modify the network type of the loopback interface on each router
With R2 For example
[R2]interface LoopBack 0
[R2-LoopBack0]ospf network-type broadcast
5. Routing strategy
According to the experimental needs, it is necessary to R2 and R4 Use routing policy on
With R2 For example
[R2]ip ip-prefix a deny 172.16.1.0 24
[R2]ip ip-prefix b permit 172.16.2.0 24
[R2]ip ip-prefix c permit 172.16.3.0 24
[R2]ip ip-prefix d permit 172.16.4.0 24
[R2]route-policy a permit node 10
[R2-route-policy]if-match ip-prefix a
[R2]route-policy a permit node 20
[R2-route-policy]if-match ip-prefix b
[R2-route-policy]apply cost-type type-1
[R2]route-policy a permit node 30
[R2-route-policy]if-match ip-prefix c
[R2-route-policy]apply cost 6
[R2]route-policy a permit node 40
[R2-route-policy]if-match ip-prefix d
[R2-route-policy]apply cost-type type-1
[R2-route-policy]apply cost 9
[R2]route-policy a permit node 50
[r2]ospf 1
[r2-ospf-1]import-route rip 1 route-policy astay R3 Look at the effect

As mentioned above : All the requirements of the experiment have been met , Successful experiment .
边栏推荐
- Guangguangzai's CSDN journey
- [draw rectangular coordinate system in C language]
- 膜拜,阿里内部都在强推的321页互联网创业核心技术pdf,真的跪了
- HCIP 双向重发布以及路由策略
- How to judge whether a number is odd or even?
- Nb-iot access to cloud platform
- MySQL course 1. simple command line -- simple record welcome to supplement and correct errors
- C语言的常数知识讲解
- oSPF基础实验配置
- Solve every bit of an integer
猜你喜欢

Is it useful to lie down with your eyes closed when you can't sleep?

C language -- while statement, dowhile statement, for loop and loop structure, break statement and continue statement

Lvs+keepalived project practice

HCIP 双向重发布以及路由策略

【你了解Cache吗——全面理解高速缓冲存储器】

三个整数从大到小排序(详细介绍多种方法)

【C语言程序设计】分支结构

(CF1691D) Max GEQ Sum

C language - array, string handler, strlen, strcpy and strncpy, strcat and strncat, StrCmp and strncmp

Codeforces Round #807 (Div. 2), problem: (C) Mark and His Unfinished Essay
随机推荐
C语言 学生信息管理系统 基于数组 可以存取到文本文件
C language -- nesting of relational and logical operators, if statements, switch statements, and branch structures
Codeforces Round #796 (Div. 2), problem: (1688C) Manipulating History
HCIP-第五天-OSPF扩展配置实验
[C language programming] branch structure
Wechat applet: user wechat login process (attached: flow chart + source code)
Guangguangzai's CSDN journey
静态路由基本配置 实现全网可达
go语言慢速入门——go运算符
(super detailed version, don't know to comment at any time) codeforces round 804 (Div. 2) C the third problem
Is it useful to lie down with your eyes closed when you can't sleep?
LabelImg标注的xml格式转yolov5
【C语言程序设计】分支结构
【降维打击,带你深度学习CPU(上)】
【你了解Cache吗——全面理解高速缓冲存储器】
【洋哥带你玩转线性表(一)——顺序表】
光光光仔的CSDN之旅
The latest JD SMS login + silly girl robot nanny level deployment tutorial (July 24, 2022)
有趣的C语言
全网显示 IP 归属地,是怎么实现的?
