当前位置:网站首页>Comprehensive experiment of ENSP on OSPF
Comprehensive experiment of ENSP on OSPF
2022-07-23 06:35:00 【Jeff657】
The experimental requirements
1,R4 by ISP, Can only be configured on it IP Address ;R4 Shared with all other directly connected equipment IP.
2,R3 - R5/6/7 by MGRE Environmental Science ,R3 For the central site .
3, The whole network configuration OSPF Environmental Science ,IP be based on 172.16.0.0/16 Segment division .
4, All devices have a loopback interface ,R3 Loop back in area1 Announced in ,R6 R7 Loop back in area1 Announced in , All equipment Accessible R4 Loopback .
5, Reduce LSA Update quantity of , Speed up convergence , To ensure the security of updates .
6, Network wide accessibility .
Experimental environment

The experimental steps
1. Reasonably divide network segments
R3 - R4 The common network segment divided between is — 34.0.0.0/24
R4 - R5 The common network segment divided between is — 45.0.0.0/24
R4 - R6 The common network segment divided between is — 46.0.0.0/24
R4 - R7 The common network segment divided between is — 47.0.0.0/24
R4 The loopback network segment of is — 4.4.4.0/24
2. Division of private network segments
In this experiment , share 5 Areas and one RIP Area , Therefore, at least the network segment should be divided into Six main network segments
172.16.0.0/16
172.16.0.0/19
172.16.32.0/19
172.16.64.0/19
172.16.96.0/19
172.16.128.0/19
172.16.160.0/19
172.16.192.0/19
172.16.224.0/19
In these eight network segments , Just choose six as private network segments , Other network segments can be reserved for backup .
(1)Area 0 Zoning
172.16.0.0/24 --- As P2P Network segment
172.16.0.0/30
172.16.0.4/30
172.16.0.8/30
172.16.0.12/30
....
172.16.1.0/24 ---MA The backbone
172.16.1.0/29 ---MGRE Environmental Science
172.16.1.8/29
172.16.1.16/29
.....
172.16.2.0/24 --- R5 The loopback of
172.16.3.0/24 --- R6 The loopback of
172.16.4.0/24 --- R7 The loopback of
Configure... On each router IP Address , In area 0 The router on the needs to manually configure one to ISP The default route for .
(2)Area 1 Zoning
172.16.32.0/19
172.16.32.0/30 --- P2P The backbone of
172.16.32.4/30
172.16.32.8/30
....
172.16.33.0/24 --- MA The backbone of
172.16.33.0/29
172.16.33.8/29
172.16.33.16/29
....
172.16.34.0/24 --- R1 The loopback of
172.16.35.0/24 --- R2 The loopback of
172.16.36.0/24 --- R3 The loopback of
(3)Area 2 Zoning
172.16.64.0/19
172.16.64.0/30 --- P2P The backbone of
172.16.65.0/24 --- MA The backbone of
172.16.65.0/29
...
172.16.66.0/24 --- R11 The loopback of
172.16.160.0/19 ---RIP
172.16.160.0/20
172.16.176.0/20
(4)Area 3 Zoning
172.16.96.0/19
172.16.96.0/30 --- P2P The backbone of
172.16.97.0/24 --- MA The backbone of
172.16.97.0/29
....
172.16.98.0/24 --- R8 The loopback of
172.16.130.0/24 --- R9 The loopback of
172.16.131.0/24 --- R10 The loopback of
(5)Area 4 Zoning
172.16.128.0/19
172.16.128.0/30 --- P2P The backbone of
....
172.16.129.0/24 --- MA The backbone of
172.16.129.0/29
...
172.16.130.0/24 --- R9 The loopback of
172.16.131.0/24 --- R10 The loopback of
Specifically IP Address configuration
R1:
R2:
R3:
R4:
R5:
R6:
R7:
R8:
R9:
R10:
R11:
R12:
establish OSPF process
According to the area divided by the topic , Make the right announcement .
R1:
[r1]ospf 1
[r1]ospf 1 router-id 1.1.1.1
[r1-ospf-1]a 1
[r1-ospf-1-area-0.0.0.1]network 172.16.0.0 0.0.255.255
The rest of the routers , And so on .
The specific parameters are as follows :
R1:
R2:
R3:
R5:
R6:
R7:
R8:
R9:
R10:
R11:
R12:
Turn on RIP
stay R12 Upper opening RIP process , And republish .
stay OSPF in :
stay R9 Start dual processes on , convenient R10 Be able to obtain routing information .
In area 1 Delete inside :
[r9-ospf-1-area-0.0.0.4]undo network 172.16.128.0 0.0.3.255
Create a process 2, And re announce :
[r9]ospf 2 router-id 9.9.9.9
[r9-ospf-2]a 4
[r9-ospf-2-area-0.0.0.4]network 172.16.128.0 0.0.3.255

