当前位置:网站首页>OSPF comprehensive experiment
OSPF comprehensive experiment
2022-07-22 10:18:00 【qq_ fifty-two million one hundred and seventy-eight thousand fi】
1. Experimental requirements and topological diagram
2. Divide well IP The topology of
3. experimental analysis
1, R4 by ISP, Can only be configured on it IP Address ; R4 Public equipment is used with all other directly connected equipment IP
And ISP Direct connected devices need to be configured to point ISP The default route for ( Here only R3 To configure ), Private network wants ping Connect to the public network and configure NAT
[r3]ip route-static 0.0.0.0 0 172.16.32.3
[r3]acl 2000
[r3-acl-basic-2000]rule permit source 172.16.32.0 0.0.31.255
[r3-acl-basic-2000]int s 4/0/0
[r3-Serial4/0/0]nat outbound 2000
2,R3,R5/6/7 by MGRE Environmental Science ,R3 For the central site
r3 Central configuration
[r3]int t 0/0/0
[r3-Tunnel0/0/0]ip ad 172.16.24.1 21
[r3-Tunnel0/0/0]tunnel-protocol gre p2mp
[r3-Tunnel0/0/0]source 34.0.0.1
[r3-Tunnel0/0/0]nhrp network-id 100
[r3-Tunnel0/0/0]nhrp entry b d
R5/6/7 To configure ( Are similar , Here only configure R5, If you want to see similar detailed configurations , see (51 Bar message ) PPP,GRE,MGRE,RIP Related experiments _qq_52178594 The blog of -CSDN Blog )
[r5]int t 0/0/0
[r5-Tunnel0/0/0]ip ad 172.16.24.2 21
[r5-Tunnel0/0/0]tunnel-protocol gre p2mp
[r5-Tunnel0/0/0]source s 4/0/0
Jul 17 2022 18:58:34-08:00 r5 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface Tunnel0/0/0 has entered the UP state.
[r5-Tunnel0/0/0]nhrp network-id 100
[r5-Tunnel0/0/0]nhrp entry 172.16.24.1 34.0.0.1 register
3, Whole OSPF Environmental Science IP be based on 172.16.0.8/16 Divide ;
IP The first step of configuration has been divided , A little
To configure OSPF Environmental Science (GRE In the environment, you also need to modify the network type of the interface , Otherwise, it is impossible to build neighbors )
[r1]ospf 1r
[r1]ospf 1 r
[r1]ospf 1 router-id 1.1.1.1
[r1-ospf-1]a 1
[r1-ospf-1-area-0.0.0.1]net 172.16.32.0 0.0.31.255
[r2]ospf 1 r
[r2]ospf 1 router-id 2.2.2.2
[r2-ospf-1]a 1
[r2-ospf-1-area-0.0.0.1]net
[r2-ospf-1-area-0.0.0.1]network 172.16.32.0 0.0.31.255
[r3]ospf
[r3-ospf-1]a 0
[r3-ospf-1-area-0.0.0.0]net 172.16.24.0 0.0.7.255
[r4]ospf 1 router-id 4.4.4.4
[r4-ospf-1]a 0
[r4-ospf-1-area-0.0.0.0]net
[r4-ospf-1-area-0.0.0.0]network 4.4.4.4 0.0.0.0
[r4-ospf-1-area-0.0.0.0]net 47.0.0.2 0.0.0.0
[r4-ospf-1-area-0.0.0.0]network 4.4.4.4 0.0.0.255
(R5-R12 The configurations are similar , A little )
4, All devices are accessible R4 The loopback of ;
To configure NAT service , See step one
5, Reduce LSA Update quantity of , Speed up convergence , To ensure the security of updates ;
Reduce LSA Update quantity of : Route summary between regions and within regions , Configure special areas (ABR The device is configured with )
Area 1 To configure ( Completely peripheral area )
[r1-ospf-1-area-0.0.0.1]stub
[r2-ospf-1-area-0.0.0.1]stub
[r3-ospf-1-area-0.0.0.1]abr-summary 172.16.32.0 255.255.224.0
[r3-ospf-1-area-0.0.0.1]stub
[r3-ospf-1-area-0.0.0.1]stub no-summary
[r3]ip route-static 172.16.32.0 19 NULL 0 ( After the summary is completed, an empty interface needs to be configured , Otherwise, black hole routing will occur )
Area 2(NSSA Area , Summary omitted )
[r6]ospf
[r6-ospf-1]a 2
[r6-ospf-1-area-0.0.0.2]nssa no-summary
[r11-ospf-1-area-0.0.0.2]nssa
[r12-ospf-1-area-0.0.0.2]nssa
Area 3 It's also NSSA Area , The configuration is the same as above
Area 4
ABR Individual republication on the equipment , And issue a default
[r9-ospf-1]import ospf 1
[r9-ospf-2]default-route-advertise
Speed up convergence : modify Hello Packet time (gre Just change it in the environment , Others are ten seconds , Not too fast )
[r3-Tunnel0/0/0]ospf timer hello 10
[r5-Tunnel0/0/0]ospf timer hello 10
[r6-Tunnel0/0/0]ospf timer hello 10
[r7-Tunnel0/0/0]ospf timer hello 10
To ensure the security of updates : Conduct manual certification ( Regional certification is enough , Interface authentication requires configuration one by one )
[r3-ospf-1-area-0.0.0.1]authentication-mode md5 1 cipher 123456
边栏推荐
- [information system project manager] Chapter IV comprehensive management knowledge structure
- Autojs learning - achieve file download progress
- Suppose overflow:hidden is set in the div, and there is a select box in it. What if it is covered?
- 银河证券vip链接开户安全吗,佣金最低多少的?
- 能量原理与变分法笔记02:变分问题 变分和微分运算能交换次序 欧拉方程
- 标准输入输出流
- Highly concerned, list of the latest agenda of 2022 open atom open source Summit
- 能量原理与变分法笔记07: 多个自变函数的变分问题+条件极值问题的变分法+第一章的思考
- Why are there career bottlenecks for test / development programmers? It seems that everything has changed
- 东方财富开户安全吗,要什么证件呢
猜你喜欢
Rhcsa compression also includes decompression, tar archive command, file upload and download, variables in sehll, command alias, and command history
How does Apache, the world's largest open source foundation, work?
JS type conversion
"Everything is interconnected, enabling thousands of industries", the 2022 open atom global open source summit openatom openharmony sub forum is about to open
能量原理与变分法笔记10:虚位移原理
测试员官方承认的“五个等级”,来看看你处于哪个阶段?
能量原理与变分法笔记04:自然边界条件
Intel joins hands with Baidu to promote the process of industrial intelligence and build a green future together
Basic concept of MySQL database and deployment of MySQL version 8.0 (I)
Equal principal increasing repayment / equal principal decreasing mortgage repayment calculator
随机推荐
Recommend the source code of the finished live broadcast, and set the system date, time and time zone
Différences entre les liens durs et les liens souples de rhcsa, interprétation des répertoires de premier niveau, redirection, création de fichiers et de répertoires, suppression de fichiers et de rép
什么是云渲染?渲染速度有多快?一文告诉你
OSPF 综合实验
Energy principle and variational method note 05: examples of natural boundary conditions
How many months did you write your first SCI? (Part II)
After leaving Google, the former head of go language changed to a small company
2020华泰证券开户安全吗?是正规的券商吗
<3>比较器Comparator的使用
Intel joins hands with Baidu to promote the process of industrial intelligence and build a green future together
d是矩形.
能量原理与变分法笔记09: 虚功原理的例子
Find all letter ectopic words in the string
成品直播源码推荐,设置系统日期时间和时区
Understanding of web standards and W3C?
Realization of bank card number recognition with OpenCV
Short video live source code, uniapp jump page carries Id
Implementation class LinkedList
Rhcsa browsing common file usage, use of grep, cut, uniq, sort, TR commands
从 Google 离职,前Go 语言负责人跳槽小公司