当前位置:网站首页>Hcip day 6 OSPF static experiment
Hcip day 6 OSPF static 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
2. IP Division and interface configuration
3. structure MGRE Environment and configuration default routes
5.OSPF Announcement and RIP Declare
6. Multi process bidirectional republication
8. Empty interface configuration
9. Complete terminal area and NSSA Area
One 、 The experiment purpose
adopt OSPF Routing information protocol ( Dynamic routing ) Configure the topology environment shown in the figure below to meet the specified experimental requirements 
Two 、 The experimental requirements
1.R4 by ISP, Can only be configured on it IP Address ;R4 It is used with all other directly connected equipment IP;
2.R3---R5/6/7 by MGRE Environmental Science ,R3 For the center ;
3. Whole OSPF The environment address is 172.16.0.0/16
4. All devices are accessible R4 The loopback of ;
5. Reduce LSA Update quantity of ;
6. Network wide accessibility ;
3、 ... and 、 The experimental steps
1. Change device name
With R1 For example :
[Huawei]sysname r1
[r1]

2. IP Division and interface configuration
The whole topology environment has 6 Regions , So it will 172.16.0.0/16 Divided into 6 Net segment
①OSPF 1
1)Area 0
total 172.16.0.0/19
The backbone 172.16.0.0/21
Loopback
172.16.8.0/21
172.16.16.0/21
172.16.24.0/21
2)Area 1
total 172.16.32.0/19
The backbone
AR3-4 34.1.1.0/24
AR4-5 45.1.1.0/24
AR4-6 46.1.1.0/24
AR4-7 47.1.1.0/24
Loopback
172.16.32.0/21
172.16.40.0/21
172.16.48.0/21
172.16.56.0/21
3)Area2
total 172.16.64.0/19
The backbone
172.16.64.0/21
172.16.72.0/21
Loopback
172.16.80.0/21
4)AR3
total 172.16.96.0/19
The backbone
172.16.96.0/21
172.16.104.0/21
Loopback
172.16.112.0/21
②OSPF 2
Area 4
total 172.16.128.0/19
The backbone
172.16.128.0/21
Loopback
172.16.136.0/21
172.16.144.0/21
③RIP
total 172.16.160.0/19
Loopback
172.16.160.0/21
172.16.168.0/21
④Tunnel
Four interfaces
AR3 10.1.1.1/24
AR5 10.1.1.2/24
AR6 10.1.1.3/24
AR7 10.1.1.4/24
With R4 For example
[R4]interface S3/0/0
[R4-Serial3/0/0]ip address 34.1.1.4 255.255.255.0
[R4]interface S3/0/1
[R4-Serial3/0/1]ip address 45.1.1.4 255.255.255.0
[R4]interface S4/0/0
[R4-Serial4/0/0]ip address 46.1.1.4 255.255.255.0
[R4]interface S4/0/1
[R4-Serial4/0/0]ip address 47.1.1.4 255.255.255.0
[R4]interface LoopBack 0
[R4-LoopBack0]ip address 172.16.32.1 255.255.248.0
3. structure MGRE Environment and configuration default routes
Respectively by AR3( Center point ) and AR5( A site ) For example
R3
[R3]ip route-static 0.0.0.0 0 34.1.1.4
[R3]int t0/0/0
[R3-Tunnel0/0/0]ip address 10.1.1.1 255.255.255.0
[R3-Tunnel0/0/0]tunnel-protocol gre p2mp
[R3-Tunnel0/0/0]source 34.1.1.3
[R3-Tunnel0/0/0]ospf network-type broadcast
[R3-Tunnel0/0/0]nhrp entry multicast dynamic
[R5-Tunnel0/0/0]ospf network-type broadcast R5
[R3]ip route-static 0.0.0.0 0 45.1.1.4
[R5]int t0/0/0
[R5-Tunnel0/0/0]ip address 10.1.1.2 255.255.255.0
[R5-Tunnel0/0/0]tunnel-protocol gre p2mp
[R5-Tunnel0/0/0]source Serial 4/0/0
[R5-Tunnel0/0/0]ospf network-type broadcast
[R5-Tunnel0/0/0]nhrp entry 10.1.1.1 34.1.1.3 register
[R5-Tunnel0/0/0]ospf network-type broadcast
[R5-Tunnel0/0/0]ospf dr-priority 0R5/6/7 Of ospf dr-priority All changed to 0, Re elect after completion ,DR by R3;
4.NAT address translation
to R3/5/6/7 To configure NAT address translation
With AR3 For example
R3
[R3]acl 2000
[R3-acl-basic-2000]rule 1 permit source any
[R3]int s4/0/0
[R3-Serial4/0/0]nat outbound 2000
5.OSPF Announcement and RIP Declare
To divide R4 Outside of the R1-R11 The router does OSPF Declare , to R12 The router does RIP Declare
notes R10 Of OSPF The process and R9 Of s4/0/0 Interface OSPF The process is OSPF 2
With R3 and R12 For example
R3
[R3]ospf 1 router-id 3.3.3.3
[R3-ospf-1]area 1
[R3-ospf-1-area-0.0.0.1]network 172.16.0.3 0.0.0.0
[R3-ospf-1-area-0.0.0.1]network 172.16.24.1 0.0.0.0
[R3-ospf-1]area 0
[R3-ospf-1-area-0.0.0.0]network 10.1.1.1 0.0.0.0
[R3-ospf-1-area-0.0.0.0]network 34.1.1.3 0.0.0.0
R12
[R12]rip
[R12]rip 1
[R12-rip-1]version 2
[R12-rip-1]network 172.16.0.0
6. Multi process bidirectional republication
take OSPF 2 Of Area 4 Areas and RIP 1 Area republished to OSPF 1 Area
R9
[R9]ospf 1
[R9-ospf-1]import-route ospf 2R12
[R12]ospf 1
[R12-ospf-1]import-route rip 17. Routing summary
To reduce the routing table LSA The number of , It needs to be summarized
Intra domain routing takes R1 For example
R1
[R3]ospf 1
[R3-ospf-1]area 1
[R3-ospf-1-area-0.0.0.1]abr-summary 172.16.0.0 255.255.224.0Extraterritorial routing takes R12 For example
[R12]ospf 1
[R12-ospf-1]area 2
[R12-ospf-1-area-0.0.0.2]abr-summary 172.16.160.0 255.255.224.08. Empty interface configuration
Configure the air interface in the summarized routers to prevent the generation of loops
With R3 For example
R3
[R3]ip route-static 172.16.0.0 19 NULL 09. Complete terminal area and NSSA Area
1) The terminal area
Area 1
With R1 and R3 For example
R1
[R1]ospf 1
[R1-ospf-1]area 1
[R1-ospf-1-area-0.0.0.1]stubR3
[R3]ospf 1
[R3-ospf-1]area 1
[R3-ospf-1-area-0.0.0.1]stub no-summary2)NSSA Area
Area3 and Area2
With Area2 Regional R6 and R11 For example
R6
[R6]ospf 1
[R6-ospf-1]area 2
[R6-ospf-1-area-0.0.0.2]nssa no-summaryR11
[R11]ospf 1
[R11-ospf-1]area 2
[R11-ospf-1-area-0.0.0.2]nssaFour 、 test