After starting the dual process , Need to be in OSPF 1 Make an announcement in .
[r9]ospf 1
[r9-ospf-1]import-route ospf 2
Reduce LSA Routing information
1. Summary
First, summarize the inter domain routes :(R3\R6\R7)
stay R3 Route summary on :
[r3]ospf
[r3-ospf-1]a 1
[r3-ospf-1-area-0.0.0.1]abr-summary 172.16.32.0 255.255.224.0
stay R6 Route summary on :
[r6]ospf
[r6-ospf-1]a 2
[r6-ospf-1-area-0.0.0.2]abr-summary 172.16.64.0 255.255.224.0
stay R7 Route summary on :
[r7]ospf
[r7-ospf-1]a 3
[r7-ospf-1-area-0.0.0.3]abr-summary 172.16.96.0 255.255.224.0
Extraterritorial routing summary :
R12 On :
[r12]ospf
[r12-ospf-1]asbr-summary 172.16.160.0 255.255.224.0
R9 On :
[r9]ospf
[r9-ospf-1]asbr-summary 172.16.128.0 255.255.224.0
2. Special area
Common terminal area :
stay R1 On :
[r1]ospf 1
[r1-ospf-1]a 1
[r1-ospf-1-area-0.0.0.1]stub
Router R2,R3 Same as above . but R3 Other operations need to be configured on :
[r3-ospf-1-area-0.0.0.1]stub no-summary
therefore , Area 1 It can become a complete terminal area .
stay R6 On :
[r6]ospf
[r6-ospf-1]a 2
[r6-ospf-1-area-0.0.0.2]nssa no-summary
stay R11 On :
[r11]ospf
[r11-ospf-1]a 2
[r11-ospf-1-area-0.0.0.2]nssa
R12 Also operate as above .
stay R7 On :
[r7]ospf
[r7-ospf-1]a 3
[r7-ospf-1-area-0.0.0.3]nssa no-summary
R8 On :
[r8]ospf
[r8-ospf-1]a 3
[r8-ospf-1-area-0.0.0.3]nssa
R9 Same as above .
stay R9 The process of 2 Middle configuration :
[r9]ospf 2
[r9-ospf-2]default-route-advertise
Configure empty interface
stay R3 On :
[r3]ip route-static 172.16.32.0 255.255.224.0 NULL 0
As long as there is a summary router , All need to be configured .
visit R4 Loopback
[r3]acl 2000
[r3-acl-basic-2000]rule permit source 172.16.0.0 0.0.255.255
[r3]int s4/0/0
[r3-Serial4/0/0]nat outbound 2000
rest R5\R6\R7 The above configuration is required .
test

thus , This experiment is completed !!!
边栏推荐
- Selenium error reporting solution
- 爱奇艺向抖音开启授权,打开内容价值的新大门
- XML架构
- R语言求导数
- Evolution Atlas of interface documents. People who have used the first interface document tool are exposed to their age
- Sentence Bert + Milvus to realize intelligent question answering system
- Elementary analysis of graph convolution neural network (GCN)
- Win11使用CAD卡顿或者致命错误怎么办?Win11无法正常使用CAD
- Li Xiang, director of ZTE cloud infrastructure open source and standards: open source risks and open source governance for enterprises
- [foundation 3] - structure and function
猜你喜欢

安装不了schedule

Redis集群搭建

接口文档进化图鉴, 用过第一款接口文档工具的人暴露年龄了

重磅!《2022中国开源发展蓝皮书》正式发布

第6.3章:ARM架构下手动编译StarRocks(拓展篇)

Image-to-Image Translation with Conditional Adversarial Networks 论文笔记

Oracle switches users and queries database commands under linux environment

Buuctf miscellaneous - QR code

开放原子开源基金会副秘书长刘京娟:中国开源发展现状及趋势思考

Memory allocation of string in JVM
随机推荐
Stack overflow basic exercise - 5 (string vulnerability)
Derivative in R language
Golang AES encryption and decryption
数据防泄密方案中的沙盒技术是什么?
MNIST dataset
R语言 动态气泡图
Conditions affecting interface query speed
最大连续子序列--每日一题
内存泄漏和溢出
Dedecms V5.7.97 contain an XSS vulnerability
Drawing lollipop chart with R language
Encoder decoder (seq2seq)
Evolution Atlas of interface documents. People who have used the first interface document tool are exposed to their age
Chapter7 recurrent neural network-2
Pytoch realizes text emotion analysis
Nftscan and ATEM network have reached strategic cooperation in the field of NFT data
China's open source is moving towards the second tier!
如何为您的企业设置内部Wiki?
视频直播系统源码,保存平台视频内容到本地
Live video source code, reset the relevant changes of the current password