As mentioned above : All the requirements of the experiment have been met , Successful experiment .
边栏推荐
- 多点双向重发布和路由策略-拓扑实验
- excel整行删除,图片一起删除
- HCIP-第五天-OSPF扩展配置实验
- Codeforces Round #796 (Div. 2), problem: (1688C) Manipulating History
- 求解100~200之间的素数
- 多线程中 synchronized 锁升级的原理是什么?
- Use of golang - sync package (waitgroup, once, mutex, rwmutex, cond, pool, map)
- 在腾讯测试岗干了5年,7月无情被辞,想给还在划水的兄弟提个醒.....
- CF 1333C Eugene and an array
- 记录HandsomeBlog的star用户
猜你喜欢

静态路由基本配置 实现全网可达

C language student information management system can access text files based on arrays
![[draw sherpinski triangle in C language]](/img/e6/9d1d088d1c7675c23725443000329b.png)
[draw sherpinski triangle in C language]

NAT network address conversion experiment

Hcip OSPF comprehensive experiment

Sort the three integers from large to small (introduce various methods in detail)

最新多线程&高并发学习资料,面试心里有底气

HCIP第一天

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

Esp8266wi fi data communication
随机推荐
Hcip day 1
How does the whole network display IP ownership?
JVM面试题(面试必备)
测试工作十年,想对还在迷茫的朋友说:一点要做好个人规划...
毕业进入HW,从测试工程师到项目经理,现如今在鹅厂年收入百万,我的给大家的一些建议...
Risc-v tool chain compilation notes
NPM reports an error, error: eperm: operation not permitted, MKDIR
[brother Yang takes you to play with the linear table (4) - chain queue]
见证中国网安力量 “解码2022中国网安强星”即将启航
使用注解方式实现 Redis 分布式锁
NAT网络地址转化实验
Use of golang - sync package (waitgroup, once, mutex, rwmutex, cond, pool, map)
Find a specific number in an ordered array
【用C语言绘制直角坐标系】
Writing a pacesetter frequently -- yunxiaojing
求解100~200之间的素数
Hcip bidirectional republication and routing strategy
Hcip OSPF comprehensive experiment
MGRE、PPP、HDLC综合实验
【C语言】阶乘实现